[Libav-user] AV_CH_LAYOUT_NATIVE usage

rohit khali khali.rohit at gmail.com
Fri Oct 28 10:31:08 EEST 2022


Got what you are referring to here ( https://ffmpeg.org/documentation.html).
I referred to an older branch's documentation.
However, it looks like even till
https://ffmpeg.org/doxygen/5.0/structAVCodecContext.html it was the same.
>From 5.1 (https://ffmpeg.org/doxygen/5.1/structAVCodecContext.html) onwards
there seems to be some change in the AVCodecContext data structure.
AVChannelLayout Struct is introduced as (
https://ffmpeg.org/doxygen/5.1/structAVChannelLayout.html) but looks like
there is still an option to mask the order.
union {
   uint64_t   mask
<https://ffmpeg.org/doxygen/5.1/structAVChannelLayout.html#a78b6087054bf8c308355384d050b5d51>
  This member must be used for AV_CHANNEL_ORDER_NATIVEAnyways, It's not
going to solve my problem. So I will go with my simple mapping instead of
keeping doubt in mind.
Thanks again Nicolas!


>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20221028/6ceea69a/attachment.htm>


More information about the Libav-user mailing list