[mythtv-commits] Ticket #13002: Failure to tune to channel following commit 36e946d mpeg ts stream

MythTV noreply at mythtv.org
Tue Feb 21 13:28:08 UTC 2017


#13002: Failure to tune to channel following commit 36e946d mpeg ts stream
----------------------------------+-----------------------------
 Reporter:  mike.bibbings@…       |          Owner:  stuarta
     Type:  Bug Report - General  |         Status:  accepted
 Priority:  major                 |      Milestone:  29.0
Component:  MythTV - DVB          |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by stuarta):

 Noticed something here, when it's failing it's not setting the flag to say
 it's seen the PMT. Compare the following.

 Working:
 {{{
 240     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler recorders/signalmonitor.cpp:248 (AddFlags)
 SigMon[1](http://192.168.0.32:55555/BBC ONE East W)::AddFlags: Seen(PAT,)
 Match() Wait()
 241     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler recorders/signalmonitor.cpp:248 (AddFlags)
 SigMon[1](http://192.168.0.32:55555/BBC ONE East W)::AddFlags: Seen()
 Match(PAT,) Wait()
 242     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:406 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): CreatePATSingleProgram()
 243     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:407 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): PAT in input stream
 244     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:408 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): Program Association Section#012 PSIP
 tableID(0x0) length(13) extension(0x104d)#012      version(0) current(1)
 section(0) last_section(0)#012      tsid(4173) programCount(1)#012
 program number  4173 has PID 0x0064
 245     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:416 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): desired_program(4173) pid(0x64)
 246     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:457 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): pmt_pid(0x64)
 247     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:458 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): PAT for output stream
 248     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler mpeg/mpegstreamdata.cpp:459 (CreatePATSingleProgram)
 MPEGStream[1](0x7fc31c035010): Program Association Section#012 PSIP
 tableID(0x0) length(13) extension(0x104d)#012      version(0) current(1)
 section(0) last_section(0)#012      tsid(4173) programCount(1)#012
 program number     1 has PID 0x0064
 249     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler recorders/signalmonitor.cpp:248 (AddFlags)
 SigMon[1](http://192.168.0.32:55555/BBC ONE East W)::AddFlags: Seen(PMT,)
 Match() Wait()
 250     Feb 21 10:42:30 mike-Aspire-V3-571 mythbackend: mythbackend[3675]:
 D StreamHandler recorders/signalmonitor.cpp:248 (AddFlags)
 SigMon[1](http://192.168.0.32:55555/BBC ONE East W)::AddFlags: Seen()
 Match(PMT,) Wait()
 }}}

 Not working:
 {{{
 238     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler recorders/signalmonitor.cpp:248
 (AddFlags) SigMon[1](http://192.168.0.32:55555/BBC ONE East W)::AddFlags:
 Seen(PAT,) Match() Wait()
 239     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler recorders/signalmonitor.cpp:248
 (AddFlags) SigMon[1](http://192.168.0.32:55555/BBC ONE East W)::AddFlags:
 Seen() Match(PAT,) Wait()
 240     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:376
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90):
 CreatePATSingleProgram()
 241     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:377
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90): PAT in input
 stream
 242     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:378
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90): Program
 Association Section#012 PSIP tableID(0x0) length(13) extension(0x104d)#012
 version(0) current(1) section(0) last_section(0)#012      tsid(4173)
 programCount(1)#012  program number  4173 has PID 0x0064
 243     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:386
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90):
 desired_program(4173) pid(0x64)
 244     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:427
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90): pmt_pid(0x64)
 245     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:428
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90): PAT for output
 stream
 246     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler mpeg/mpegstreamdata.cpp:429
 (CreatePATSingleProgram) MPEGStream[1](0x7f0a18014b90): Program
 Association Section#012 PSIP tableID(0x0) length(13) extension(0x104d)#012
 version(0) current(1) section(0) last_section(0)#012      tsid(4173)
 programCount(1)#012  program number     1 has PID 0x0064
 247     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler recorders/httptsstreamhandler.cpp:220
 (WriteBytes) HTTPReader(http://192.168.0.32:55555/BBC ONE East W):
 WriteBytes: 184/13156 bytes remain
 248     Feb 21 10:58:08 mike-Aspire-V3-571 mythbackend:
 mythbackend[21621]: D StreamHandler recorders/httptsstreamhandler.cpp:201
 (ReadBytes) HTTPReader(http://192.168.0.32:55555/BBC ONE East W):
 ReadBytes: 1448 bytes received
 ....
 }}}

 As you can see, after it creates the output PAT, it then doesn't find the
 PMT, whilst it does when it works...

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13002#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list