[mythtv] Solving my performance problems...

Steve Brown sbrown at cortland.com
Thu Dec 18 21:54:10 EST 2003


Isaac Richards wrote:

>
>Not really.  With extra audio buffering on, that should prevent it from 
>underrunning the audio buffer, as it tries to keep at least a tenth of a 
>second more audio data than video data..  Could try fiddling with that, make 
>it keep more extra, etc..  Line 979 of avformatdecoder.cpp:
>
>    if (lowbuffers && onlyvideo == 0 && lastapts < lastvpts + 100 &&
>
>The 100 there is in ms, so try increasing it a bit.
>
>Isaac
>_______________________________________________
>  
>
Changed it to 1 sec.

Before change: first underrun occurred after 1.8 sec
After change: first underrun occurred after 4.7 sec

But, badly messes up av sync. Must be something else.

A subtle bottleneck somewhere.

Just to find it.

Steve






More information about the mythtv-dev mailing list