[mythtv] Jitter with time stretch

David Engel david at istwok.net
Mon Jul 16 18:52:40 UTC 2018

On Mon, Jul 16, 2018 at 11:59:46AM -0400, Peter Bennett wrote:
> On 07/16/2018 11:37 AM, David Engel wrote:
> > > I already have a flag stored in the decoder and accessed from mythplayer
> > > using "decoder->GetfpsMultiplier()" It takes values 1 or 2, 1=normal,
> > > 2=doubled frames as with mediacodec.
> > Excellent!
> > 
> > > I am currently using fpsMultiplier only in AVSync where frame_delay is
> > > calculated from frame_interval. I need to take that out and change the
> > > calculation of frame_interval itself to use fpsMultiplier instead.
> > So are you going to make the avsync_predictor_enabled change then or
> > do you want me to do it?  I have time for it today.
> I have created a new patch that changes frame_interval calculation, and
> attached it to the ticket. I also set the buffers to 8 instead of 4. With 4
> buffers there still was a slight jiggle in the 2x speedup playback, that is
> gone with 8 buffers. See what you think.

Initial testing with recordings looks good.  Live TV results in a
crash, though.  Let me know if you can't reproduce it and I'll send
you a backtrace.

David Engel
david at istwok.net

More information about the mythtv-dev mailing list