[FFmpeg-devel] eval lavfi filter

Víctor Paesa wzrlpy
Wed Feb 25 09:07:57 CET 2009


Hi,

Michael Niedermayer said:
> On Tue, Feb 24, 2009 at 11:56:54PM +0100, Stefano Sabatini wrote:
>> On date Tuesday 2009-02-24 23:26:23 +0100, Michael Niedermayer
>> encoded:
>> > On Tue, Feb 24, 2009 at 10:39:22PM +0100, Stefano Sabatini wrote:
>> > > Hi.
>> > >
>> > > On date Tuesday 2009-01-20 09:37:21 +0100, V?ctor Paesa encoded:
>> > > > There is also a problem for filters that remove frames, as
>> ffmpeg uses/expects the fps of the input video (instead of the
>> filtered one) and generates duplicated frames to reach that.
>> >
>> > ffmpeg should not duplicate frames anymore if the container can
>> handle it
>>
>> Could someone give some more hints about this?
>
> just try the example that caused frame duplication and check the
> resulting file, avi/mov/mp4/nut should have no duplicate frames anymore.
> feedback and bugreports welcome ...
>
>
>>
>> Also I suppose this is not necessarily a lavfi-related issue, right?
>
> no

Right, I was able to trace it (but not able to fix) to ffmpeg.c, it
seems that do_video() is duplicating frames. Maybe adding a new "-vsync 3"
that would not perfom any frame rate duplication?

Regards,
V?ctor






More information about the ffmpeg-devel mailing list