[mythtv-commits] Ticket #3031: Recording will not commence until a PMT is set.

MythTV mythtv at cvs.mythtv.org
Mon Apr 23 09:30:04 UTC 2007


#3031: Recording will not commence until a PMT is set.
--------------------+-------------------------------------------------------
 Reporter:  jppoet  |        Owner:  danielk 
     Type:  patch   |       Status:  assigned
 Priority:  major   |    Milestone:  0.21    
Component:  mythtv  |      Version:  head    
 Severity:  medium  |   Resolution:          
--------------------+-------------------------------------------------------

Comment(by mythtv at vulturest.com):

 Here's a log from the failure to tune:

 {{{
 2007-04-23 19:20:19.585 TVRec(1): SetChannel() -- begin
 2007-04-23 19:20:19.631 TVRec(1): ClearFlags(RingBufferReady,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,RecorderRunning,
 2007-04-23 19:20:19.698 TVRec(1): Request: Program(no) channel(6) input()
 flags(LiveTV,)
 2007-04-23 19:20:19.780 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,RecorderRunning,
 2007-04-23 19:20:19.891 TVRec(1): SetFlags(WaitingForRecPause,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,WaitingForRecPause,RecorderRunning,
 2007-04-23 19:20:19.959 TVRec(1): ClearFlags(WaitingForRecPause,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,RecorderRunning,
 2007-04-23 19:20:20.015 DVBRec(0): Close() fd(19) -- begin
 2007-04-23 19:20:20.071 DVBRec(0): Close() fd(-1) -- end
 2007-04-23 19:20:20.127 RecBase(0): SetRingBuffer(0)
 2007-04-23 19:20:20.198 DVBChan(0): Opening DVB channel
 2007-04-23 19:20:20.254 DVBChan(0): SetChannelByString(6):
 2007-04-23 19:20:20.312 DVBChan(0): 219500000 qam_64 a 3/4 1/2 7 8 1/16 n
 v
 2007-04-23 19:20:20.366 DVBChan(0): Old Params: 219500000 qam_64 a 3/4 1/2
 7 8 1/16 n v
       DVBChan(0): New Params: 219500000 qam_64 a 3/4 1/2 7 8 1/16 n v
 2007-04-23 19:20:20.422 DVBChan(0): Tune(): Frequency tuning successful.
 2007-04-23 19:20:20.478 DVBChan(0): SetChannelByString(6): Tuned to
 frequency.
 2007-04-23 19:20:20.534 TVRec(1): SwitchLiveTVRingBuffer(discont 1,
 set_rec 0)
 2007-04-23 19:20:20.590 TVRec(1): GetProgramRingBufferForLiveTV()
 2007-04-23 19:20:20.689 TVRec(1): StartedRecording(0x8230568)
 fn(/data/recordings/1516_20070423192020.mpg)
 2007-04-23 19:20:20.862 TVRec(1): FinishedRecording(Big Brother - Game On)
 in recgroup: LiveTV
 2007-04-23 19:20:20.942 Chain: Updated endtime for '1012_20070423192008'
 to 20070423192020
 2007-04-23 19:20:21.079 Finished recording Big Brother - Game On: channel
 1012
 2007-04-23 19:20:21.226 Preview:
 'myth://10.0.0.36:6543/1012_20070423192008.mpg' is not local,
       replacing with '/data/recordings/1012_20070423192008.mpg', which is
 local.
 [mpegts @ 0xb7692d70]2007-04-23 19:20:21.298 Chain: Appended at 2
 '1516_20070423192020'
 Parser not found for Codec Id: 94211 !
 2007-04-23 19:20:21.645 TVRec(1): Starting Signal Monitor
 2007-04-23 19:20:21.696 TVRec(1): SetupSignalMonitor(1, 1)
 2007-04-23 19:20:21.763 DVBChan(0): Opening DVB channel
 2007-04-23 19:20:21.822 SM(0)::AddFlags: Seen() Match() Wait(Sig,)
 2007-04-23 19:20:21.875 DVBSM(0)::constructor(): initial flags 0x40000000
 2007-04-23 19:20:21.942 TVRec(1): Signal monitor successfully created
 2007-04-23 19:20:21.999 TVRec(1): Setting up table monitoring.
 2007-04-23 19:20:22.059 Using profile 'Live TV' to record
 2007-04-23 19:20:22.111 TVRec(1): DVB service_id 1601 on net_id 0 tsid 0
 2007-04-23 19:20:22.167 DTVSM(0)::SetDVBService(transport_id: 0,
 network_id: 0, service_id: 1601):
 2007-04-23 19:20:22.223 SM(0)::RemoveFlags: Seen(PMT,SDT,Crypt,)
 Match(PMT,SDT,Crypt,) Wait()
 2007-04-23 19:20:22.282 SM(0)::AddFlags: Seen() Match() Wait(PMT,SDT,)
 2007-04-23 19:20:22.338 SM(0)::AddFlags: Seen() Match() Wait(PMT,SDT,Pos,)
 2007-04-23 19:20:22.408 TVRec(1): Successfully set up DVB table
 monitoring.
 2007-04-23 19:20:22.464 SM(0)::Start: begin
 2007-04-23 19:20:22.521 SM(0)::Start: end
 2007-04-23 19:20:22.576 TVRec(1): SetFlags(SignalMonitorRunning,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,SignalMonitorRunning,RecorderRunning,
 2007-04-23 19:20:22.633 TVRec(1): ClearFlags(WaitingForSignal,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,SignalMonitorRunning,RecorderRunning,
 2007-04-23 19:20:22.700 TVRec(1): SetFlags(WaitingForSignal,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,RecorderRunning,
 2007-04-23 19:20:22.520 DVBSM(0)::UpdateValues: Signal Locked
 2007-04-23 19:20:22.812 DVBSM(0)::UpdateValues: Waiting for table monitor
 to start
 2007-04-23 19:20:22.756 RecBase(0): SetRingBuffer(0)
 2007-04-23 19:20:22.925 TVRec(1): SetFlags(DummyRecorderRunning,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,ANYRECRUNNING,
 2007-04-23 19:20:22.869 DVBSM(0)::UpdateValues: Table monitor started
 2007-04-23 19:20:22.819 DVBSM(0): RunTableMonitorTS(): begin (# of pids 4)
 2007-04-23 19:20:22.981 DummyDTVRecorder -- started
 2007-04-23 19:20:23.048 DTVSM(0)::GetStatusList: WaitForPMT seen(0)
 matching(0)
 2007-04-23 19:20:23.182 TVRec(1): SetFlags(RingBufferReady,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,ANYRECRUNNING,RingBufferReady,
 2007-04-23 19:20:23.250 DVBSM(0)::AddPIDFilter(0x0):
 2007-04-23 19:20:23.323 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,ANYRECRUNNING,RingBufferReady,
 2007-04-23 19:20:23.389 DVBSM(0)::AddPIDFilter(0x10):
 2007-04-23 19:20:23.446 TVRec(1): SetFlags(NeedToStartRecorder,) ->
 FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,ANYRECRUNNING,RingBufferReady,
 2007-04-23 19:20:23.502 DVBSM(0)::AddPIDFilter(0x11):
 2007-04-23 19:20:23.636 DVBSM(0)::AddPIDFilter(0x12):
 2007-04-23 19:20:23.693 DVBSM(0)::AddPIDFilter(0x14):
 2007-04-23 19:20:23.760 DVBRec(0): SetPAT(1601 on 0x101)
 2007-04-23 19:20:23.827 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
 2007-04-23 19:20:23.883 SM(0)::AddFlags: Seen() Match(PAT,) Wait()
 2007-04-23 19:20:23.939 CreatePATSingleProgram()
 2007-04-23 19:20:23.996 PAT in input stream
 2007-04-23 19:20:24.052 Program Association Table
  PSIP tableID(0x0) length(33) extension(0x604)
       version(3) current(1) section(0) last_section(0)
          tsid: 1540
  programCount: 6
   program number 0 has PID 0x  10   data  0x 0 0x 0 0xe0 0x10
   program number 1601 has PID 0x 101   data  0x 6 0x41 0xe1 0x 1
   program number 1605 has PID 0x 100   data  0x 6 0x45 0xe1 0x 0
   program number 1607 has PID 0x 106   data  0x 6 0x47 0xe1 0x 6
   program number 1608 has PID 0x 107   data  0x 6 0x48 0xe1 0x 7
   program number 1609 has PID 0x 108   data  0x 6 0x49 0xe1 0x 8

 2007-04-23 19:20:23.569 TVRec(1): SetChannel() -- end
 2007-04-23 19:20:24.119 desired_program(1601) pid(0x101)
 2007-04-23 19:20:24.256 pmt_pid(0x101)
 2007-04-23 19:20:24.319 PAT for output stream
 2007-04-23 19:20:24.466 Program Association Table
  PSIP tableID(0x0) length(13) extension(0x604)
       version(3) current(1) section(0) last_section(0)
          tsid: 1540
  programCount: 1
   program number 1 has PID 0x 101   data  0x 0 0x 1 0xe1 0x 1

 2007-04-23 19:20:24.469 DVBSM(0)::AddPIDFilter(0x101):
 0: start_time: 404.156 duration: -9223372036854.775
 1: start_time: 404.120 duration: 0.783
 2: start_time: 404.115 duration: 0.788
 stream: start_time: 4490.162 duration: 8.767 bitrate=13278 kb/s
 2007-04-23 19:20:24.629 AFD: Opened codec 0x8328df0, id(MPEG2VIDEO)
 type(Video)
 2007-04-23 19:20:24.645 DVBRec(0): SetPMT(1601)
 2007-04-23 19:20:24.785 SM(0)::AddFlags: Seen(PMT,) Match() Wait()
 2007-04-23 19:20:24.851 SM(0)::AddFlags: Seen() Match(PMT,) Wait()
 2007-04-23 19:20:24.896 DTVSM(0)::GetStatusList: WaitForPMT seen(1)
 matching(0)
 2007-04-23 19:20:24.954 CreatePMTSingleProgram()
 2007-04-23 19:20:25.030 PMT in input stream
 2007-04-23 19:20:25.010 DTVSM(0)::GetStatusList: WaitForPMT seen(1)
 matching(1)
 2007-04-23 19:20:24.733 AFD: Opened codec 0x8329400, id(AC3) type(Audio)
 2007-04-23 19:20:25.088 Program Map Table ver(3) pid(0x101) pnum(1601)
 len(77)
   System Clock Descriptor (0xb) length(2)
   Smoothing Buffer Descriptor (0x10) length(6)

  Stream #0 pid(0x200) type(video-mpeg2  0x2)
   Video Descriptor (0x2) length(3)
  Stream #1 pid(0x28a) type(audio-mp2-layer[1,2,3]  0x4)
   Audio Descriptor (0x3) length(1)
   ISO-639 Language: code(eng) canonical(eng) eng(English)
  Stream #2 pid(0x28b) type(private-data  0x6)
   AC-3 Descriptor (0x6a) length(3)
   ISO-639 Language: code(eng) canonical(eng) eng(English)
  Stream #3 pid(0x240) type(private-data  0x6)
   Teletext Descriptor (0x56) length(5)

 2007-04-23 19:20:25.282 PMT for output stream
 2007-04-23 19:20:25.340 Program Map Table ver(3) pid(0x101) pnum(1)
 len(28)

  Stream #0 pid(0x200) type(video-mpeg2  0x2)
  Stream #1 pid(0x28a) type(audio-mp2-layer[1,2,3]  0x4)
  Stream #2 pid(0x28b) type(audio-ac3  0x81)

 2007-04-23 19:20:25.397 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:26.116 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:27.633 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:28.910 DTVSM(0): Time Offset: -1.90999
 2007-04-23 19:20:29.020 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:29.673 DTVSM(0)::SetNIT(): net_id = 12841
 2007-04-23 19:20:29.722 SM(0)::AddFlags: Seen(NIT,) Match() Wait()
 2007-04-23 19:20:30.476 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:31.754 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:33.291 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:34.555 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:36.177 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:37.388 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:38.963 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:40.227 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:41.814 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:43.033 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:44.600 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:45.868 SM(0)::AddFlags: Seen(SDT,) Match() Wait()
 2007-04-23 19:20:47.423 SM(0)::AddFlags: Seen(SDT,) Match() Wait()


 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3031#comment:57>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list