[mythtv] my QAM recording issue

Mark Paulus mark.paulus at verizonbusiness.com
Fri Sep 28 16:47:32 UTC 2007

Steven Adeff wrote:
> so i've had some issues since the upgrade to schedules direct and
> having to scan for my QAM channels. i've asked a few q's in the user
> list with no response.
> i've done some further digging and have found that only two channels
> seem to fail to record, both on the same frequency. I also noticed
> that all the recordings from my QAM tuners is being saves as
> 8801_datetime instead of the normal 8<channel>_<datetime> pattern.
> does anyone have any idea whats going on? I'm thinking I may setup all
> my channels and sources again to see if that fixes the problem but if
> theres an easier way of fixing the issue i'd like to persue that.
> thanks!
I have seen something that might be similar or have some bearing
on my OTA ATSC card.  It seems like perhaps the PAT/PMT is created
in such a way that it is causing certain Channels to not be tuned.

In my case, there are many Programs identified in the PAT, and 3 of
them have the same PIDs.  The 2nd entry for this PID is the one I
want, but apparently Myth is selecting the 1st PMT entry for this PID,
which is invalid, and doesn't have the proper program information.

Here are what I think are the logs that help identify what I am

2007-09-28 09:47:52.718 DTVSM(0)::SetProgramNumber(5):
2007-09-28 09:47:52.719 SM(0)::RemoveFlags: Seen(PMT,) Match(PMT,) Wait()
2007-09-28 09:47:52.719 SM(0)::AddFlags: Seen() Match() Wait(PMT,)
2007-09-28 09:47:52.720 SM(0)::AddFlags: Seen() Match(VCT,TVCT,) Wait()
2007-09-28 09:47:52.736 SM(0)::AddFlags: Seen(MGT,) Match() Wait()
2007-09-28 09:47:52.736 SM(0)::AddFlags: Seen() Match(MGT,) Wait()
2007-09-28 09:47:52.852 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
2007-09-28 09:47:52.853 SM(0)::AddFlags: Seen() Match(PAT,) Wait()
2007-09-28 09:47:52.853 CreatePATSingleProgram()
2007-09-28 09:47:52.854 PAT in input stream
2007-09-28 09:47:52.854 Program Association Table
 PSIP tableID(0x0) length(61) extension(0x1f1)
      version(30) current(1) section(0) last_section(0)
         tsid: 497
 programCount: 13
  program number 3 has PID 0x  30   data  0x0 0x3 0x224 0x48
  program number 4 has PID 0x  40   data  0x0 0x4 0x224 0x64
  program number 5 has PID 0x  40   data  0x0 0x5 0x224 0x64
  program number 6 has PID 0x  40   data  0x0 0x6 0x224 0x64
  program number 11 has PID 0x  b0   data  0x0 0x11 0x224 0x176
  program number 12 has PID 0x  c0   data  0x0 0x12 0x224 0x192
  program number 13 has PID 0x  d0   data  0x0 0x13 0x224 0x208
  program number 14 has PID 0x  e0   data  0x0 0x14 0x224 0x224
  program number 15 has PID 0x  f0   data  0x0 0x15 0x224 0x240
  program number 16 has PID 0x 100   data  0x0 0x16 0x225 0x0
  program number 17 has PID 0x 110   data  0x0 0x17 0x225 0x16
  program number 18 has PID 0x 120   data  0x0 0x18 0x225 0x32
  program number 19 has PID 0x 130   data  0x0 0x19 0x225 0x48

2007-09-28 09:47:52.855 desired_program(5) pid(0x40)
2007-09-28 09:47:52.856 pmt_pid(0x40)
2007-09-28 09:47:52.856 PAT for output stream
2007-09-28 09:47:52.857 Program Association Table
 PSIP tableID(0x0) length(13) extension(0x1f1)
      version(30) current(1) section(0) last_section(0)
         tsid: 497
 programCount: 1
  program number 1 has PID 0x  40   data  0x0 0x1 0x224 0x64

2007-09-28 09:47:52.858 DVBSM(0)::AddPIDFilter(0x40):
2007-09-28 09:47:52.912 SM(0)::AddFlags: Seen(PMT,) Match() Wait()
2007-09-28 09:47:52.913 DTVSM(0) Error: We want 0 audio and 1 video streams
                        But have 0 audio and 0 video streams
2007-09-28 09:47:52.913 CreatePMTSingleProgram()
2007-09-28 09:47:52.914 PMT in input stream
2007-09-28 09:47:52.914 Program Map Table ver(7) pid(0x40) pnum(5) len(13)

2007-09-28 09:47:52.915 Only 0 video streams seen in PMT, but 1 are required.
2007-09-28 09:47:53.028 SM(0)::AddFlags: Seen(PMT,) Match() Wait()
2007-09-28 09:47:53.029 DTVSM(0) Error: Wrong PMT; pmt->pn(1) desired(5)
2007-09-28 09:47:53.188 SM(0)::AddFlags: Seen(PMT,) Match() Wait()
2007-09-28 09:47:53.189 DTVSM(0) Error: Wrong PMT; pmt->pn(4) desired(5)

PID 0x40 is associated with Program 4, 5 & 6.  I want Program 5, but it 
appears that the PMT for program 4 is being retrieved, and then
errored out.

Recordings for Program ID 3 do work.  I assume that this is because
it is unique, so a good PMT hit is made, and recording can proceed
as required.

If anyone would like a .ts dump of this Multiplex, I have one
and will provide it willingly, when I get back from vacation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mark.paulus.vcf
Type: text/x-vcard
Size: 296 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070928/d7e8ea2e/attachment.vcf 

More information about the mythtv-dev mailing list