[FFmpeg-user] capturing from webcam

Chien-Yu Chen torus0 at gmail.com
Wed May 30 19:20:26 CEST 2012


hi

  I have a logitech 4000 pro that's using the pwc driver.  I can watch from
the webcam using both xawtv and mplayer.. but I just can't get ffmpeg to do
anything with it

I am using the latest snapshot with

ffmpeg -v debug -f v4l2  -i /dev/video1 test.output

and I am getting

-----------------------------
ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
  built on May 29 2012 02:20:06 with gcc 4.3.4
  configuration: --prefix=/usr/local/encap/ffmpeg-snap
  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
  libswresample   0. 15.100 /  0. 15.100
[video4linux2,v4l2 @ 0xa56c420] [3]Capabilities: 5000001
[video4linux2,v4l2 @ 0xa56c420] Querying the device for the current frame
size
[video4linux2,v4l2 @ 0xa56c420] Setting frame size to 640x480
[video4linux2,v4l2 @ 0xa56c420] The V4L2 driver set input_id: 0, input: usb
[video4linux2,v4l2 @ 0xa56c420] ioctl(VIDIOC_G_PARM): Invalid argument
/dev/video1: Invalid argument
----------------------------------------

anyone has any suggestion? thanks

-- 
 Any MicroSoft extension file will directly go to trash without any warning
and regret.


More information about the ffmpeg-user mailing list