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

Nicolas George george at nsup.org
Wed Feb 17 21:00:06 CET 2016


Le nonidi 29 pluviôse, an CCXXIV, Paul B Mahol a écrit :
> 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.

> I think that is unrelated.

It still means duplicating work.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160217/24784017/attachment.sig>


More information about the ffmpeg-devel mailing list