<div dir="ltr">Hi,<br>I came across request_channel_layout in AVCodecContext. Looks like we can force the FFmpeg decoder to output the channel data in the way it's coded in the original compressed stream. <br>However, it looks like this option is valid only for DolbyE and AAC. Although, better than nothing, I just wanted to cross check whether it is safe to use since I see the corresponding code enclosed with "#if FF_API_OLD_CHANNEL_LAYOUT".<div>  <br>My requirement is to get decoded data in the coded channel order for ac3, eac3 codecs as well. Please let me know if there is a way to do the same.<br><br>Thanks,<br>Rohit Khali<br></div></div>