On Sat, Mar 31, 2012 at 07:55:00PM +0200, Nicolas George wrote:
Le duodi 12 germinal, an CCXX, Matthieu Bouron a écrit :
This filter intends to be a simpler alternative to amerge+pan for basic usage in a user's point of view.
Others might disagree, but I believe the maintenance burden of feature duplication far outweighs the benefits for the user.
A good example would be adding a background music to a video.
Assuming the input is stereo, you can do that with "[a] [b] amerge, pan=stereo:c0<c0+c2:c1<c1+c3". That's not very hard, and a copy-pastable example in the docs does not suffer from maintenance problems.
Adding the levels, it begins to look a bit insane IMO. Maybe the "mix" filter could be added in the "pan" one, so it could use the internals? (A pan cmd line could be generated in the mix init func and use amerge callbacks) -- Clément B.