I noticed this recently as well. The FFmpeg API has changed a lot recently
marking a bunch more things that MLT uses as deprecated. So, perhaps MLT
avformat needs a thorough review, rework, and retesting to deal with those
changes. Let me stress that rework implies a thorough testing against a
large number of samples. I have not done much testing with FFmpeg >v2.7,
but perhaps consider to not use FFmpeg master with MLT at this time.

On Thu, Nov 19, 2015 at 7:03 AM Maksym Veremeyenko <ve...@m1stereo.tv>
wrote:

> On 18.11.2015 21:32, Maksym Veremeyenko wrote:
> > Hi,
> >
> > i just noticed that MXF files stop playing in the loop.
> >
> > after some research i found that /it become/ non-seekable at line
> >
> https://github.com/mltframework/mlt/blob/master/src/modules/avformat/producer_avformat.c#L600
> >
> > i uploaded some reference files i have:
> > http://downloads.m1stereo.tv/b7e45b6c33493f8f607803257426cbc5/
> >
> > i suspect that it could happens after ffmpeg's commits
> >
> > [...]
> > commit 95584ddac477fa09d055c5ed56b99f94e0eff89f
> > Author: Marton Balint <c...@passwd.hu>
> > Date:   Sun Aug 9 20:32:02 2015 +0200
> >
> >       mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag
> >
> >       Since 53f2ef2c4afb1d49a679dea9163cb0e4671f3117 seeking is done
> > using PTS.
> >
> >       Signed-off-by: Marton Balint <c...@passwd.hu>
> > [...]
> > commit 53f2ef2c4afb1d49a679dea9163cb0e4671f3117
> > Author: Marton Balint <c...@passwd.hu>
> > Date:   Sat Jul 11 18:10:12 2015 +0200
> >
> >       mxfdec: calculate the index in display order
> >
> >       This should fix seeking for open GOP files as well.
> >
> >       Reviewed-by: Tomas Härdin <tomas.har...@codemill.se>
> >       Signed-off-by: Marton Balint <c...@passwd.hu>
> > [...]
> >
> >
>
> adding AVSEEK_FLAG_ANY to *av_seek_frame* calls in *producer_avformat.c*
> solves seeking but audio become out of sync.
>
>
> --
> Maksym Veremeyenko
>
------------------------------------------------------------------------------
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to