`
lilisalo
  • 浏览: 1110353 次
文章分类
社区版块
存档分类
最新评论

Capture video from webcam with ffmpeg

 
阅读更多

Capture video from webcam with ffmpeg

<!-- ========== [ New Node ] ========= -->

Logitech Quickcam Vision Pro (Mac) 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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics