I found a way to join all the snapshots from the camera module together to create this video. I used the following command to do it:
mencoder “mf://*.jpg” -mf fps=10 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800
I found a way to join all the snapshots from the camera module together to create this video. I used the following command to do it:
mencoder “mf://*.jpg” -mf fps=10 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800
Very nice! Much easier to view this way than the series-of-JPEG arrangement earlier.
Tell me about it – took me forever to find a way to do it!
Having said that, the series of JPEGs was a great way of testing the Pi’s ability to serve images over a web server.
By the way, I see a framerate and bitrate specified on the mencoder command line but not a (x,y) resolution. Does it just use whatever the original JPEG frame size is? I notice the YT video shows 480 as the maximum size. So if you had 1280×720 JPEGS, you would see a 1280p video? Or does it auto-rescale to what it judges is best, based on your bitrate?
(umm, I meant 720p = 1280×720 pixels)
I don’t know, actually. I shall give it a try when I have some at the larger size.
[…] recantha I found a way to join all the snapshots from the camera module together to create this video. I […]
One more question if I may: do you know what the horizontal field of view of the camera is? For example: if you have a lamp post at the extreme right-hand side of the video frame, how much do you have to turn the camera to the right for the post to reach the extreme left-hand side of the frame? Is it for example 45 degrees, or 60 degrees, or… ?