
mythtv at miwers
Jul 26, 2007, 10:56 AM
Post #4 of 7
(778 views)
Permalink
|
|
Re: Ticket #2335: LiveTV hangs when a recording is finished and a new on starts (no channel change)
[In reply to]
|
|
Bob Cottingham wrote: On 7/26/07, Nick Morrott <knowledgejunkie [at] gmail> wrote: Another issue I have noticed is that when a completely recorded program transitions without freezing (the key problem), a new ringbuffer is not (always?) created and Myth does not start or even update the recording with details of the new program but carries on using the old recording file. When I entered LiveTV when a program was already underway, the next program transition was successful. In my testing I entered LiveTV at 0926, and LiveTV successfully transitioned to the next program at 0930, using a new ringbuffer and updating program details accordingly. However, when this show (0930-1000) finished, at 1000 the recording again continued without freezing, but continued to use the same ringbuffer file from the 0930-1000 show. When I backed out of this show at 1007 and looked at the recordings list, instead of showing one entry for 0930-1000 and another for 1000-1007 (the next program), there was only a single entry with duration 0930-1007 with the details relating to the 0930-1000 program. I'm sure this will probably cause some issues if a user decides to try and record the 'new' program when it is still using the old ringbuffer. I've been seeing this problem as well as the freeze on transition issue for the last month so. The freeze on transition is very consistent, however the problem of not creating a new file on transistion is very intermittant and has caused quite a problem as it has created files over 30GB when LiveTV was left on over night, resulting in the system running out of disk space and crashing myth. There were a mix of non-expirable shows, expirable shows and LiveTV plus the slave backend OS on a 120GB drive - so once the auto-expirable shows were deleted it couldn't delete anything else. So I don't think that the issue you found is due to Shane's patch since I've been seeing it for a while as well. I hope to try his patch this weekend as the entire family appreciation factor has gone down with the LiveTV freezes. During my testing I have seen this problem too, and I'm posting my logs here for you to review. The transition happens at 19:30 and it's a copy/paste from just around that time. I agree with bob, that it doesn't look related to the issue in this ticket. It appears to be a problem on the backend, not on the frontend like the freezing issue. Maybe a separate ticket should be created for this issue, if one doesn't already exists. Still no freeze after Shane's one-line patch :) Tip for everyone: You can speed up testing by applying Tino's patch "ticket-2335.diff". With this you get program transitions every 2 minutes on channels with no guide data. And the logs: ============================================ frontend (-v important,genral,playback) 2007-07-26 19:29:42.874 Avg read interval was 197 msec. 256K block size 'video_output' mean = '39864.50', std. dev. = '8507.65', fps = '25.08' 'video_output' mean = '40025.03', std. dev. = '8911.47', fps = '24.98' 2007-07-26 19:29:53.539 Avg read interval was 191 msec. 288K block size 2007-07-26 19:29:53.594 NVP: 76800 interlaced frames seen. 'video_output' mean = '40023.78', std. dev. = '8361.07', fps = '24.99' 'video_output' mean = '40089.34', std. dev. = '8782.62', fps = '24.94' 'video_output' mean = '39960.72', std. dev. = '9173.60', fps = '25.02' (--- transition ---) 2007-07-26 19:30:05.099 Avg read interval was 412 msec. 256K block size 2007-07-26 19:30:05.555 NVP: prebuffering pause 2007-07-26 19:30:05.555 NVP: Waiting for prebuffer.. 0 AAAAAAuAAAAaAALAAAAAAAAAAAAAAAA 2007-07-26 19:30:05.729 NVP: Waiting for prebuffer.. 1 AAAAAAuAAAAaAALAAAAAAAAAAAAAAAA 2007-07-26 19:30:05.848 WriteAudio: buffer underrun 2007-07-26 19:30:05.887 Avg read interval was 186 msec. 64K block size 'video_output' mean = '43194.48', std. dev. = '33426.02', fps = '23.15' 2007-07-26 19:30:06.171 Avg read interval was 195 msec. 96K block size 2007-07-26 19:30:07.080 Avg read interval was 193 msec. 128K block size 2007-07-26 19:30:09.772 Avg read interval was 195 msec. 160K block size 2007-07-26 19:30:09.851 NVP: 77200 interlaced frames seen. 'video_output' mean = '39203.18', std. dev. = '8306.81', fps = '25.51' 'video_output' mean = '40158.75', std. dev. = '10300.15', fps = '24.90' 'video_output' mean = '39891.53', std. dev. = '10887.40', fps = '25.07' ============================================ backend (-v important,general,record,file) 2007-07-26 19:29:24.545 AutoExpire: SendDeleteMessages. Nothing to expire. (--- transition ---) 2007-07-26 19:30:00.580 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:01.588 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:02.289 SG(LiveTV): FindRecordingFile: Searching for '6011_20070726190000.mpg' 2007-07-26 19:30:02.625 SG(LiveTV): FindRecordingDir: Checking '/Storage/mythdata/recordings/livetv' 2007-07-26 19:30:02.627 SG(LiveTV): FindRecordingFile: Found '/Storage/mythdata/recordings/livetv/6011_20070726190000.mpg' 2007-07-26 19:30:02.628 ProgramInfo: GetPlaybackURL: File is local: '/Storage/mythdata/recordings/livetv/6011_20070726190000.mpg' 2007-07-26 19:30:02.698 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:03.767 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:04.776 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:05.780 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:06.788 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:07.796 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:08.800 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:09.805 TVRec(1): Enabling Full LiveTV UI. 2007-07-26 19:30:10.809 TVRec(1): Enabling Full LiveTV UI. /Miwer
|