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

Nicolas George george at nsup.org
Tue Dec 14 15:09:01 EET 2021


Anton Khirnov (12021-12-14):
> I don't see a big problem in adding stream (i.e. link-)-level side data
> to avfilter.

It is not a problem. In fact, if we were to stay with “uint64_t
channel_layout”, that is probably what we would do. But we are
discussing a new API that could be very much exactly what we need here.

Again: if it does not help in these kind of cases, what is the point of
the proposed API?

Let us either keep “uint64_t channel_layout” or move to something really
significantly more powerful. But as it is, it is a waste of effort.

>		We already do this for hwcontexts (which btw need to be
> better integrated into format negotiation).

Interesting remark. I do not know hwcontexts in lavfi enough. Please
elaborate if you can.

But anyway, we are not currently discussing a rework of the whole
hwcontext API. And if we were, and somebody suggested we leave two
thirds of the uses cases for something else in side data, I would object
to.

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211214/30c53959/attachment.sig>


More information about the ffmpeg-devel mailing list