[mythtv-users] mythtv freezes during the buffer change (0.19)

Pshem Kowalczyk pshem.k at gmail.com
Tue Feb 14 10:00:42 UTC 2006


Hi,

I've noticed a weird problem with new version of mythtv. Basically -
it freezes on the hour and half past the hour. This happens possibly
due to ring buffer change. If I press pause twice it resumes when it
finished, but it's a bit annoying.
This is what I get in the log file:

2006-02-14 22:30:00.848 TVRec(1): SwitchLiveTVRingBuffer(discont 0, set_rec 1)
2006-02-14 22:30:01.032 TVRec(1): GetProgramRingBufferForLiveTV()
2006-02-14 22:30:02.046 TVRec(1): StartedRecording(0x82f8610)
fn(/data1/myth/1001_20060214223001.mpg)
2006-02-14 22:30:02.088 write -> 14 51     
BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
2006-02-14 22:30:02.311 TVRec(1): FinishedRecording(Motorway Patrol)
in recgroup: LiveTV
2006-02-14 22:30:02.398 Chain: Updated endtime for
'1001_20060214222725' to 20060214223002
2006-02-14 22:30:02.438 write -> 14 81     
BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE
live-totara-2006-02-14T22:26:02[]:[]empty
2006-02-14 22:30:02.810 Finished recording Motorway Patrol: channel 1001
2006-02-14 22:30:02.844 Preview:
'myth://10.1.1.4:6543/1001_20060214222725.mpg' is not local,
                        replacing with
'/data1/myth/1001_20060214222725.mpg', which is local.
2006-02-14 22:30:03.085 Chain: Appended at 2 '1001_20060214223001'
2006-02-14 22:30:03.129 write -> 14 81     
BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE
live-totara-2006-02-14T22:26:02[]:[]empty
2006-02-14 22:30:03.169 RingBuf(/data1/myth/1001_20060214222725.mpg):
OpenFile(/data1/myth/1001_20060214222725.mpg, 0)
[mpeg @ 0xb771b360]Parser not found for Codec Id: 94210 !
0: start_time: 6.804 duration: 14.288
1: start_time: 1040.132 duration: 13.918
2: start_time: 6.773 duration: 14.288
stream: start_time: 75.252 duration: 11636.404 bitrate=73 kb/s
2006-02-14 22:30:03.725 AFD: Stream #0, has id 0x480 codec id
MPEG2VIDEO, type Video at 0x0x814cb40
2006-02-14 22:30:03.832 detectInterlace(Detect Scan, Detect Scan, 25,
480) ->Interlaced Scan
2006-02-14 22:30:03.872 Interlaced: Interlaced Scan  video_height: 480  fps: 25
2006-02-14 22:30:03.879 TVRec(1): SetFlags(RingBufferReset,) ->
FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecordi
ng,RecorderRunning,RingBufferReset,
2006-02-14 22:30:03.913 AFD: Looking for decoder for MPEG2VIDEO
2006-02-14 22:30:03.934 TVRec(1): !has_rec(1) !rec_soon(1)
curRec(0x814ddb0) starttm(2006-02-14T22:27:25)
2006-02-14 22:30:03.967 AFD: Opened codec 0x8164930, id(MPEG2VIDEO) type(Video)
2006-02-14 22:30:04.009 TVRec(1): Enabling Full LiveTV UI.
2006-02-14 22:30:04.050 AFD: Stream #1, has id 0x105 codec id
MPEG2VBI, type Data at 0x0x8143d70
2006-02-14 22:30:04.092 write -> 14 46     
BACKEND_MESSAGE[]:[]LIVETV_WATCH 1 0[]:[]empty
2006-02-14 22:30:04.160 AFD: data codec (Data)
2006-02-14 22:30:04.231 AFD: Stream #2, has id 0x448 codec id MP2,
type Audio at 0x0x8162b60
2006-02-14 22:30:04.273 AFD: Looking for decoder for MP2
2006-02-14 22:30:04.312 AFD: Opened codec 0x82c8d70, id(MP2) type(Audio)
2006-02-14 22:30:04.333 AFD: Audio Track #1 is A/V stream #2 and has 2
channels in the Unknown language(0).
2006-02-14 22:30:04.408 RingBuf(/data1/myth/1001_20060214222725.mpg):
CalcReadAheadThresh(6384 KB)

                         -> threshhold(233 KB) min read(32 KB) blk size(128 KB)
2006-02-14 22:30:04.491 AFD: Selected track 1: Unknown MP2 2ch (A/V Stream #2)
2006-02-14 22:30:04.566 AFD: Initializing audio parms from audio track #1
2006-02-14 22:30:04.649 AFD: Audio format changed
                        from id(NONE)    -1Hz -1ch   0bps    ;
id(NONE)    -1Hz -1ch   0bps
                        to   id( MP2) 48000Hz  2ch  16bps    ; id(
MP2) 48000Hz  2ch  16bps
2006-02-14 22:30:04.691 RecBase(/dev/v4l/video0):
SetRingBuffer(0x8174610) '/data1/myth/1001_20060214223001.mpg'
2006-02-14 22:30:04.724 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2006-02-14 22:30:04.766 TVRec(1): RingBufferChanged()
2006-02-14 22:30:04.969 Position map filled from DB to: 335
2006-02-14 22:30:05.007 TVRec(1): FinishedRecording(Motorway Patrol)
in recgroup: LiveTV
2006-02-14 22:30:05.052 SyncPositionMap prerecorded, from DB: 335 entries
2006-02-14 22:30:05.166 Chain: Updated endtime for
'1001_20060214222725' to 20060214223005
2006-02-14 22:30:05.124 SyncPositionMap, new totframes: 4020, new
length: 160, posMap size: 335
2006-02-14 22:30:05.093 TVRec(1): SwitchLiveTVRingBuffer(discont 0, set_rec 1)
2006-02-14 22:30:05.209 write -> 14 81     
BACKEND_MESSAGE[]:[]LIVETV_CHAIN UPDATE
live-totara-2006-02-14T22:26:02[]:[]empty
2006-02-14 22:30:05.290 TVRec(1): GetProgramRingBufferForLiveTV()
2006-02-14 22:30:05.952 Finished recording Motorway Patrol: channel 1001
Input #0, mpeg, from '/data1/myth/1001_20060214222725.mpg':
  Duration: 03:13:56.4, start: 75.252133, bitrate: 73 kb/s
  Stream #0.0[0x1e0], 1/90000, 25.00 fps(r): Video: mpeg2video,
yuv420p, 640x480, 1/25, 6000 kb/s
  Stream #0.1[0x69], 1/90000: Data: 0x0000
  Stream #0.2[0x1c0], 1/90000: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2006-02-14 22:30:07.504 AFD: Position map found
2006-02-14 22:30:07.612 AFD: Successfully opened decoder for file:
"/data1/myth/1001_20060214222725.mpg". novideo(0)
2006-02-14 22:30:07.928 TVRec(1): StartedRecording(0x816ea58)
fn(/data1/myth/1001_20060214223005.mpg)


There is at least one thing that looks like a problem:
2006-02-14 22:30:03.169 RingBuf(/data1/myth/1001_20060214222725.mpg):
OpenFile(/data1/myth/1001_20060214222725.mpg, 0)
[mpeg @ 0xb771b360]Parser not found for Codec Id: 94210 !


I'm using a 150MCE card.
Any ideas how to fix it?

regards
pshemko


More information about the mythtv-users mailing list