Opened 15 years ago

Closed 15 years ago

#6527 closed defect (fixed)

DVB-T HDHomeRun Doesn't Tune to Channels

Reported by: steven@… Owned by: Nigel
Priority: minor Milestone: 0.22
Component: MythTV - Recording Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Been testing a DVB-T HDHomeRun in NZ with out H.264 based terrestrial network. So far I've had it working fine with VLC and using hdhomerun_config to save a TS stream.

The MythTV builds I've tried are

  • 0.21.0+fixes19961-0ubuntu8

This comes with Mythbuntu 9.04 and won't even scan DVB channels

  • 0.21.0+fixes-20462-openglvdpau-0ubuntu1

This channel scans correctly but won't tune.

Change History (9)

comment:1 Changed 15 years ago by steven@…

Some more info

During an attempt to play a channel it appears to lock to the correct pids.

hdhomerun_config 121052A4 get /tuner0/filter
0x00fa 0x012c 0x03ea 0x03f2 0x03fc

Also I've run the backend in debug mode and got the following output

root@mythtv:~# mythbackend -v record,channel,network
2009-05-07 21:46:28.234 Using runtime prefix = /usr
2009-05-07 21:46:28.235 Empty LocalHostName.
2009-05-07 21:46:28.235 Using localhost value of mythtv
2009-05-07 21:46:28.242 New DB connection, total: 1
2009-05-07 21:46:28.248 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:28.249 Closing DB connection named 'DBManager0'
2009-05-07 21:46:28.250 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:28.251 New DB connection, total: 2
2009-05-07 21:46:28.251 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:28.254 Current Schema Version: 1214
Starting up as the master server.
2009-05-07 21:46:28.260 TVRec(4): Start channel: 1.
2009-05-07 21:46:28.266 HDHRChan(121052a4/0): device found at address 192.168.0.147
2009-05-07 21:46:28.269 New DB connection, total: 3
2009-05-07 21:46:28.271 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:28.278 ChannelBase(4): Input #4: 'MPEG2TS' schan(1) sourceid(1) ccid(4)
2009-05-07 21:46:28.279 ChannelBase(4): Current Input #4: 'MPEG2TS'
2009-05-07 21:46:28.284 HDHRChan(121052a4/0): Successfully connected to device
2009-05-07 21:46:28.286 HDHRChan(121052a4/0): SetChannelByString(1)
2009-05-07 21:46:28.287 HDHRChan(121052a4/0): Tune()ing to auto:538000000
2009-05-07 21:46:28.309 TVRec(4): SetFlags(RunMainLoop,) -> RunMainLoop,
2009-05-07 21:46:28.309 TVRec(4): ClearFlags(ExitPlayer,FinishRecording,) -> RunMainLoop,
2009-05-07 21:46:28.314 New DB scheduler connection
2009-05-07 21:46:28.315 Connected to database 'mythconverg' at host: localhost
myPVR NZ is defined, but isn't attached to a cardinput.
2009-05-07 21:46:28.334 MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP
2009-05-07 21:46:28.335 Main::Registering HttpStatus Extension
2009-05-07 21:46:28.335 mythbackend version: 0.21.20080304-1 www.mythtv.org
2009-05-07 21:46:28.336 Enabled verbose msgs:  important general record channel network
2009-05-07 21:46:28.338 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2009-05-07 21:46:31.329 Reschedule requested for id -1.
2009-05-07 21:46:31.344 Scheduled 0 items in 0.0 = 0.00 match + 0.01 place
2009-05-07 21:46:31.346 Seem to be woken up by USER
2009-05-07 21:46:31.347 MythEvent: SCHEDULE_CHANGE
2009-05-07 21:46:33.478 read  <- 11 21      MYTH_PROTO_VERSION 40
2009-05-07 21:46:33.479 write -> 11 13      ACCEPT[]:[]40
2009-05-07 21:46:33.480 read  <- 11 20      ANN Monitor mythtv 0
2009-05-07 21:46:33.480 MainServer::HandleAnnounce Monitor
2009-05-07 21:46:33.480 adding: mythtv as a client (events: 0)
2009-05-07 21:46:33.480 write -> 11 2       OK
2009-05-07 21:46:33.482 read  <- 14 20      ANN Monitor mythtv 1
2009-05-07 21:46:33.482 MainServer::HandleAnnounce Monitor
2009-05-07 21:46:33.482 adding: mythtv as a client (events: 1)
2009-05-07 21:46:33.482 write -> 14 2       OK
2009-05-07 21:46:33.482 read  <- 11 23      GET_FREE_RECORDER_COUNT
2009-05-07 21:46:33.482 write -> 11 1       1
2009-05-07 21:46:33.483 read  <- 11 29      GET_NEXT_FREE_RECORDER[]:[]-1
2009-05-07 21:46:33.483 Getting next free recorder after : -1
2009-05-07 21:46:33.485 Card 4 is local.
2009-05-07 21:46:33.485 write -> 11 24      4[]:[]127.0.0.1[]:[]6543
2009-05-07 21:46:33.487 read  <- 15 21      MYTH_PROTO_VERSION 40
2009-05-07 21:46:33.487 write -> 15 13      ACCEPT[]:[]40
2009-05-07 21:46:33.488 read  <- 15 21      ANN Playback mythtv 0
2009-05-07 21:46:33.488 MainServer::HandleAnnounce Playback
2009-05-07 21:46:33.488 adding: mythtv as a client (events: 0)
2009-05-07 21:46:33.488 write -> 15 2       OK
2009-05-07 21:46:33.488 read  <- 15 80      QUERY_RECORDER 4[]:[]SPAWN_LIVETV[]:[]live-mythtv-2009-05-07T21:4...
2009-05-07 21:46:33.489 TVRec(4): Changing from None to WatchingLiveTV
2009-05-07 21:46:33.489 TVRec(4): ClearFlags(FrontendReady,CancelNextRecording,) -> RunMainLoop,
2009-05-07 21:46:33.489 TVRec(4): Request: Program(no) channel() input() flags(LiveTV,)
2009-05-07 21:46:33.489 TVRec(4): Start channel: 1.
2009-05-07 21:46:33.490 TVRec(4): HW Tuner: 4->4
2009-05-07 21:46:33.490 TVRec(4): ClearFlags(PENDINGACTIONS,) -> RunMainLoop,
2009-05-07 21:46:33.490 TVRec(4): No recorder yet, calling TuningFrequency
2009-05-07 21:46:33.492 HDHRChan(121052a4/0): SetChannelByString(1)
2009-05-07 21:46:33.493 HDHRChan(121052a4/0): Tune()ing to auto:538000000
2009-05-07 21:46:33.498 TVRec(4): CreateLiveTVRingBuffer()
2009-05-07 21:46:33.498 TVRec(4): GetProgramRingBufferForLiveTV()
2009-05-07 21:46:33.503 MythEvent: QUERY_NEXT_LIVETV_DIR 4
2009-05-07 21:46:34.524 TVRec(4): StartedRecording(0x8a3edf0) fn(/var/lib/mythtv/recordings/1001_20090507214633.mpg)
2009-05-07 21:46:34.525 MythEvent: RECORDING_LIST_CHANGE
2009-05-07 21:46:34.539 Chain: Appended@0 '1001_20090507214633'
2009-05-07 21:46:34.540 MythEvent: LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21:46:33
2009-05-07 21:46:34.542 TVRec(4): Starting Signal Monitor
2009-05-07 21:46:34.542 TVRec(4): SetupSignalMonitor(1, 1)
2009-05-07 21:46:34.543 HDHRSM(121052a4/0): ctor
2009-05-07 21:46:34.543 DelAllPID()
2009-05-07 21:46:34.544 SM(121052a4/0)::AddFlags: Seen() Match() Wait(Sig,)
2009-05-07 21:46:34.544 TVRec(4): Signal monitor successfully created
2009-05-07 21:46:34.545 TVRec(4): Setting up table monitoring.
2009-05-07 21:46:34.547 Using profile 'Live TV' to record
2009-05-07 21:46:34.549 TVRec(4): MPEG program number: 1200
2009-05-07 21:46:34.549 DTVSM(121052a4/0)::SetProgramNumber(1200): 
2009-05-07 21:46:34.550 SM(121052a4/0)::RemoveFlags: Seen(PMT,Crypt,) Match(PMT,Crypt,) Wait()
2009-05-07 21:46:34.550 SM(121052a4/0)::AddFlags: Seen() Match() Wait(PMT,)
2009-05-07 21:46:34.550 SM(121052a4/0)::AddFlags: Seen() Match() Wait(PAT,PMT,Pos,)
2009-05-07 21:46:34.550 TVRec(4): Successfully set up MPEG table monitoring.
2009-05-07 21:46:34.551 SM(121052a4/0)::Start: begin
2009-05-07 21:46:34.551 SM(121052a4/0)::Start: end
2009-05-07 21:46:34.552 TVRec(4): SetFlags(SignalMonitorRunning,) -> RunMainLoop,SignalMonitorRunning,
2009-05-07 21:46:34.552 TVRec(4): ClearFlags(WaitingForSignal,) -> RunMainLoop,SignalMonitorRunning,
2009-05-07 21:46:34.552 TVRec(4): SetFlags(WaitingForSignal,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,
2009-05-07 21:46:34.552 TVRec(4): SetFlags(DummyRecorderRunning,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,
2009-05-07 21:46:34.553 DummyDTVRecorder -- started
2009-05-07 21:46:34.553 TVRec(4): SetFlags(RingBufferReady,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2009-05-07 21:46:34.554 TVRec(4): ClearFlags(NeedToStartRecorder,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2009-05-07 21:46:34.554 TVRec(4): SetFlags(NeedToStartRecorder,) -> RunMainLoop,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2009-05-07 21:46:34.555 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-05-07 21:46:34.556 write -> 14 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2009-05-07 21:46:34.556 write -> 14 81      BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21...
2009-05-07 21:46:34.557 TVRec(4): SetFlags(CancelNextRecording,) -> RunMainLoop,CancelNextRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2009-05-07 21:46:34.557 write -> 15 2       ok
2009-05-07 21:46:34.562 read  <- 15 33      QUERY_RECORDER 4[]:[]IS_RECORDING
2009-05-07 21:46:34.563 write -> 15 1       1
2009-05-07 21:46:34.563 read  <- 15 33      QUERY_RECORDER 4[]:[]IS_RECORDING
2009-05-07 21:46:34.563 write -> 15 1       1
2009-05-07 21:46:34.563 read  <- 15 34      QUERY_RECORDER 4[]:[]GET_FRAMERATE
2009-05-07 21:46:34.563 write -> 15 2       -1
2009-05-07 21:46:34.569 read  <- 11 33      MESSAGE[]:[]RECORDING_LIST_CHANGE
2009-05-07 21:46:34.569 MythEvent: RECORDING_LIST_CHANGE
2009-05-07 21:46:34.569 write -> 11 2       OK
2009-05-07 21:46:34.569 write -> 14 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2009-05-07 21:46:34.599 HDHRSM(121052a4/0): UpdateValues() -- Waiting for table monitor to start
2009-05-07 21:46:34.600 HDHRSM(121052a4/0): UpdateValues() -- Table monitor started
2009-05-07 21:46:34.600 DTVSM(121052a4/0)::GetStatusList: WaitForPMT seen(0) matching(0)
2009-05-07 21:46:34.601 MythEvent: SIGNAL 4
2009-05-07 21:46:34.601 write -> 14 290     BACKEND_MESSAGE[]:[]SIGNAL 4[]:[]Signal Lock[]:[]slock 1 1 0 1 0 ...
2009-05-07 21:46:34.601 HDHRSM(121052a4/0): RunTableMonitor(): begin (# of pids 1)
2009-05-07 21:46:34.603 AddPID(0x0)
2009-05-07 21:46:34.652 SM(121052a4/0)::AddFlags: Seen(PAT,) Match() Wait()
2009-05-07 21:46:34.652 SM(121052a4/0)::AddFlags: Seen() Match(PAT,) Wait()
2009-05-07 21:46:34.652 CreatePATSingleProgram()
2009-05-07 21:46:34.652 PAT in input stream
2009-05-07 21:46:34.652 Program Association Table
 PSIP tableID(0x0) length(13) extension(0x0)
      version(24) current(1) section(0) last_section(0)
         tsid: 0
 programCount: 1
  program number  1200 has PID 0x  64   data  0x 4 0xb0 0xe0 0x64

2009-05-07 21:46:34.652 desired_program(1200) pid(0x64)
2009-05-07 21:46:34.653 pmt_pid(0x64)
2009-05-07 21:46:34.653 PAT for output stream
2009-05-07 21:46:34.653 Program Association Table
 PSIP tableID(0x0) length(13) extension(0x0)
      version(24) current(1) section(0) last_section(0)
         tsid: 0
 programCount: 1
  program number     1 has PID 0x  64   data  0x 0 0x 1 0xe0 0x64

2009-05-07 21:46:34.654 SM(121052a4/0)::AddFlags: Seen(PMT,) Match() Wait()
2009-05-07 21:46:34.654 SM(121052a4/0)::AddFlags: Seen() Match(PMT,) Wait()
2009-05-07 21:46:34.654 CreatePMTSingleProgram()
2009-05-07 21:46:34.654 PMT in input stream
2009-05-07 21:46:34.654 Program Map Table ver(24) pid(0x64) pnum(1200) len(44)

 Stream #0 pid(0xfa) type(video-h264  0x1b)
 Stream #1 pid(0x12c) type(audio-aac-latm  0x11)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x3ea) type(dsmcc-b std data  0xb)
 Stream #3 pid(0x3f2) type(private-data  0x6)
 Stream #4 pid(0x3fc) type(private-data  0x6)

2009-05-07 21:46:34.655 PMT for output stream
2009-05-07 21:46:34.655 Program Map Table ver(24) pid(0x64) pnum(1) len(44)

 Stream #0 pid(0xfa) type(video-h264  0x1b)
 Stream #1 pid(0x12c) type(audio-aac-latm  0x11)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x3ea) type(dsmcc-b std data  0xb)
 Stream #3 pid(0x3f2) type(private-data  0x6)
 Stream #4 pid(0x3fc) type(private-data  0x6)

2009-05-07 21:46:34.656 AddPID(0x64)
2009-05-07 21:46:34.657 DTVSM(121052a4/0)::GetStatusList: WaitForPMT seen(1) matching(1)
2009-05-07 21:46:34.657 MythEvent: SIGNAL 4
2009-05-07 21:46:34.657 write -> 14 290     BACKEND_MESSAGE[]:[]SIGNAL 4[]:[]Signal Lock[]:[]slock 1 1 0 1 0 ...
2009-05-07 21:46:34.661 TVRec(4): Got good signal
2009-05-07 21:46:34.661 TVRec(4): TeardownSignalMonitor() -- begin
2009-05-07 21:46:34.661 HDHRSM(121052a4/0): Stop() -- begin
2009-05-07 21:46:34.661 SM(121052a4/0)::Stop: begin
2009-05-07 21:46:34.708 MythEvent: SIGNAL 4
2009-05-07 21:46:34.709 SM(121052a4/0)::Stop: end
2009-05-07 21:46:34.710 write -> 14 290     BACKEND_MESSAGE[]:[]SIGNAL 4[]:[]Signal Lock[]:[]slock 1 1 0 1 0 ...
2009-05-07 21:46:35.070 read  <- 15 35      QUERY_RECORDER 4[]:[]FRONTEND_READY
2009-05-07 21:46:35.707 HDHRSM(121052a4/0): RunTableMonitor(): -- shutdown
2009-05-07 21:46:35.707 HDHRSM(121052a4/0): RunTableMonitor(): -- end
2009-05-07 21:46:35.708 HDHRSM(121052a4/0): Stop() -- end
2009-05-07 21:46:35.708 HDHRSM(121052a4/0): Stop() -- begin
2009-05-07 21:46:35.708 SM(121052a4/0)::Stop: begin
2009-05-07 21:46:35.708 SM(121052a4/0)::Stop: end
2009-05-07 21:46:35.708 HDHRSM(121052a4/0): Stop() -- end
2009-05-07 21:46:35.708 TVRec(4): TeardownSignalMonitor() -- end
2009-05-07 21:46:35.708 TVRec(4): ClearFlags(SignalMonitorRunning,) -> RunMainLoop,CancelNextRecording,WaitingForSignal,NeedToStartRecorder,DummyRecorderRunning,RingBufferReady,
2009-05-07 21:46:35.708 TVRec(4): ClearFlags(WaitingForSignal,) -> RunMainLoop,CancelNextRecording,NeedToStartRecorder,DummyRecorderRunning,RingBufferReady,
2009-05-07 21:46:35.709 TVRec(4): Starting Recorder
2009-05-07 21:46:35.709 TVRec(4): ClearFlags(DummyRecorderRunning,) -> RunMainLoop,CancelNextRecording,NeedToStartRecorder,RingBufferReady,
2009-05-07 21:46:35.710 TVRec(4): FinishedRecording(Unknown) in recgroup: LiveTV
2009-05-07 21:46:35.711 HDHRSM(121052a4/0): dtor
2009-05-07 21:46:35.711 HDHRSM(121052a4/0): Stop() -- begin
2009-05-07 21:46:35.711 SM(121052a4/0)::Stop: begin
2009-05-07 21:46:35.711 SM(121052a4/0)::Stop: end
2009-05-07 21:46:35.711 HDHRSM(121052a4/0): Stop() -- end
2009-05-07 21:46:35.711 SM(121052a4/0)::Stop: begin
2009-05-07 21:46:35.712 SM(121052a4/0)::Stop: end
2009-05-07 21:46:35.712 Chain: Updated endtime for '1001_20090507214633' to 20090507214635
2009-05-07 21:46:35.712 MythEvent: LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21:46:33
2009-05-07 21:46:35.713 write -> 14 81      BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21...
2009-05-07 21:46:35.713 Finished recording Unknown: channel 1001
2009-05-07 21:46:35.715 Using profile 'Live TV' to record
2009-05-07 21:46:35.715 TVRec(4): SwitchLiveTVRingBuffer(discont 1, set_rec 0)
2009-05-07 21:46:35.715 TVRec(4): GetProgramRingBufferForLiveTV()
2009-05-07 21:46:35.717 MythEvent: QUERY_NEXT_LIVETV_DIR 4
2009-05-07 21:46:36.728 TVRec(4): StartedRecording(0x8a5c400) fn(/var/lib/mythtv/recordings/1001_20090507214635.mpg)
2009-05-07 21:46:36.728 MythEvent: RECORDING_LIST_CHANGE
2009-05-07 21:46:36.745 TVRec(4): FinishedRecording(Unknown) in recgroup: LiveTV
2009-05-07 21:46:36.746 Chain: Updated endtime for '1001_20090507214633' to 20090507214636
2009-05-07 21:46:36.746 MythEvent: LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21:46:33
2009-05-07 21:46:36.752 Finished recording Unknown: channel 1001
2009-05-07 21:46:36.755 Preview: 'myth://127.0.0.1:6543/1001_20090507214633.mpg' is not local, 
			replacing with '/var/lib/mythtv/recordings/1001_20090507214633.mpg', which is local.
2009-05-07 21:46:36.770 Chain: Appended@1 '1001_20090507214635'
2009-05-07 21:46:36.770 MythEvent: LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21:46:33
2009-05-07 21:46:36.825 RecBase(4:4): SetRingBuffer(0x8a91978) '/var/lib/mythtv/recordings/1001_20090507214635.mpg'
2009-05-07 21:46:36.825 HDHRRec(4): SetPAT(1200 on 0x64)
2009-05-07 21:46:36.826 CreatePATSingleProgram()
2009-05-07 21:46:36.826 PAT in input stream
2009-05-07 21:46:36.827 Program Association Table
 PSIP tableID(0x0) length(13) extension(0x0)
      version(24) current(1) section(0) last_section(0)
         tsid: 0
 programCount: 1
  program number  1200 has PID 0x  64   data  0x 4 0xb0 0xe0 0x64

2009-05-07 21:46:36.827 desired_program(1200) pid(0x64)
2009-05-07 21:46:36.828 pmt_pid(0x64)
2009-05-07 21:46:36.828 PAT for output stream
2009-05-07 21:46:36.828 Program Association Table
 PSIP tableID(0x0) length(13) extension(0x0)
      version(24) current(1) section(0) last_section(0)
         tsid: 0
 programCount: 1
  program number     1 has PID 0x  64   data  0x 0 0x 1 0xe0 0x64

2009-05-07 21:46:36.829 HDHRRec(4): SetPMT(1200)
2009-05-07 21:46:36.830 CreatePMTSingleProgram()
2009-05-07 21:46:36.830 PMT in input stream
2009-05-07 21:46:36.830 Program Map Table ver(24) pid(0x64) pnum(1200) len(44)

 Stream #0 pid(0xfa) type(video-h264  0x1b)
 Stream #1 pid(0x12c) type(audio-aac-latm  0x11)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x3ea) type(dsmcc-b std data  0xb)
 Stream #3 pid(0x3f2) type(private-data  0x6)
 Stream #4 pid(0x3fc) type(private-data  0x6)

2009-05-07 21:46:36.832 PMT for output stream
2009-05-07 21:46:36.833 Program Map Table ver(24) pid(0x64) pnum(1) len(44)

 Stream #0 pid(0xfa) type(video-h264  0x1b)
 Stream #1 pid(0x12c) type(audio-aac-latm  0x11)
  ISO-639 Language: code(eng) canonical(eng) eng(English)
 Stream #2 pid(0x3ea) type(dsmcc-b std data  0xb)
 Stream #3 pid(0x3f2) type(private-data  0x6)
 Stream #4 pid(0x3fc) type(private-data  0x6)

2009-05-07 21:46:36.833 RecBase(4:4): SetRecording(0x8a3edf0) title(Unknown)
2009-05-07 21:46:36.834 HDHRRec(4): StartRecording -- begin
2009-05-07 21:46:36.834 HDHRRec(4): Open()
2009-05-07 21:46:36.836 HDHRRec(4): StartData()
2009-05-07 21:46:36.838 HDHRRec(4): Resetting Demux Filters
2009-05-07 21:46:36.838 AddPID(0x0) NOOP
2009-05-07 21:46:36.838 AddPID(0x64) NOOP
2009-05-07 21:46:36.839 AddPID(0xfa)
2009-05-07 21:46:36.839 AddPID(0x12c)
2009-05-07 21:46:36.839 AddPID(0x3ea)
2009-05-07 21:46:36.839 AddPID(0x3f2)
2009-05-07 21:46:36.840 AddPID(0x3fc)
2009-05-07 21:46:36.841 TVRec(4): SetFlags(FrontendReady,) -> FrontendReady,RunMainLoop,CancelNextRecording,NeedToStartRecorder,RingBufferReady,
2009-05-07 21:46:36.841 write -> 15 2       ok
2009-05-07 21:46:36.842 read  <- 15 30      QUERY_RECORDER 4[]:[]GET_INPUT
2009-05-07 21:46:36.842 write -> 15 7       MPEG2TS
2009-05-07 21:46:36.844 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-05-07 21:46:36.845 write -> 14 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2009-05-07 21:46:36.845 write -> 14 81      BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21...
2009-05-07 21:46:36.846 write -> 14 81      BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21...
2009-05-07 21:46:36.851 read  <- 11 33      MESSAGE[]:[]RECORDING_LIST_CHANGE
2009-05-07 21:46:36.851 MythEvent: RECORDING_LIST_CHANGE
2009-05-07 21:46:36.851 write -> 11 2       OK
2009-05-07 21:46:36.855 read  <- 11 33      MESSAGE[]:[]RECORDING_LIST_CHANGE
2009-05-07 21:46:36.855 MythEvent: RECORDING_LIST_CHANGE
2009-05-07 21:46:36.855 write -> 11 2       OK
2009-05-07 21:46:36.857 write -> 14 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2009-05-07 21:46:36.857 write -> 14 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2009-05-07 21:46:36.849 TVRec(4): SetFlags(RecorderRunning,RingBufferReady,) -> FrontendReady,RunMainLoop,CancelNextRecording,NeedToStartRecorder,RecorderRunning,RingBufferReady,
2009-05-07 21:46:36.857 TVRec(4): ClearFlags(NeedToStartRecorder,) -> FrontendReady,RunMainLoop,CancelNextRecording,RecorderRunning,RingBufferReady,
2009-05-07 21:46:36.933 Using runtime prefix = /usr
2009-05-07 21:46:36.936 Empty LocalHostName.
2009-05-07 21:46:36.936 Using localhost value of mythtv
2009-05-07 21:46:36.948 New DB connection, total: 1
2009-05-07 21:46:36.954 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:36.955 Closing DB connection named 'DBManager0'
2009-05-07 21:46:36.956 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:36.957 New DB connection, total: 2
2009-05-07 21:46:36.958 Connected to database 'mythconverg' at host: localhost
2009-05-07 21:46:36.960 Current Schema Version: 1214
2009-05-07 21:46:36.967 Preview Error: Previewer file '/var/lib/mythtv/recordings/1001_20090507214633.mpg' is not valid.
2009-05-07 21:46:36.967 Preview Error: Run() file not local: '/var/lib/mythtv/recordings/1001_20090507214633.mpg'
2009-05-07 21:46:36.984 Preview Error: Preview process not ok.
			fileinfo(/var/lib/mythtv/recordings/1001_20090507214633.mpg.png) exists: 0 readable: 0 size: 0
2009-05-07 21:46:43.358 read  <- 15 32      QUERY_RECORDER 4[]:[]STOP_LIVETV
2009-05-07 21:46:43.358 TVRec(4): StopLiveTV(void) curRec: 0x8a5c400 pseudoRec: 0
2009-05-07 21:46:43.360 TVRec(4): Changing from WatchingLiveTV to None
2009-05-07 21:46:43.360 TVRec(4): ClearFlags(FrontendReady,CancelNextRecording,) -> RunMainLoop,RecorderRunning,RingBufferReady,
2009-05-07 21:46:43.360 TVRec(4): Request: Program(no) channel() input() flags(KillRec,KillRingBuffer,)
2009-05-07 21:46:43.360 MythEvent: DONE_RECORDING 4 8 0
2009-05-07 21:46:43.360 write -> 14 50      BACKEND_MESSAGE[]:[]DONE_RECORDING 4 8 0[]:[]empty
2009-05-07 21:46:43.361 HDHRRec(4): StartRecording -- ending...
2009-05-07 21:46:43.363 HDHRRec(4): Close()
2009-05-07 21:46:44.369 HDHRRec(4): StartRecording -- end
2009-05-07 21:46:44.369 TVRec(4): ClearFlags(RecorderRunning,) -> RunMainLoop,RingBufferReady,
2009-05-07 21:46:44.369 HDHRRec(4): Close()
2009-05-07 21:46:44.370 TVRec(4): FinishedRecording(Unknown) in recgroup: LiveTV
2009-05-07 21:46:44.371 Chain: Updated endtime for '1001_20090507214635' to 20090507214644
2009-05-07 21:46:44.371 MythEvent: LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21:46:33
2009-05-07 21:46:44.371 write -> 14 81      BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE live-mythtv-2009-05-07T21...
2009-05-07 21:46:44.372 Finished recording Unknown: channel 1001
2009-05-07 21:46:44.372 MythEvent: RECORDING_LIST_CHANGE
2009-05-07 21:46:44.373 write -> 14 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2009-05-07 21:46:44.375 TVRec(4): ClearFlags(RecorderRunning,) -> RunMainLoop,RingBufferReady,
2009-05-07 21:46:44.375 TVRec(4): Tearing down RingBuffer
2009-05-07 21:46:44.378 TVRec(4): ClearFlags(PENDINGACTIONS,) -> RunMainLoop,RingBufferReady,
2009-05-07 21:46:44.378 write -> 15 2       ok

comment:2 Changed 15 years ago by steven@…

I used the following command to dump a stream to disk

hdhomerun_config ffffffff set /tuner0/channel 29 && hdhomerun_config ffffffff set /tuner0/program 1200 && hdhomerun_config ffffffff save /tuner0 tvone.ts

This would playback with both mplayer and the Internal MythTV player so there are no codec issues.

comment:3 Changed 15 years ago by Nigel

Steven, could you try the "Use quick tuning" option? (mythtv-setup -> Input Connections, then restart the backend). Try the opposite value (Always or Never).

comment:4 Changed 15 years ago by steven@…

Already tried both values. Doesn't appear to make a difference.

Ran TCPdump to monitor the communication at the HDHomeRun is being configured correctly, and data is streamed to the MythTV box, but no recording is being made.

comment:5 Changed 15 years ago by stuartm

Owner: changed from Isaac Richards to Nigel
Status: newassigned

comment:6 Changed 15 years ago by SpiffBB

Hello There is a working temporaru fix for at least Mythbuntu 9.04 - enable weekly updates (fixes, not trunk). Se this post: http://www.silicondust.com/forum/viewtopic.php?t=7228

comment:7 Changed 15 years ago by stuartm

Milestone: 0.21.10.22

comment:8 Changed 15 years ago by Nigel

OK. Steve, 19961 would never have worked because that was before the DVB-T HDHR changes were added to 0.21-fixes. I'm still trying to analyse your debug output, and how it differs from an MPEG2 stream from the device, but I'm not sure that I know how to fix this. One of the other devs might be more qualified - it might be an H264 thing, or something unique in the PMT/PID/et c.
SpiffBB, yes the default Mythbuntu is too old (at that thread indicates), but Stephen's latter rev is OK for the device. I think the problem is that this is an experimental H264 over DVB-T service?

comment:9 Changed 15 years ago by Nigel

Resolution: fixed
Status: assignedclosed

Mike from SiliconDust? very kindly created a patch in #6874 that works around keyframe detection for H264. It was committed in 0.21-fixes [21376] and earlier in trunk [20771]. Steven, it is likely that this fixes the problem?

Note: See TracTickets for help on using tickets.