[Ffmpeg-devel] setting up v4l2 for ffmpeg

Dieter freebsd
Wed Feb 22 12:43:12 CET 2006

> ffmpeg -y -vd /dev/video0 -ad /dev/dsp0 -s 352x288 -vcodec mpeg4 test.avi
> (after using v4lctl or xawtv or something else to properly setup video
> standard, channel, and eventually tuning the TV receiver)

I haven't found a list of codecs that the -vcodec option accepts.

v4lctl -c /dev/video1 -v 1 setchannel 10 capture on
ffmpeg -v 2 -target dv -s 720x480 -vd /dev/video1 -ad /dev/dsp -tvstd NTSC out.dv

results in:

DEBUG video_device = @/dev/video1@
DEBUG av_open_input_file arg filename = @@
DEBUG av_open_input_stream got here
[video4linux @ 0x82d5480]Fatal: grab device does not support suitable format
DEBUG av_open_input_stream fail 3
DEBUG av_open_input_file goto fail 4, filename = @@
Could not find video grab device

More information about the ffmpeg-devel mailing list