Page 1 of 1

VLC 1.0.6 and standard selection

Posted: 23 Jun 2010 01:51
by manunc
I would like to ask you about one fix developped regarding the standard selection (PAL, SECAM, ...).
I live in a country where the standard is SECAM_K1 and I use vlc 1.0.6 under linux:

Under Fedora 12:
vlc-1.0.6-1.fc12.i686
vlc-core-1.0.6-1.fc12.i686

By using the cvlc command to catch the tuner card signal and setting standard in the command line I did not see the SECAM K1, so I wonder if the fix has been committed or not in this release or if I have to patch the sources:

http://git.videolan.org/?p=vlc.git;a=co ... 7c342b7236

I used:

$ cvlc -vv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=hw.1,0 :v4l2-tuner-frequency=207250 :v4l2-standard=13 ....

I dont see SECAM K1
....

[0xb7108988] v4l2 demux debug: Trying libv4l2 wrapper
[0xb7108988] v4l2 demux debug: opening device '/dev/video0'
[0xb7108988] v4l2 demux debug: V4L2 device: BT878 video (Hauppauge (bt878)) using driver: bttv (version: 0.9.18) on PCI:0000:00:0b.0
[0xb7108988] v4l2 demux debug: the device has the capabilities: (X) Video Capure, ( ) Audio, (X) Tuner, ( ) Radio
[0xb7108988] v4l2 demux debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[0xb7108988] v4l2 demux debug: device support raw VBI capture
[0xb7108988] v4l2 demux debug: video input 0 (Television) has type: Tuner adapter *
[0xb7108988] v4l2 demux debug: video input 1 (Composite1) has type: External analog input
[0xb7108988] v4l2 demux debug: video input 2 (S-Video) has type: External analog input
[0xb7108988] v4l2 demux debug: video input 3 (Composite3) has type: External analog input
[0xb7108988] v4l2 demux debug: video standard 0 is: NTSC
[0xb7108988] v4l2 demux debug: video standard 1 is: NTSC-M
[0xb7108988] v4l2 demux debug: video standard 2 is: NTSC-M-JP
[0xb7108988] v4l2 demux debug: video standard 3 is: NTSC-M-KR
[0xb7108988] v4l2 demux debug: video standard 4 is: PAL *
[0xb7108988] v4l2 demux debug: video standard 5 is: PAL-BG
[0xb7108988] v4l2 demux debug: video standard 6 is: PAL-H
[0xb7108988] v4l2 demux debug: video standard 7 is: PAL-I
[0xb7108988] v4l2 demux debug: video standard 8 is: PAL-DK
[0xb7108988] v4l2 demux debug: video standard 9 is: PAL-M
[0xb7108988] v4l2 demux debug: video standard 10 is: PAL-N
[0xb7108988] v4l2 demux debug: video standard 11 is: PAL-Nc
[0xb7108988] v4l2 demux debug: video standard 12 is: PAL-60
[0xb7108988] v4l2 demux debug: video standard 13 is: SECAM
[0xb7108988] v4l2 demux debug: video standard 14 is: SECAM-B
[0xb7108988] v4l2 demux debug: video standard 15 is: SECAM-G
[0xb7108988] v4l2 demux debug: video standard 16 is: SECAM-H
[0xb7108988] v4l2 demux debug: video standard 17 is: SECAM-DK
[0xb7108988] v4l2 demux debug: video standard 18 is: SECAM-L
[0xb7108988] v4l2 demux debug: video standard 19 is: SECAM-Lc
[0xb7108988] v4l2 demux debug: tuner 0 (Television) has type: Analog TV, frequency range: 44000,0 kHz -> 958000,0 kHz
[0xb7108988] v4l2 demux debug: tuner 0 (Television) frequency: 207250,0 kHz
...

Thanks by advance for you replies

BR
--
Emmanuel

Re: VLC 1.0.6 and standard selection

Posted: 23 Jun 2010 02:37
by Rémi Denis-Courmont
That list comes from the V4L2 driver for your analog TV capture card. It does not come from VLC. So we cannot "fix" it.

In any case, SECAM-K1 is probably one of the choice, but with a different name.

Re: VLC 1.0.6 and standard selection

Posted: 24 Jun 2010 02:28
by manunc
Thanks Remi for this answer, I try to contact V4L2 mailling list but I have a question:

On some others posts I have found several peoples with previous version of vlc and they do have the SECAM-K1 selection when using VLC:
So why do they have this choice and not me? Is it my V4L2 version that may not have this any more?

For instance this post: http://88.191.250.119/viewtopic.php?f=13&t=63302

[0x244b4f8] main input debug: Creating an input for 'v4l2://'
[0x244b4f8] main input debug: thread started
[0x244b4f8] main input debug: using timeshift granularity of 50 MBytes
[0x244b4f8] main input debug: using timeshift path '/tmp'
[0x244b4f8] main input debug: thread (input) created at priority 10 (input/input.c:230)
[0x244b4f8] main input debug: `v4l2://' gives access `v4l2' demux `' path `'
[0x244b4f8] main input debug: creating demux: access='v4l2' demux='' path=''
[0x245df88] main demux debug: looking for access_demux module: 1 candidate
[0x245df88] v4l2 demux debug: Trying direct kernel v4l2
[0x245df88] v4l2 demux debug: opening device '/dev/video0'
[0x245df88] v4l2 demux debug: V4L2 device: AVerMedia A827 USB using driver: AVerTV Volar HX (version: 0.0.7) on USB
[0x245df88] v4l2 demux debug: the device has the capabilities: (X) Video Capure, ( ) Audio, (X) Tuner
[0x245df88] v4l2 demux debug: supported I/O methods are: ( ) Read/Write, (X) Streaming, ( ) Asynchronous
[0x245df88] v4l2 demux debug: video input 0 (Tuner) has type: Tuner adapter
[0x245df88] v4l2 demux debug: video input 1 (Composite) has type: External analog input *
[0x245df88] v4l2 demux debug: video input 2 (S-Video) has type: External analog input
[0x245df88] v4l2 demux debug: video standard 0 is: PAL-BG *
[0x245df88] v4l2 demux debug: video standard 1 is: PAL-B1
[0x245df88] v4l2 demux debug: video standard 2 is: PAL-G
[0x245df88] v4l2 demux debug: video standard 3 is: PAL-H
[0x245df88] v4l2 demux debug: video standard 4 is: PAL-I
[0x245df88] v4l2 demux debug: video standard 5 is: PAL-D
[0x245df88] v4l2 demux debug: video standard 6 is: PAL-D1
[0x245df88] v4l2 demux debug: video standard 7 is: PAL-K
[0x245df88] v4l2 demux debug: video standard 8 is: PAL-M
[0x245df88] v4l2 demux debug: video standard 9 is: PAL-N
[0x245df88] v4l2 demux debug: video standard 10 is: PAL-Nc
[0x245df88] v4l2 demux debug: video standard 11 is: PAL-60
[0x245df88] v4l2 demux debug: video standard 12 is: NTSC-M
[0x245df88] v4l2 demux debug: video standard 13 is: NTSC-M-JP
[0x245df88] v4l2 demux debug: video standard 14 is: SECAM-B
[0x245df88] v4l2 demux debug: video standard 15 is: SECAM-D
[0x245df88] v4l2 demux debug: video standard 16 is: SECAM-G
[0x245df88] v4l2 demux debug: video standard 17 is: SECAM-H
[0x245df88] v4l2 demux debug: video standard 18 is: SECAM-K
[0x245df88] v4l2 demux debug: video standard 19 is: SECAM-K1
[0x245df88] v4l2 demux debug: video standard 20 is: SECAM-L

Re: VLC 1.0.6 and standard selection

Posted: 24 Jun 2010 02:34
by Rémi Denis-Courmont
Then maybe your video adapter does not support SECAM-K1.

Re: VLC 1.0.6 and standard selection

Posted: 24 Jun 2010 05:20
by manunc
Hello Rémi, I have found this document:

http://v4l.videotechnology.com/dwg/v4l2.pdf

Page 88 it is said:

#define V4L2_STD_SECAM_DK (V4L2_STD_SECAM_D |\
V4L2_STD_SECAM_K |\
V4L2_STD_SECAM_K1)

So maybe you were right when saying that in any case one of the standart should be ok.

What do you think?