[mythtv-users] dvb channel data into myth. (revisited)

Frank Simorjay franks at simorjay.com
Wed Nov 9 18:33:27 EST 2005


John you rock, thanks.



 Obviously I was over complicating things. So I guess the scan tool has been
inserting the pid, which has been the culprit.


So what connects the channels to the channel listing? Is it the channel
name? 

Also is there a way to pick a tuner to watch, since I have a PVR500 and the
pchdtv3000. I want to prevent overlapping channels, is this possible?

004:555000000:QAM_256:7 <- can I change the 004 104 to prevent overlap?
005:555000000:QAM_256:8
006:555000000:QAM_256:9

Last,
During the insert I see a lot of the following errors.

2005-11-09 15:21:43.458 DB Error (searching for transport):
Query was:
SELECT mplexid FROM dtv_multiplex WHERE sourceid= 1 AND frequency=561000000
AND
inversion="a" AND modulation=qam_256;
Driver error was [2/1054]:
QMYSQL3: Unable to execute query
Database error was:
Unknown column 'qam_256' in 'where clause'

2005-11-09 15:21:43.458 DB Error (searching for transport.):
Query was:
SELECT mplexid FROM dtv_multiplex WHERE sourceid= 1 AND frequency=561000000
AND
inversion="a" AND modulation=qam_256;
Driver error was [2/1054]:
QMYSQL3: Unable to execute query
Database error was:
Unknown column 'qam_256' in 'where clause'








> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of John Pullan
> Sent: Wednesday, November 09, 2005 2:21 PM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] dvb channel data into myth. (revisited)
> 
> 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.
> > ABC
> >
> HDTV:226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_3_4:QAM_64:TRANS
> MI
> > SSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:2314:0:576
> >
> 
> 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
> > ones.
> >
> > 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
> > [0007]                   (0x0007) 00: PCR == V   V 0x0800 A 0x0801 (eng)
> > 0x0802 (spa)
> > [0008]                   (0x0008) 00: PCR == V   V 0x0840 A 0x0841 (eng)
> > [0009]                   (0x0009) 00: PCR == V   V 0x0880 A 0x0881 (eng)
> > 0x0882
> >
> >
> > Sample output -c
> > 004:555000000:QAM_256:2048:2049:7
> > 005:555000000:QAM_256:2112:2113:8
> > 006:555000000:QAM_256:2176:2177:9
> > name:frequency:modulation:vid_subchannel,aud_sub_channel,pid
> >
> > 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.
> >
> >
> >
> HDTV:226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_3_4:QAM_64:TRANS
> MI
> > SSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:2314:0:576
> >
> > 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)
> 004:555000000:QAM_256:2048:2049:7
> 005:555000000:QAM_256:2112:2113:8
> 006:555000000:QAM_256:2176:2177:9
> 
> Goes to :
> 
> 004:555000000:QAM_256:7
> 005:555000000:QAM_256:8
> 006:555000000:QAM_256:9
> 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.
> 
> --
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list