Capture video from webcam with ffmpeg
<!-- ========== [ New Node ] ========= -->Posted by Wim Koorenneef on 2008-12-31 17:27 CET
I just bought a new webcam, a Logitech Quickcam Vision Pro (Mac version, 046d:09a6) with hardware controlled autofocus. Pictures are really sharp and the autofocus is cool too. Anyway, i needed to capture a small video with sound. Here's the ffmpeg command i used.
ffmpeg -t 10 -f video4linux2 -s 320x240 -r 30 -i /dev/video0 -f oss -i /dev/dsp1 -f mp4 webcam.mp4
No need to compile ffmpeg, this works out of the box!
Bookmark/Search this post with:
http://koorenneef.nl/content/capture-video-webcam-ffmpeg