[mythtv-commits] Re: Ticket #551: blocking in ThreadedFileWriter

MythTV mythtv at cvs.mythtv.org
Tue Nov 8 20:22:21 EST 2005


#551: blocking in ThreadedFileWriter
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  danielk 
     Type:  defect     |       Status:  assigned
 Priority:  critical   |    Milestone:  0.19    
Component:  mythtv     |      Version:  head    
 Severity:  medium     |   Resolution:          
-----------------------+----------------------------------------------------
Changes (by danielk):

  * priority:  major => critical

Comment:

 I believe most of the glitches I'm seeing have nothing to do with the
 recording.

 I am getting glitches due to the position map DB save, but these happen
 much less frequently; except in the first few seconds of the recording.
 Most of the glitches
 I'm getting are on playback, and these are due to avformatdecoder not
 keeping the
 buffers full.

 Here is a typical buffer line with NTSC: UUUUAUUUUUUUUUUUUUUUUUUUUUUUUUL
 And with ATSC 1920x1080:                 AAAAAAAAAAAAAAAUAALAAAULAAAAAAA
 As you can see most of the buffers are "U"navailable in the NTSC case, and
 "A"vailable in the ATSC case. We want most of the buffers to be full and
 hence "U"navailable during normal playback. I'm also noticing that the
 frontend is now consuming 80-95% of my CPU, where before it was in the
 70's.

 I'm doing some player benchmarking now to see where all the CPU is going.
 This still happens with libmpeg2, so ffmpeg is not the prime suspect.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/551>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list