[FFmpeg-devel] [PATCH] lavd/v4l2: add list_standards option
Giorgio Vazzana
mywing81 at gmail.com
Tue Jan 29 13:16:33 CET 2013
Hi,
this patch adds the 'list_standards' option, which prints a table like this:
$ ./ffplay -f video4linux2 -channel 0 -list_standards all /dev/video0
ffplay version N-49406-gac5b948 Copyright (c) 2003-2013 the FFmpeg developers
built on Jan 29 2013 12:52:03 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configuration: --enable-gpl --enable-x11grab --enable-libxvid
--enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libopus --enable-libvpx --enable-libx264
libavutil 52. 17.100 / 52. 17.100
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 34.101 / 3. 34.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[video4linux2,v4l2 @ 0x2055ea0] Std: 0, 0x000000000000b000, NTSC
[video4linux2,v4l2 @ 0x2055ea0] Std: 1, 0x0000000000001000, NTSC-M
[video4linux2,v4l2 @ 0x2055ea0] Std: 2, 0x0000000000002000, NTSC-M-JP
[video4linux2,v4l2 @ 0x2055ea0] Std: 3, 0x0000000000008000, NTSC-M-KR
[video4linux2,v4l2 @ 0x2055ea0] Std: 4, 0x00000000000000ff, PAL
[video4linux2,v4l2 @ 0x2055ea0] Std: 5, 0x0000000000000007, PAL-BG
[video4linux2,v4l2 @ 0x2055ea0] Std: 6, 0x0000000000000008, PAL-H
[video4linux2,v4l2 @ 0x2055ea0] Std: 7, 0x0000000000000010, PAL-I
[video4linux2,v4l2 @ 0x2055ea0] Std: 8, 0x00000000000000e0, PAL-DK
[video4linux2,v4l2 @ 0x2055ea0] Std: 9, 0x0000000000000100, PAL-M
[video4linux2,v4l2 @ 0x2055ea0] Std: 10, 0x0000000000000200, PAL-N
[video4linux2,v4l2 @ 0x2055ea0] Std: 11, 0x0000000000000400, PAL-Nc
[video4linux2,v4l2 @ 0x2055ea0] Std: 12, 0x0000000000000800, PAL-60
[video4linux2,v4l2 @ 0x2055ea0] Std: 13, 0x0000000000ff0000, SECAM
[video4linux2,v4l2 @ 0x2055ea0] Std: 14, 0x0000000000010000, SECAM-B
[video4linux2,v4l2 @ 0x2055ea0] Std: 15, 0x0000000000040000, SECAM-G
[video4linux2,v4l2 @ 0x2055ea0] Std: 16, 0x0000000000080000, SECAM-H
[video4linux2,v4l2 @ 0x2055ea0] Std: 17, 0x0000000000320000, SECAM-DK
[video4linux2,v4l2 @ 0x2055ea0] Std: 18, 0x0000000000400000, SECAM-L
[video4linux2,v4l2 @ 0x2055ea0] Std: 19, 0x0000000000800000, SECAM-Lc
/dev/video0: Immediate exit requested
Useful / not useful?
Regards,
Giorgio Vazzana
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavd-v4l2-add-list_standards-option.patch
Type: application/octet-stream
Size: 3446 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130129/9002070c/attachment.obj>
More information about the ffmpeg-devel
mailing list