[mythtv-users] More ATSC woes - Doug README - somestationsnow notbeingreceived at all

john roberts homepagez at lycos.com
Wed Jan 5 17:27:08 EST 2005


Well - not good news to report.  When something was marked to be recorded - the backend is freaking out and looping.  This is with the patch applied:

htpc mythtv # mythbackend --verbose record,channel
Starting up as the master server.
2005-01-05 17:24:55.697 Probed: /dev/video32 - Antenna-0
2005-01-05 17:24:55.698 Probed: /dev/video32 - Antenna-1
VIDIOC_S_STD: Invalid argument
2005-01-05 17:24:55.702 Probed: /dev/video32 - Antenna-0
2005-01-05 17:24:55.703 Probed: /dev/video32 - Antenna-1
2005-01-05 17:24:55.705 TuneTo(27-1) curList[i].freq(549250)
2005-01-05 17:24:55.705 TuneToFrequency(8788)
2005-01-05 17:24:55.709 CheckSignal(5000, 55, 0) usingv4l2(1)
2005-01-05 17:24:55.947 signal strength: 13
2005-01-05 17:24:56.688 signal strength: 77
2005-01-05 17:24:56.688 Maximum signal strength detected: 77% after 500 msec wait
2005-01-05 17:24:56.695 Probed: /dev/video33 - Television
2005-01-05 17:24:56.695 Probed: /dev/video33 - Composite1
2005-01-05 17:24:56.695 Probed: /dev/video33 - S-Video
VIDIOC_S_STD: Invalid argument
2005-01-05 17:24:56.697 Probed: /dev/video33 - Television
2005-01-05 17:24:56.697 Probed: /dev/video33 - Composite1
2005-01-05 17:24:56.697 Probed: /dev/video33 - S-Video
2005-01-05 17:24:56.699 TuneTo(27-1) curList[i].freq(549250)
2005-01-05 17:24:56.699 TuneToFrequency(8788)
2005-01-05 17:24:56.703 CheckSignal(5000, 55, 0) usingv4l2(1)
2005-01-05 17:24:56.759 signal strength: 86
2005-01-05 17:24:56.759 Maximum signal strength detected: 86% after 0 msec wait
2005-01-05 17:24:56.767 mythbackend version: 0.16.20041224-1 www.mythtv.org
2005-01-05 17:24:56.767 Enabled verbose msgs : important general record channel
2005-01-05 17:24:58.768 Found changes in the todo list.
2005-01-05 17:24:59.372 Scheduled 183 items in 0.6 seconds.
2005-01-05 17:24:59.374 Recording starts soon, AUTO-Startup assumed
2005-01-05 17:24:59.376 Started recording "Arthur" on channel: 1022 on cardid: 1, sourceid 1
VIDIOC_S_STD: Invalid argument
2005-01-05 17:24:59.384 TuneTo(42-1) curList[i].freq(639250)
2005-01-05 17:24:59.384 TuneToFrequency(10228)
2005-01-05 17:24:59.388 CheckSignal(5000, 55, 0) usingv4l2(1)
2005-01-05 17:24:59.627 signal strength: 24
2005-01-05 17:25:00.368 signal strength: 74
2005-01-05 17:25:00.368 Maximum signal strength detected: 74% after 500 msec wait
2005-01-05 17:25:00.387 Changing from None to RecordingOnly
2005-01-05 17:25:00.398 Using profile 'Default' to record
2005-01-05 17:25:00.398 HD buffer size 23 KB
2005-01-05 17:25:00.401 Checking signal on device input: 0
2005-01-05 17:25:00.401 CheckSignal(5000, 55, 0) usingv4l2(1)
2005-01-05 17:25:00.640 signal strength: 75
2005-01-05 17:25:00.640 Maximum signal strength detected: 75% after 0 msec wait
2005-01-05 17:25:00.641 Setting frequency for startRecording freqid: 42-1
2005-01-05 17:25:00.644 StartRecording
2005-01-05 17:25:00.662 HD ring buffer size 11280 KB
2005-01-05 17:25:00.669 HD4 obtained device stream sync after reading 9400 bytes
2005-01-05 17:25:00.734 CreatePAT()
2005-01-05 17:25:00.734 PAT in input stream
2005-01-05 17:25:00.734 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:00.735 Desired program not set yet
2005-01-05 17:25:00.804 MGT: tables(11)
Table # 0 pid(0x1ffb) ver(31) size( 120) desc_len(0) type: 0 Terrestrial VCT with current() 
Table # 1 pid(0x1e00) ver(15) size(2136) desc_len(0) type: 512 Event ETT + 0x200 
Table # 2 pid(0x1e01) ver(15) size(1760) desc_len(0) type: 513 Event ETT + 0x200 
Table # 3 pid(0x1e02) ver(15) size(1472) desc_len(0) type: 514 Event ETT + 0x200 
Table # 4 pid(0x1e80) ver( 0) size(   0) desc_len(0) type: 4 Channel ETT 
Table # 5 pid(0x1e03) ver(15) size(3321) desc_len(0) type: 515 Event ETT + 0x200 
Table # 6 pid(0x1d00) ver(15) size( 721) desc_len(0) type: 256 EIT + 0x100 
Table # 7 pid(0x1d01) ver(15) size( 690) desc_len(0) type: 257 EIT + 0x100 
Table # 8 pid(0x1d02) ver(15) size( 569) desc_len(0) type: 258 EIT + 0x100 
Table # 9 pid(0x1ffb) ver( 0) size( 992) desc_len(0) type: 769 RTT + 0x300 
Table #10 pid(0x1d03) ver(15) size(1025) desc_len(0) type: 259 EIT + 0x100 

2005-01-05 17:25:00.808 VCT Terra
2005-01-05 17:25:00.808 Channel #0 name(MPT-DT) 22-2 cTSID(0x575)
 pnum(2) ETM_loc(1) access_ctrl(0) hidden(0) hide_guide(1) service_type(2) source_id(1)
 descriptors length(23) count(1)
     Service Location Descriptor (0xa1) length(21)

2005-01-05 17:25:00.808 Channel #1 name(MPT-HD) 22-6 cTSID(0x575)
 pnum(6) ETM_loc(1) access_ctrl(0) hidden(0) hide_guide(1) service_type(2) source_id(2)
 descriptors length(17) count(1)
     Service Location Descriptor (0xa1) length(15)

2005-01-05 17:25:00.812 CreatePAT()
2005-01-05 17:25:00.812 PAT in input stream
2005-01-05 17:25:00.812 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:00.813 Desired program not set yet
2005-01-05 17:25:00.889 CreatePAT()
2005-01-05 17:25:00.890 PAT in input stream
2005-01-05 17:25:00.890 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:00.891 Desired program not set yet
2005-01-05 17:25:00.967 CreatePAT()
2005-01-05 17:25:00.967 PAT in input stream
2005-01-05 17:25:00.967 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:00.968 Desired program not set yet
2005-01-05 17:25:01.044 CreatePAT()
2005-01-05 17:25:01.045 PAT in input stream
2005-01-05 17:25:01.045 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:01.046 Desired program not set yet
2005-01-05 17:25:01.122 CreatePAT()
2005-01-05 17:25:01.123 PAT in input stream
2005-01-05 17:25:01.123 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:01.124 Desired program not set yet
2005-01-05 17:25:01.197 CreatePAT()
2005-01-05 17:25:01.198 PAT in input stream
2005-01-05 17:25:01.198 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:01.199 Desired program not set yet
2005-01-05 17:25:01.277 CreatePAT()
2005-01-05 17:25:01.277 PAT in input stream
2005-01-05 17:25:01.277 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:01.278 Desired program not set yet
2005-01-05 17:25:01.352 CreatePAT()
2005-01-05 17:25:01.353 PAT in input stream
2005-01-05 17:25:01.353 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96

2005-01-05 17:25:01.354 Desired program not set yet
2005-01-05 17:25:01.434 CreatePAT()
2005-01-05 17:25:02.063 PAT in input stream
2005-01-05 17:25:02.063 Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(17) extension(0x575)
      version(28) current(1) section(0) last_section(0)
         tsid: 1397
 programCount: 2
  program number 2 has PID 0x  20   data  0x0 0x2 0x224 0x32
  program number 6 has PID 0x  60   data  0x0 0x6 0x224 0x96


----- Original Message -----
From: "john roberts" <homepagez at lycos.com>
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Subject: Re: [mythtv-users] More ATSC woes - Doug README - somestationsnownotbeingreceived at all
Date: Wed, 05 Jan 2005 08:40:04 -0500

> 
> 
> You bet I can test it. ;)
> 
> Will let you know later today.
> 
> Thanks a ton,
> 
> -John
> 
> ----- Original Message -----
> From: "Doug Larrick" <doug at ties.org>
> To: "Discussion about mythtv" <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] More ATSC woes - Doug README - 
> somestationsnownotbeingreceived at all
> Date: Wed, 05 Jan 2005 07:27:09 -0500
> 
> >
> > john roberts wrote:
> > > Odd.  Ok - I'll post the backend in verbose mode.
> > >
> > > I'm confused on the sub-chan definitions you're suggesting here.  I
> > > was under the impression that a station such as:
> > >
> > >
> > >>> FOX45_H:      :45.1 :46: 3:0 FOX45  :      :45.2 :46: 4:0
> > >
> > >
> > > Would be mapped as
> > >
> > > 45_1 -> 46-3 45_2 -> 46-4
> > >
> > > Am I incorrect in this thinking?
> >
> > Yes, you are incorrect.  You're describing the way things used to be. The 
> > new code performs this mapping for you.  Mythfilldatabase should be setting 
> > it up correctly for you.  If not, Zap2it is giving you bad data.
> >
> > The problem is that we're barfing parsing the TVCT (terrestrial virtual 
> > channel table) for some of your stations.  Investigation has shown that 
> > they are NULL-padding the station name, where they should be space-padding 
> > it.  The attached patch should fix it -- could you test it and let me know?
> >
> > -Doug
> 
> >
> >
> > Index: libs/libmythtv/mpeg/atsctables.h
> > ===================================================================
> > RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/mpeg/atsctables.h,v
> > retrieving revision 1.1
> > diff -u -r1.1 atsctables.h
> > --- libs/libmythtv/mpeg/atsctables.h	8 Dec 2004 02:04:08 -0000	1.1
> > +++ libs/libmythtv/mpeg/atsctables.h	5 Jan 2005 12:24:46 -0000
> > @@ -154,7 +154,10 @@
> >           QString str;
> >           const unsigned short* ustr =
> >               reinterpret_cast<const unsigned short*>(_ptrs[i]);
> > -        for (int j=0; j<7; j++) str.append(QChar((ustr[j]<<8) | 
> > (ustr[j]>>8)));
> > +        for (int j=0; j<7; j++) {
> > +            QChar c((ustr[j]<<8) | (ustr[j]>>8));
> > +            if (c != QChar('\0')) str.append(c);
> > +        }
> >           return str;
> >       }
> >       //   reserved               4  14.0        0xf
> << signature.asc >>
> 
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> --
> _______________________________________________
> Find what you are looking for with the Lycos Yellow Pages
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10



More information about the mythtv-users mailing list