[FFmpeg-user] how to get mpeg2 ts video data from usb webcam

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Mar 14 15:50:23 CET 2013

Soho Soho123 <soho123.2012 <at> gmail.com> writes:

> #  ffmpeg -f v4l2 -list_formats 1 -i /dev/video0

> ffmpeg version 1.1.git-951d39f Copyright (c) 2000-2013 the FFmpeg developers
>   built on Mar 14 2013 20:34:44 with gcc 4.4.5-1.5.5p4 (GCC)
>   configuration:

These options look useless, I suggest to remove them, if any of 
them make a difference, please report, it may indicate a bug:
--disable-w32threads --disable-os2threads --disable-yasm 
--disable-vis --disable-altivec --disable-mmx 
--disable-mmxext --disable-sse --disable-sse2 --disable-sse3 
--disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx 
--disable-fma4 --disable-armv5te --disable-armv6 
--disable-armv6t2 --disable-vfp --disable-neon

(Does --enable-pic make a difference?)

> [video4linux2,v4l2 @ 0x68c8d0] Raw : yuyv422 : YUV 4:2:2 (YUYV) :
> /dev/video0: Immediate exit requested

I may miss something but this seems to indicate that your 
current driver only supports yuyv rawvideo.

Carl Eugen

More information about the ffmpeg-user mailing list