Monday, April 16, 2012

Jpeg to Video

If your using linux and have a bunch of jpeg images you want to convert to video/movie file then just use mencoder in command line. Its quick and easy. Note the following command has to be entered from the directory the images are in.

mencoder -ovc copy -mf w=640:h=480:fps=16:type=jpg 'mf://*.jpg' -o output.avi

 You can use all the image captures captured from your IP Camera to your ftp server or email and compile them into a video that is seek-able by using the command above.

Just copy all the images you want to compile into a video and put them in a folder on your desktop. Open terminal then cd to Desktop and cd to the folder the images are in, then use the command above.

If you captured images in 320x240 you would put that instead of 640x480 respectively in the command above(not mandatory). Also if the video output is playing too fast for your liking just change the fps to a lower number and try again. So if you want to slow it down change the fps from 16 to something lower and if you want to speed it up the playback of the video, increase 16 to a higher number.

Convert ip security camera captured images to video.

No comments:

Post a Comment

Thanks for your input.

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...