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.
>
> 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-+

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to