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!
> >
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
