I need to generate a video out of the captured jpg images which zomeminder generates in the /var/cache/zoneminder/events/... sub-directories. For me the easiest way to do this in an automatic way, is to set up a cron job which generates one video every day and than deletes all jpgs which have been merged into the daily video.
I decided to use the mencoder to merge all jpg images into a video. The command I use so far is:
The generation happens very fast and is much better than 'convert *.jpg output.mg' for example. However, I have the problem when playing the generated avi-video with VLC, the video runs much too fast. I tried to reduce the fps already, but that doesn't help that much.
Perhaps some backgrounds to the used hardware: I'm using the PV-143 - 4 port video capture card (http://store.bluecherry.net/Provideo_PV_143Na_p/pv-143na.htm). To my understanding, it means that 7.5 frames per second are captured per input. However, when I check a camera in zoneminder I see an alarm status: Alarm - 2.11 fps. Hmm ... not good Anyway, I read that this is normal for a one chip capture card. And it is not such a big problem.
But I need to know how to configure mencoder in such a way that the video isn't played too fast or too slow.
Tue Jul 14, 2009 4:24 am
Joined: Mon Jun 15, 2009 3:12 am Posts: 11
Ok, if captured with 40fps, all works fine. Will buy a capture card with 4 chips.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum