[FFmpeg-devel] [PATCH] avfilter: make it possible to return eof from graph when any sink first receives eof

Paul B Mahol onemda at gmail.com
Wed Feb 17 21:06:50 CET 2016


On 2/17/16, Nicolas George <george at nsup.org> wrote:
> Le nonidi 29 pluviose, an CCXXIV, Paul B Mahol a ecrit :
>> I mean, patch is meant to fix never ending processing when using
>> sources with unlimited duration in complex filter graph.
>>
>> So it should read, breaks processing when first eof happens.
>
> This still gives unpredictable results, I do not consider this acceptable.
> Using the scheduling of frames in the filter is not a correct fix.
>
>> There is open ticket for this bug.
>
> This is not a bug: if there is an infinite source, the stream is infinite,
> that is absolutely normal. You can consider a feature wish, but I do not
> consider it a priority: we have trim and atrim to do the work. If
> specifying
> the exact time is too bothersome, a solution would be to introduce some
> kind
> of synctrim filter that stops all streams when one ends.

Hmm, interesting idea. It should sync by pts?

>
>> I think that is unrelated.
>
> It still means duplicating work.

You want to work on solution like synctrim filter?


More information about the ffmpeg-devel mailing list