[FFmpeg-user] astreamsync freezes?

Roger Pack rogerdpack2 at gmail.com
Wed Sep 5 00:49:55 CEST 2012


>> If that makes any sense at all.
>
> It does indeed make sense. This is not the preferred design at this time,
> though: currently, filters with several inputs are expected to work by
> themselves to ensure proper sync. Actually, "preferred" is a bit of a
> stretch, there are currently only three filters with that kind of features:
> overlay, amerge (work like that) and alphamerge (requires frame-exactness,
> fix in TODO list).
>
> Of course, it can be discussed, but I am affraid that an API to do that kind
> of thing automatically with additional filters would be very hard to design,
> especially if it must be nimble enough to allow various combinations.

Yeah.  I was kind of hoping the astreamsync filter would be enough for
this particular case, when combined with asetnsamples.  Except the
latter is buggy so it definitely isn't enough today :)

> I believe that having queues inside the private context of the filters and a
> set of well-thought helper functions to handle the various cases is a
> simpler and more robust approach.

Yeah that would help.
I suppose I'll work around it for now.
Thanks!
-r


More information about the ffmpeg-user mailing list