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
本文介绍如何使用ffmpeg从Logitech Quickcam Vision Pro网络摄像头捕获带有声音的小型视频文件。作者分享了一条ffmpeg命令,该命令可以设置视频源、分辨率、帧率等参数,并直接保存为MP4格式。
1234

被折叠的 条评论
为什么被折叠?



