[mythtv-users] HDHR QAM: Streams ok to VLC but not to Mythtv 0.22

Derek Atkins warlord at MIT.EDU
Mon Feb 22 14:10:29 UTC 2010


Hi,

I just moved, upgraded my myth to 0.22, and reconfigured my system to
use the HDHR on Comcast Cable.  I've upgraded the HDHR firmware to the
most recent version (20100213), and when I run the hdhomerun_config_gui
with VLC I can watch every channel just fine!  However MythTV cannot
tune a couple channels.

When I try to tune the channel on MythTV I get:

   Signal 91% | (LAM_V) Partial Lock

The database matches what I see the HDHR Config GUI, that this channel
(803) is on 98.3:

| chanid | channum | freqid | sourceid | callsign | name   | icon | finetune | videofilters | xmltvid | recpriority | contrast | brightness | colour | hue   | tvformat | visible | outputfilters | useonairguide | mplexid | serviceid | tmoffset | atsc_major_chan | atsc_minor_chan | last_record         | default_authority | commmethod |
+--------+---------+--------+----------+----------+--------+------+----------+--------------+---------+-------------+----------+------------+--------+-------+----------+---------+---------------+---------------+---------+-----------+----------+-----------------+-----------------+---------------------+-------------------+------------+
|   2021 | 803     | 98     |        2 | WSBDT    | WSB-DT |      |        0 |              | 19586   |           0 |    32768 |      32768 |  32768 | 32768 | ATSC     |       1 |               |             1 |      15 |         3 |        0 |               2 |               1 | 2010-02-22 02:00:03 |                   |         -1 | 

I have three channels on this physical channel, but only two of them
have problems (the other is #804, WAGADT, on 98.804.  Whereas WSBDT2 on
98.248 is just fine).  Could there be a tuning problem on this major
channel or is it more likely Myth not reading the PMT correctly?  Is
this a bug?  The backend log (with -v channel,record,siparser) says the
following:

2010-02-22 08:52:14.868 ChannelBase(1): Looking for startchannel '803' on input 'MPEG2TS'
2010-02-22 08:52:14.872 HDHRSH(192.168.248.4-0): RunTS(): shutdown
2010-02-22 08:52:14.875 ChannelBase(1): Found startchannel '803' on input 'MPEG2TS'
2010-02-22 08:52:14.879 HDHRSH(192.168.248.4-0): RunTS(): end
2010-02-22 08:52:14.881 IsOnSameMultiplex? 18==15 -> 0
2010-02-22 08:52:14.882 HDHRSH(192.168.248.4-0): RemoveListener(0x7f914801db30) -- end
2010-02-22 08:52:14.884 TVRec(1): HW Tuner: 1->1
2010-02-22 08:52:14.889 TVRec(1): ClearFlags(PENDINGACTIONS,) -> FrontendReady,RunMainLoop,CancelNextRecording,RecorderRunning,
2010-02-22 08:52:14.891 TVRec(1): Waiting for recorder pause..
2010-02-22 08:52:14.892 TVRec(1): SetFlags(WaitingForRecPause,) -> FrontendReady,RunMainLoop,CancelNextRecording,WaitingForRecPause,RecorderRunning,
2010-02-22 08:52:14.894 TVRec(1): ClearFlags(WaitingForRecPause,) -> FrontendReady,RunMainLoop,CancelNextRecording,RecorderRunning,
2010-02-22 08:52:14.896 TVRec(1): Recorder paused, calling TuningFrequency
2010-02-22 08:52:14.900 HDHRChan(192.168.248.4-0): Opening HDHR channel
2010-02-22 08:52:14.910 HDHRChan(192.168.248.4-0): SetChannelByString(803)
2010-02-22 08:52:14.917 HDHRChan(192.168.248.4-0): Opening HDHR channel
2010-02-22 08:52:14.929 HDHRChan(192.168.248.4-0): Tuning to qam_256:111000000
2010-02-22 08:52:14.936 HDHRSH(192.168.248.4-0): Tuning channel qam_256:111000000 (was qam:669000000)
2010-02-22 08:52:14.945 HDHRSH::TunerSet() Failed. Trying qam:111000000
2010-02-22 08:52:14.955 TVRec(1): SwitchLiveTVRingBuffer(discont 1, set_rec 0)
2010-02-22 08:52:14.963 TVRec(1): GetProgramRingBufferForLiveTV()
2010-02-22 08:52:15.011 TVRec(1): StartedRecording(0x7f9138011f80) fn(/mythtv0/video/2021_20100222085214.mpg)
2010-02-22 08:52:15.028 TVRec(1): FinishedRecording(Law & Order: Criminal Intent) in recgroup: LiveTV
2010-02-22 08:52:15.030 Chain: Updated endtime for '2043_20100222085142' to 20100222085215
2010-02-22 08:52:15.034 Finished recording Law & Order: Criminal Intent "Semi-Detached": channel 2043
2010-02-22 08:52:15.047 Preview: 'myth://204.107.200.25:6543/2043_20100222085142.mpg' is not local, 
			replacing with '/home/myth-frontend0/mythtv/video/2043_20100222085142.mpg', which is local.
2010-02-22 08:52:15.052 Chain: Appended at 2 '2021_20100222085214'
2010-02-22 08:52:15.088 mythbackend version: branches/release-0-22-fixes [exported] www.mythtv.org
2010-02-22 08:52:15.107 TVRec(1): Starting Signal Monitor
2010-02-22 08:52:15.189 Using runtime prefix = /usr/local
2010-02-22 08:52:15.192 TVRec(1): SetupSignalMonitor(1, 1)
2010-02-22 08:52:15.195 Using configuration directory = /root/.mythtv
2010-02-22 08:52:15.198 HDHRChan(192.168.248.4-0): Opening HDHR channel
2010-02-22 08:52:15.200 Empty LocalHostName.
2010-02-22 08:52:15.205 HDHRSM(192.168.248.4-0): ctor
2010-02-22 08:52:15.207 Using localhost value of mythtv.ihtfp.org
2010-02-22 08:52:15.209 SM(192.168.248.4-0)::AddFlags: Seen() Match() Wait(Sig,)
2010-02-22 08:52:15.213 HDHRSH: Using existing stream handler 192.168.248.4-0 for 192.168.248.4-0 (3 in use)
2010-02-22 08:52:15.215 TVRec(1): Signal monitor successfully created
2010-02-22 08:52:15.217 New DB connection, total: 1
2010-02-22 08:52:15.217 TVRec(1): Setting up table monitoring.
2010-02-22 08:52:15.223 Connected to database 'mythconverg' at host: localhost
2010-02-22 08:52:15.226 Using profile 'Live TV' to record
2010-02-22 08:52:15.232 Closing DB connection named 'DBManager0'
2010-02-22 08:52:15.241 TVRec(1): ATSC channel: 2_1
2010-02-22 08:52:15.250 Connected to database 'mythconverg' at host: localhost
2010-02-22 08:52:15.259 DTVSM(192.168.248.4-0)::SetChannel(2, 1): 
2010-02-22 08:52:15.271 Current MythTV Schema Version (DBSchemaVer): 1244
2010-02-22 08:52:15.277 SM(192.168.248.4-0)::RemoveFlags: Seen(PAT,PMT,VCT,Crypt,) Match(PAT,PMT,VCT,Crypt,) Wait()
2010-02-22 08:52:15.287 New DB connection, total: 2
2010-02-22 08:52:15.295 SM(192.168.248.4-0)::AddFlags: Seen() Match() Wait(PAT,VCT,)
2010-02-22 08:52:15.304 Connected to database 'mythconverg' at host: localhost
2010-02-22 08:52:15.313 SM(192.168.248.4-0)::AddFlags: Seen() Match() Wait(MGT,)
2010-02-22 08:52:15.323 TVRec(1): Successfully set up ATSC table monitoring.
2010-02-22 08:52:15.335 SM(192.168.248.4-0)::Start: begin
2010-02-22 08:52:15.338 SM(192.168.248.4-0)::Start: end
2010-02-22 08:52:15.339 HDHRSH(192.168.248.4-0): AddListener(0x7f9148022738) -- begin
2010-02-22 08:52:15.339 TVRec(1): SetFlags(SignalMonitorRunning,) -> FrontendReady,RunMainLoop,CancelNextRecording,SignalMonitorRunning,RecorderRunning,
2010-02-22 08:52:15.349 HDHRSH(192.168.248.4-0): AddListener(0x7f9148022738) -- locked
2010-02-22 08:52:15.356 TVRec(1): ClearFlags(WaitingForSignal,) -> FrontendReady,RunMainLoop,CancelNextRecording,SignalMonitorRunning,RecorderRunning,
2010-02-22 08:52:15.359 HDHRSH(192.168.248.4-0): AddListener(0x7f9148022738) -- end
2010-02-22 08:52:15.361 TVRec(1): SetFlags(WaitingForSignal,) -> FrontendReady,RunMainLoop,CancelNextRecording,WaitingForSignal,SignalMonitorRunning,RecorderRunning,
2010-02-22 08:52:15.366 RecBase(1:1): SetRingBuffer(0x0)
2010-02-22 08:52:15.370 TVRec(1): SetFlags(DummyRecorderRunning,) -> FrontendReady,RunMainLoop,CancelNextRecording,WaitingForSignal,SignalMonitorRunning,ANYRECRUNNING,
2010-02-22 08:52:15.373 DummyDTVRecorder -- started
2010-02-22 08:52:15.374 TVRec(1): SetFlags(RingBufferReady,) -> FrontendReady,RunMainLoop,CancelNextRecording,WaitingForSignal,SignalMonitorRunning,ANYRECRUNNING,RingBufferReady,
2010-02-22 08:52:15.376 TVRec(1): ClearFlags(NeedToStartRecorder,) -> FrontendReady,RunMainLoop,CancelNextRecording,WaitingForSignal,SignalMonitorRunning,ANYRECRUNNING,RingBufferReady,
2010-02-22 08:52:15.387 TVRec(1): SetFlags(NeedToStartRecorder,) -> FrontendReady,RunMainLoop,CancelNextRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,ANYRECRUNNING,RingBufferReady,
2010-02-22 08:52:15.398 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2010-02-22 08:52:15.398 TVRec(1): SetChannel(803) -- end
2010-02-22 08:52:15.424 HDHRSH(192.168.248.4-0): RunTS(): begin
2010-02-22 08:52:15.493 SM(192.168.248.4-0)::AddFlags: Seen(VCT,CVCT,) Match() Wait()
2010-02-22 08:52:15.495 DTVSM(192.168.248.4-0)::SetVCT(): cvct->ProgramNumber(idx 1): prog num 3
2010-02-22 08:52:15.497 DTVSM(192.168.248.4-0)::SetProgramNumber(3): 
2010-02-22 08:52:15.498 SM(192.168.248.4-0)::RemoveFlags: Seen(PMT,Crypt,) Match(PMT,Crypt,) Wait()
2010-02-22 08:52:15.500 SM(192.168.248.4-0)::AddFlags: Seen() Match() Wait(PMT,)
2010-02-22 08:52:15.502 SM(192.168.248.4-0)::AddFlags: Seen() Match(VCT,CVCT,) Wait()
2010-02-22 08:52:15.515 DTVSM(192.168.248.4-0)::GetStatusList: WaitForPMT seen(0) matching(0)
2010-02-22 08:52:15.545 HDHRRec(1): SetPAT(3 on 0x32)
2010-02-22 08:52:15.547 SM(192.168.248.4-0)::AddFlags: Seen(PAT,) Match() Wait()
2010-02-22 08:52:15.549 SM(192.168.248.4-0)::AddFlags: Seen() Match(PAT,) Wait()
2010-02-22 08:52:15.551 CreatePATSingleProgram()
2010-02-22 08:52:15.554 PAT in input stream
2010-02-22 08:52:15.555 Program Association Table
 PSIP tableID(0x0) length(21) extension(0x40a)
      version(1) current(1) section(0) last_section(0)
         tsid: 1034
 programCount: 3
  program number   804 has PID 0x  30   data  0x 3 0x24 0xe0 0x30
  program number     3 has PID 0x  32   data  0x 0 0x 3 0xe0 0x32
  program number   248 has PID 0x  40   data  0x 0 0xf8 0xe0 0x40

2010-02-22 08:52:15.558 desired_program(3) pid(0x32)
2010-02-22 08:52:15.560 pmt_pid(0x32)
2010-02-22 08:52:15.569 PAT for output stream
2010-02-22 08:52:15.578 Program Association Table
 PSIP tableID(0x0) length(13) extension(0x40a)
      version(1) current(1) section(0) last_section(0)
         tsid: 1034
 programCount: 1
  program number     1 has PID 0x  32   data  0x 0 0x 1 0xe0 0x32

2010-02-22 08:52:15.629 HDHRRec(1): SetPMT(3)
2010-02-22 08:52:15.630 SM(192.168.248.4-0)::AddFlags: Seen(PMT,) Match() Wait()
2010-02-22 08:52:15.640 SM(192.168.248.4-0)::AddFlags: Seen() Match(PMT,) Wait()
2010-02-22 08:52:15.641 CreatePMTSingleProgram()
2010-02-22 08:52:15.643 PMT in input stream
2010-02-22 08:52:15.645 Program Map Table ver(25) pid(0x32) pnum(3) len(44)

 Stream #0 pid(0x33) type(video-mpeg2  0x2)
 Stream #1 pid(0x36) type(audio-ac3  0x81)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x37) type(private-data  0x6)
 Stream #3 pid(0x38) type(private-sec  0x5)
 Stream #4 pid(0x39) type(private-sec  0x5)

2010-02-22 08:52:15.647 Created PMT 
Program Map Table ver(25) pid(0x32) pnum(1) len(44)

 Stream #0 pid(0x33) type(video-mpeg2  0x2)
 Stream #1 pid(0x36) type(audio-ac3  0x81)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x37) type(private-data  0x6)
 Stream #3 pid(0x38) type(private-sec  0x5)
 Stream #4 pid(0x39) type(private-sec  0x5)

2010-02-22 08:52:15.648 PMT for output stream
2010-02-22 08:52:15.650 Program Map Table ver(25) pid(0x32) pnum(1) len(44)

 Stream #0 pid(0x33) type(video-mpeg2  0x2)
 Stream #1 pid(0x36) type(audio-ac3  0x81)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x37) type(private-data  0x6)
 Stream #3 pid(0x38) type(private-sec  0x5)
 Stream #4 pid(0x39) type(private-sec  0x5)

2010-02-22 08:52:15.659 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:15.669 SM(192.168.248.4-0)::AddFlags: Seen(PMT,) Match() Wait()
2010-02-22 08:52:15.669 DTVSM(192.168.248.4-0)::GetStatusList: WaitForPMT seen(1) matching(1)
2010-02-22 08:52:15.726 DTVSM(192.168.248.4-0) Error: Wrong PMT; pmt->pn(248) desired(3)
2010-02-22 08:52:15.730 SM(192.168.248.4-0)::AddFlags: Seen(PMT,) Match() Wait()
2010-02-22 08:52:15.732 DTVSM(192.168.248.4-0) Error: Wrong PMT; pmt->pn(804) desired(3)
2010-02-22 08:52:15.733 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:16.061 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:16.108 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:16.341 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:16.483 DTVSM(192.168.248.4-0): Time Offset: -1.48317
2010-02-22 08:52:16.484 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:16.581 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:17.030 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:17.191 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:17.299 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:17.486 DTVSM(192.168.248.4-0): Time Offset: -1.48484
2010-02-22 08:52:17.538 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:17.778 AFD: codec AC3 has 2 channels
2010-02-22 08:52:17.780 AFD: Opened codec 0x883390, id(AC3) type(Audio)
2010-02-22 08:52:17.782 AFD: codec AC3 has 2 channels
2010-02-22 08:52:17.784 AFD: Opened codec 0x889520, id(AC3) type(Audio)
2010-02-22 08:52:17.787 AFD: Opened codec 0x887210, id(MPEG2VIDEO) type(Video)
2010-02-22 08:52:17.856 Preview: Grabbed preview '/home/myth-frontend0/mythtv/video/2043_20100222085142.mpg' 704x480 at 124s
2010-02-22 08:52:17.938 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:18.050 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:18.262 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:18.485 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:18.744 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:18.782 DTVSM(192.168.248.4-0): Time Offset: -1.584
2010-02-22 08:52:18.982 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:19.137 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:19.224 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:19.460 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:19.589 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:19.702 DTVSM(192.168.248.4-0): Time Offset: -1.61368
2010-02-22 08:52:19.734 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:20.188 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:20.420 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:20.483 ATSCStreamData::HandleTables(): Unknown table 0xc0
2010-02-22 08:52:20.661 DTVSM(192.168.248.4-0): Time Offset: -1.62321
[snip]

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the mythtv-users mailing list