[mythtv-users] dvb channel data into myth. (revisited)
john.pullan at gmail.com
Wed Nov 9 17:20:37 EST 2005
On 09/11/05, Frank Simorjay <franks at simorjay.com> wrote:
> > azap is part of dvb-apps (certainly under cvs)
> > svn mythtv-setup can import channels.conf files (your mileage may
> > vary).
> Good stuff, does anyone know the format that Myth is expecting.
> >The actual format is : name:frequency:modulation:serviceid.
> I received this, which is great but now I see that it's missing fields.
Not if you're using ATSC, the format of channels.conf is dependent on
which type of atsc/dvb you are using.
> Ffrr send me a great sample file.
If you are using ATSC which I presume you are, the above format is incorrect.
> I tried to imported the data, what do you know it worked.
> But I still am unclear as to what the fields are, except for the obvious
> At this point I can tune channels with azap, dvbscan or scan (renamed),
> dvbtraffic gives me great info. I can cat traffic into mplayer and view my
> HD video. But when I use my output file from scan Myth fails to import it.
> sample output using -c -o zap
>  (0x0007) 00: PCR == V V 0x0800 A 0x0801 (eng)
> 0x0802 (spa)
>  (0x0008) 00: PCR == V V 0x0840 A 0x0841 (eng)
>  (0x0009) 00: PCR == V V 0x0880 A 0x0881 (eng)
> Sample output -c
> So can anyone shed light as to what seems wrong with these config files?
> Or at least open this format up so I can duplicate it by hand if need be.
> Name:freq:??:bandwidth:??:??:Modulation:??:??:??:??:?? <- one of the last 3
> is sub_channel I think.
>From the code :
if (i != end) c.name = *i++; else return false;
if (i != end) c.frequency = (*i++).toInt(); else return false;
if (i == end || !c.modulation.parseConf(*i++)) return false;
// We need the program number in the transport stream,
// otherwise we cannot "tune" to the program.
if (i != end) c.serviceid = (*i++).toInt(); else return false;
so for ATSC we have :
name, freqency , modulation and serviceid (think that might be program number)
Goes to :
I think the middle numbers look like pids to me. This may mean that
the format parser is wrong and needs updating.
Hope this helps.
More information about the mythtv-users