Dan,
I retested a few different HD files with this diff applied, and the
performance was much better.  I was able to seek all over the place, pause
and play the video, and I never got any bad stuttering or freezing.

Thanks!
-Jonathan

On Mon, May 9, 2011 at 2:58 AM, Dan Dennedy <[email protected]> wrote:

> On Sun, May 8, 2011 at 11:47 PM, Dan Dennedy <[email protected]> wrote:
> > On Sun, May 8, 2011 at 11:09 PM, Jonathan Thomas
> > <[email protected]> wrote:
> >> Thanks for looking into this!  I tested the newest GIT code, and did not
> see
> >> a big difference.  I'll continue to test this some more, and try and
> >> determine what is going on.  When seeking around a bit, it still seems
> to
> >> get stuck and starts moving 1 frame every few seconds.  I'll test some
> more
> >> tomorrow.
> >> Thanks!
> >> -Jonathan
> >
> > I think I see it for a few seconds after I press play. Then, after
> > those few seconds it plays normal. Is that what you see?
> > I did an export to xml, play it with melt, and use the 5 & 6 keys to
> > pause and play, but it does not happen.
>
> Does this change fix it for you?
>
> diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c
> index 8538e56..39ac9f4 100644
> --- a/src/framework/mlt_consumer.c
> +++ b/src/framework/mlt_consumer.c
> @@ -730,7 +730,7 @@ static void *consumer_read_ahead_thread( void *arg )
>                        skip_next = 0;
>
>                        // If we've reached an unacceptable level, reset
> everything
> -                       if ( skipped > fps * 2 )
> +                       if ( skipped > 5 )
>                        {
>                                skipped = 0;
>                                time_frame = 0;
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to