1

Can't capture video from usb-webcam with ffmpeg

view story
linux-howto

http://askubuntu.com – i have a hama usb webcam which works fine with the fswebcam command to capture single frames but when i try to capture a video with ffmpeg i get an error: sudo ffmpeg -f video4linux2 -i /dev/video0 myvid.mpg ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 16 2012 19:54:21 with gcc 4.6.3 configuration: libavutil 51. 54.100 / 51. 54.100 libavcodec 54. 23.100 / 54. 23.100 libavformat 54. 6.100 / 54. 6.100 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 77.100 / 2. 77.100 libswscale 2. 1.100 / 2. 1.100 libswresamp (HowTos)