[FFmpeg-devel] [PATCH 000/279] New channel layout API

Anton Khirnov anton at khirnov.net
Thu Dec 9 15:47:47 EET 2021


Quoting Nicolas George (2021-12-09 11:31:54)
> Anton Khirnov (12021-12-09):
> > I disagree. Technical limitations that were overcome 10 years ago should
> > not guide new API design.
> 
> In the case of amerge, it was not a technical limitation, merging
> several streams into one so that they can be handled by single-stream
> filters is 100% part of the design.

I fail to see how that is an advantage. You can just as well create
multiple instances of those single-stream filters instead of adding
hacks into core APIs.

> I suspect devices that capture several independent channels are
> designed that way intentionally too, possibly to reduce the risk of
> desynchronization.

"possibly" is not a strong enough argument. I'd like to hear at least
one clearly-defined use case that cannot just as well be handled by
using multiple streams.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list