I'm hoping someone can lead me in the right direction.? I've upgraded my OLD debian to ubuntu and noticed my old-fashioned way of capturing video from my webcam doesn't work anymore.? I used to be able to call ffmpeg with: ffmpeg -vd /dev/video0 -s 320x240 test.flv I noticed that ffmpeg now requires: ffmpeg -f video4linux2 -i /dev/video0 However, I am getting errors about incorrect parameters with the following: ffmpeg -f video4linux2 -i /dev/video0 -s 320x240 -an test.flv FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. ? configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr ? libavutil version: 1d.49.3.0 ? libavcodec version: 1d.51.38.0 ? libavformat version: 1d.51.10.0 ? built on Mar 12 2008 14:31:53, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu4) [video4linux2 @ 0xb7fc7110]Missing/Wrong parameters /dev/video0: Error while opening file I've changed permissions to /dev/video0 with chmod g+rw /dev/video0 since I had issues like that in the past. I must be missing some newly-required parameters?? In a more recent SVN (June 22nd), I got a similar error, but it had text more like "Incorrect width, height, or rate". Any help is appreciated.
use following command ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 -an test.flv -- View this message in context: http://n4.nabble.com/video4linux2-NTSC-webcam-tp936952p1415257.html Sent from the FFmpeg-users mailing list archive at Nabble.com.
participants (2)
-
amoldalavi17@rediffmail.com -
knox1808@yahoo.com