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

Nicolas George george at nsup.org
Tue Dec 14 15:03:43 EET 2021


James Almer (12021-12-13):
> Can't user defined names let you do that without the need to reuse the same
> AVChannel value in a given layout? And for that matter, can you not set said
> names within the filter itself and not in the layout?

I do not see how they could. But as always, "I do not see how" is not an
argument, it only points to my limitations. So if you do know, please
let me know.

But I suspect we are talking at cross-purposes here. You say “the
filter”, singular, but the issue is not an isolated filter, the issue is
about several components working together in harmony. For example a
demuxer that knows about exotic layouts and labels such, but later a
filter that does not and only knows about standard channel identifiers.

> Mapping a channel (each of the data pointers in a frame) to an specific
> output, like a speaker.

I think this definition is too narrow. Currently, channel layouts are
also used to compute matrix coefficients for remixing, for example.

But even if we adopt this definition, mapping (oboe left, oboe right,
piano left, piano right) onto stereo is perfectly in scope.

Regards,

-- 
  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/3a229bb3/attachment.sig>


More information about the ffmpeg-devel mailing list