On Sun, Feb 17, 2013 at 10:09 PM, Dan Dennedy <d...@dennedy.org> wrote: > On Sun, Feb 17, 2013 at 11:41 AM, j-b-m <j-...@users.sourceforge.net> wrote: >> Hello. >> >> Following Kdenlive bug report 2963, I realized that the "force_fps" property >> of the avformat producer triggers an assert in FFmpeg when used on avi files.
This is fixed. I resolved the kdenlive bug, but I am not sure what to set the "Fixed in Version" to when it is a MLT fix. >> Problem can be reproducer easily: >> >> melt test.avi force_fps=40 >> >> exits with following info: >> >> Assertion (int64_t)st2->time_base.num*ast2->rate == (int64_t)st2- >>>time_base.den*ast2->scale failed at libavformat/avidec.c:1514 >> >> >> Any idea how to fix this? > > Looks like the AVI demuxer does not like anyone tampering with the > AVStream.time_base, but force_fps is doing exactly that, which is > really against the rules. I will have to take a crack at making a > local copy of the video stream's time_base, adjusting that on > force_fps, and referencing the local copy in the seek-and-sync code. > However, I am not entirely sure it will give the same results; we > shall see. > > -- > +-DRD-+ -- +-DRD-+ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel