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