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

Soho Soho123 soho123.2012 at gmail.com
Thu Mar 14 13:41:07 CET 2013


> Please provide the complete, uncut console output for
> the following command:
> $ ffmpeg -f v4l2 -list_formats 1 -i /dev/video0
>
the log :

usb plugin :
usb 1-1.2: configuration #1 chosen from 1 choice
Found format YUV 4:2:2 (YUYV).
- 640x480 (30.0 fps)
- 640x360 (30.0 fps)
- 640x400 (30.0 fps)
- 384x216 (30.0 fps)
- 352x288 (30.0 fps)
- 320x240 (30.0 fps)
- 320x200 (30.0 fps)
- 176x144 (30.0 fps)
- 160x120 (30.0 fps)
- 160x128 (30.0 fps)
- 768x480 (20.0 fps)
- 1280x720 (11.0 fps)
- 1280x800 (9.0 fps)
Found format MPEG2 TS.
uvcvideo: Found UVC 1.00 device FV TouchCam N1 (0408:1030)



and  ffmpeg log:
#
#  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: --enable-cross-compile --cross-prefix=sdk-linux-
--arch=mips --target-os=linux --disa
ble-doc --enable-debug=3 --disable-htmlpages --disable-manpages
--disable-podpages --disable-txtpages -
-disable-mips32r2 --disable-w32threads --disable-os2threads
--disable-ffplay --disable-postproc --disab
le-runtime-cpudetect --disable-swscale-alpha --disable-yasm
--disable-vis --disable-altivec --disable-m
ipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-mmx
--disable-mmxext --disable-sse --disable-s
se2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42
--disable-avx --disable-fma4 --disabl
e-armv5te --disable-armv6 --disable-armv6t2 --disable-vfp
--disable-neon --enable-small --prefix=/ffmpeg-951d39f/romfs
--bindir=/ffmpeg-951d39f/romfs --enable-
pic --disable-bsfs --disable-filters
--enable-filter='aformat,aresample,copy,format,fps,frameste  libav
util      52. 17.102 / 52. 17.102
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 38.103 /  3. 38.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[video4linux2,v4l2 @ 0x68c8d0] Raw       :   yuyv422 :     YUV 4:2:2 (YUYV) :
/dev/video0: Immediate exit requested
#


More information about the ffmpeg-user mailing list