[mythtv] playback problems with a certain station

Jack Perveiler perveilerj at yahoo.com
Thu Mar 16 16:29:22 UTC 2006


I've been having trouble with a certain hidef station, 7_1 - WHDH HD Boston
(1080i) with 19-fixes r9324 (using the Standard decoder).  Might also be worth
noting that I'm using the animated video previews in the program selection
menu.

I can record just fine (and playback just fine with mplayer), but I have the
following problems rather commonly:
1) Audio sync on playback is waaay off right from the beginning, usually
following the "guessing at a/v sync" message in the logfile.  Exiting and
trying again from the same point usually fixes this.  Not my main concern, just
throwing that in here in case it's realated.
2) Playback give a black screen and an unresponsive frontend which has to be
killed (can't exit gracefully).

#2 seems to only happen to a specific show (Live with Regis and Kelly), but
happens to the recording made every day (ie not just 1 bad recording).  Even
odder, sometimes it plays back without incident.  Yesterday my wife watched it
from the beginning to the middle just fine, but when she went back later it had
the problem.  I killed/restarted the frontend and tried again later and it
worked fine again.

When it happens my logfile gets filled with this until I kill it:

2006-03-15 14:34:23.678 TV: Attempting to change from None to
WatchingPreRecorded
2006-03-15 14:34:23.690 Could not bind to UDP notify port: 6948
[mpeg2video @ 0xb741b840]insufficient thread locking around
avcodec_open/close()
0: start_time: 2599.869 duration: 324.342
1: start_time: 2599.869 duration: 324.342
stream: start_time: 28887.438 duration: 3603.800 bitrate=17671 kb/s
2006-03-15 14:34:23.858 AFD: Opened codec 0xb07b9800, id(MPEG2VIDEO)
type(Video)
2006-03-15 14:34:23.859 AFD: Opened codec 0xa8523e70, id(AC3) type(Audio)
0: start_time: 2599.869 duration: 324.342
1: start_time: 2599.869 duration: 324.342
stream: start_time: 28887.438 duration: 3603.800 bitrate=17671 kb/s
2006-03-15 14:34:23.953 AFD: Warning, video codec 0x8c54ba0 id(MPEG2VIDEO) type
(Video) already open.
2006-03-15 14:34:23.954 AFD: Opened codec 0x8249900, id(AC3) type(Audio)
2006-03-15 14:34:23.955 Opening audio device 'mixed-digital'.
2006-03-15 14:34:24.478 Unknown tag bold in font
2006-03-15 14:34:24.529 Unknown tag bold in font
2006-03-15 14:34:24.622 OSDTypePositionImage::AddPosition[0](114x263  1, 1)
2006-03-15 14:34:24.622 OSDTypePositionImage::AddPosition[1](114x293  1, 1)
2006-03-15 14:34:24.622 OSDTypePositionImage::AddPosition[2](114x323  1, 1)
2006-03-15 14:34:24.622 OSDTypePositionImage::AddPosition[3](114x353  1, 1)
2006-03-15 14:34:24.623 Unknown altfont: notifygray in textarea: option1
2006-03-15 14:34:25.132 Using realtime priority.
[mpeg2video @ 0xb741b840]get_buffer() failed (stride changed)
2006-03-15 14:34:25.135 AFD Error: Unknown decoding error
[mpeg2video @ 0xb741b840]get_buffer() failed (stride changed)
2006-03-15 14:34:25.138 AFD Error: Unknown decoding error
2006-03-15 14:34:25.139 TV: Changing from None to WatchingPreRecorded
[mpeg2video @ 0xb741b840]get_buffer() failed (stride changed)
2006-03-15 14:34:25.142 AFD Error: Unknown decoding error
<snip> (lots more of the same)
[mpeg2video @ 0xb741b840]get_buffer() failed (stride changed)
2006-03-15 14:34:25.261 AFD Error: Unknown decoding error
[mpeg2video @ 0xb741b840]get_buffer() failed (stride changed)
2006-03-15 14:34:25.265 AFD Error: Unknown decoding error
[mpeg2video @ 0xb741b840]get_buffer() failed (stride changed)
2006-03-15 14:34:25.269 AFD Error: Unknown decoding error
2006-03-15 14:34:25.571 WriteAudio: buffer underrun
2006-03-15 14:34:25.687 WriteAudio: buffer underrun
2006-03-15 14:34:25.698 Video timing method: SGI OpenGL
2006-03-15 14:34:25.829 GetNextFreeFrame() unable to lock frame 100 times.
Discarding Frames.
(then all the error stuff repeated again, until I kill the frontend)

I'm going to start debugging it, but this isn't really my area of expertise so
I thought I'd ping the list for hints.  Anybody?  

The "insufficient thread locking around avcodec_open/close()" looks like a good
place to start.  I see that a number of commits (r8573, r8622, etc) and bug
1013 (http://cvs.mythtv.org/trac/ticket/1013) seem to try to address this
issue.  Does this seem suspect, or am I about to start barking up the wrong
tree?

Thanks in advance,

--Jack


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the mythtv-dev mailing list