[mythtv] channel.tvformat usage?
Martin Moeller
martin at martinm-76.dk
Thu Jun 17 13:12:07 EDT 2004
Hi folks.
I thought I had found out what I could use this for, but it seems I was
wrong. Is it only switching between 'Default' and 'ATSC'?
Would it be possible for this to do the equivalent of "v4lctl setnorm
<PAL-BG|NTSC|SECAM>" ? That would be very useful for me.
I have had a couple of incidents lately where autodetection fails in the
driver and doing the above corrects it. Is it really something else I
should use and not tvformat?
An example of wrong and right:
martin at monsterpc:~/mythtv/xawtv> dmesg
saa7134[0]/audio: audio carrier scan failed, using 6.000 MHz [last
detected]
You have new mail in /var/spool/mail/martin
martin at monsterpc:~/mythtv/xawtv> /usr/X11R6/bin/v4lctl list
attribute | type | current | default | comment
-----------+--------+---------+---------+-------------------------------------
norm | choice | PAL-DK | PAL | PAL PAL-BG PAL-I PAL-DK NTSC
SECAM PAL-M PAL-Nc
input | choice | Televis | Televis | Television Composite1 S-Video
audio mode | choice | stereo | mono | mono stereo lang1 lang2
bright | int | 127 | 128 | range is 0 => 255
contrast | int | 63 | 68 | range is 0 => 127
color | int | 63 | 64 | range is 0 => 127
hue | int | 0 | 0 | range is -128 => 127
volume | int | 10 | 0 | range is -15 => 15
mute | bool | off | off |
vertical f | bool | off | off |
Invert | bool | off | off |
y offset o | int | 0 | 0 | range is 0 => 128
y offset e | int | 0 | 0 | range is 0 => 128
martin at monsterpc:~/mythtv/xawtv> /usr/X11R6/bin/v4lctl setnorm PAL-BG
martin at monsterpc:~/mythtv/xawtv> /usr/X11R6/bin/v4lctl list
attribute | type | current | default | comment
-----------+--------+---------+---------+-------------------------------------
norm | choice | PAL-BG | PAL | PAL PAL-BG PAL-I PAL-DK NTSC
SECAM PAL-M PAL-Nc
input | choice | Televis | Televis | Television Composite1 S-Video
audio mode | choice | mono | mono | mono stereo lang1 lang2
bright | int | 127 | 128 | range is 0 => 255
contrast | int | 63 | 68 | range is 0 => 127
color | int | 63 | 64 | range is 0 => 127
hue | int | 0 | 0 | range is -128 => 127
volume | int | 10 | 0 | range is -15 => 15
mute | bool | off | off |
vertical f | bool | off | off |
Invert | bool | off | off |
y offset o | int | 0 | 0 | range is 0 => 128
y offset e | int | 0 | 0 | range is 0 => 128
More information about the mythtv-dev
mailing list