Skip to contentSkip to conversation

V4L & VLC 1.0.6 and standard selection

DISCUSSION manunc 2 participants 4 messages Jun 23, 2010 – Jul 2, 2010 Media (V4L/DVB)

lore
Share & tools
lore

manunc

author
#0 lore raw

I am trying to catch my tuner card signal by using vlc and v4l

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

libv4l-0.6.4-1.fc12.i686
xorg-x11-drv-v4l-0.2.0-3.fc12.1.i686
v4l2-tool-1.0.3-5.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=commitdiff;h=beb5d0fdc3c4b8b12ec385f96ab8a27c342b7236

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
...

A developper from videolan told me this:
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.

Does anyone know if some of the options can be applied to decode SECAM K1? ou K'

Thanks by advance for you replies

BR

Signature · 9 lines
Emmanuel
-- 
View this message in context: http://video4linux-list.1448896.n2.nabble.com/V4L-VLC-1-0-6-and-standard-selection-tp5211808p5211808.html
Sent from the video4linux-list mailing list archive at Nabble.com.

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
author
#1 lore raw

No ideas on how to add SECAM K1 to V4L drivers ?

Signature · 7 lines
View this message in context: http://video4linux-list.1448896.n2.nabble.com/V4L-VLC-1-0-6-and-standard-selection-tp5211808p5216071.html
Sent from the video4linux-list mailing list archive at Nabble.com.

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#2 lore raw
In reply to manunc
Quoted 69 lines · manunc

I am trying to catch my tuner card signal by using vlc and v4l

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

libv4l-0.6.4-1.fc12.i686
xorg-x11-drv-v4l-0.2.0-3.fc12.1.i686
v4l2-tool-1.0.3-5.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=commitdiff;h=beb5d0fdc3c4b8b12ec385f96ab8a27c342b7236

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
...

Quoted 5 lines

A developper from videolan told me this:
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.

The video4linux list is effectively dead. Use
[email protected] .

Quoted 2 lines

Does anyone know if some of the options can be applied to decode SECAM K1? ou K'

Use SECAM-DK. It is not significantly different from SECAM-K1:

http://www.pembers.freeserve.co.uk/World-TV-Standards/Transmission-Systems.html#CCIR

$ v4l2-ctl -d /dev/video0 --help
$ v4l2-ctl -d /dev/video0 --list-standards
$ v4l2-ctl -d /dev/video0 --list-inputs
$ v4l2-ctl -d /dev/video0 --set-standard=secam

or

$ v4l2-ctl -d /dev/video0 --set-standard=0x00320000
(SECAM-DK is defined as
  V4L2_STD_SECAM_D|V4L2_STD_SECAM_K|V4L2_STD_SECAM_K1 => 0x00320000 in
 include/linux/videodev2.h)

or

$ v4l2-ctl -d /dev/video0 --set-standard=0x00200000
(SECAM-K1 defined as 0x00200000 in include/linux/videodev2.h)

The setting should persist until you switch to another input (Tuner, SVideo, Composite). The Tuner input will limit what standard can actually be set for the tuner.

Regards,
Andy

Quoted 5 lines

Thanks by advance for you replies

BR

Signature · 1 line
Emmanuel
#3 lore raw

Many thanks Andy,

Using SECAM-DK is Ok with SECAM_K1

BR,

Emmanuel

2010/6/27 Andy Walls <[email protected]>

Quoted 129 lines · manunc
Quoted 7 lines

I am trying to catch my tuner card signal by using vlc and v4l

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

Quoted 7 lines

libv4l-0.6.4-1.fc12.i686
xorg-x11-drv-v4l-0.2.0-3.fc12.1.i686
v4l2-tool-1.0.3-5.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

Quoted 4 lines

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=commitdiff;h=beb5d0fdc3c4b8b12ec385f96ab8a27c342b7236

Quoted 6 lines

I used:

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

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))

Quoted 9 lines

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

Quoted 4 lines

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

Quoted 16 lines

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

Quoted 8 lines

[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

Quoted 7 lines

...

A developper from videolan told me this:
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.

The video4linux list is effectively dead. Use
[email protected] .

Quoted 1 line

Does anyone know if some of the options can be applied to decode SECAM

K1?

Quoted 1 line

ou K'

Use SECAM-DK. It is not significantly different from SECAM-K1:

http://www.pembers.freeserve.co.uk/World-TV-Standards/Transmission-Systems.html#CCIR

$ v4l2-ctl -d /dev/video0 --help
$ v4l2-ctl -d /dev/video0 --list-standards
$ v4l2-ctl -d /dev/video0 --list-inputs
$ v4l2-ctl -d /dev/video0 --set-standard=secam

or

$ v4l2-ctl -d /dev/video0 --set-standard=0x00320000
(SECAM-DK is defined as
 V4L2_STD_SECAM_D|V4L2_STD_SECAM_K|V4L2_STD_SECAM_K1 => 0x00320000 in
 include/linux/videodev2.h)

or

$ v4l2-ctl -d /dev/video0 --set-standard=0x00200000
(SECAM-K1 defined as 0x00200000 in include/linux/videodev2.h)

The setting should persist until you switch to another input (Tuner, SVideo, Composite). The Tuner input will limit what standard can actually be set for the tuner.

Regards,
Andy

Quoted 5 lines

Thanks by advance for you replies

BR
--
Emmanuel

Signature · 10 lines
Emmanuel

CHANSON Emmanuel
Mobile Nouvelle-Calédonie: +687.77.35.02
Mobile France: +33 (0) 6.68.03.89.56
@email : [email protected]
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list