[mythtv] Solving my performance problems...

Kenneth Aafløy ke-aa at frisurf.no
Fri Dec 19 04:28:47 EST 2003


Steve Brown wrote:
> 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.

You might be experiencing the same problem as I did, try the pts fix
patch.

Kenneth



More information about the mythtv-dev mailing list