<div dir="auto">Thanks a lot for quick response Nicolas!<div dir="auto">Yes, I remember our earlier conversation on thread "FFmpeg channel layouts".</div><div dir="auto"><br></div><div dir="auto">Today, actually after a gap I was resuming on mapping the decoded data as per metadata info (as per the codec standard) and FFmpeg provided channel layout. </div><div dir="auto">In my case, I know the exact input codec standard so I was thinking to map standard defined channel order with FFmpeg provided one with a sort of custom implementation as we had concluded last.</div><div dir="auto"><br></div><div dir="auto">However, just then I came across AV_CH_LAYOUT_NATIVE option which seems to do something as well with a couple of 6ch AAC streams I tried with. I could see the channel ordering being changed in Audacity by looking at the waveform of decoded PCM. Hence today's questions.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Being more involved in video, I do not have much idea in audio encoding. So my sincere apologies for repeating our last conversation in this thread a bit. </div><div dir="auto">When you say that "<span style="font-size:12.8px">When the audio is compressed, there is no order of channels, the </span><span style="font-size:12.8px">channels are encoded together to use the fact that they contain usually </span><span style="font-size:12.8px">a lot of similarity.". My question is what are the standard defined channel order then? Example: </span><span style="font-size:12.8px">As per ATSC A/52:2012, </span><b style="font-size:12.8px">coded channel layout</b><span style="font-size:12.8px"> in a 5.1 E-AC3 stream is [L, C, R, Ls, Rs, LFE] ?</span></div><div dir="auto"><span style="font-size:12.8px"> </span></div><div dir="auto"><span style="font-size:12.8px"><br></span></div></div>