Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Correct Channel Ordering for Raw PCM (Read 1504 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Correct Channel Ordering for Raw PCM

I am having trouble determining what the correct channel ordering is for opusenc to encode raw PCM.  I'm interested in 5.1, 6.1 and 7.1.

EDIT:  I found this in some of my old work for Microsoft WAV.  Is this correct for inputting raw PCM into opusenc?

Code: [Select]
// Microsoft Wave
array<string, max_channel_count> wav_mappings =
{{
"C",
"L, R",
"L, R, C",
"FL, FR, BL, BR",
"FL, FR, FC, SL, SR",
"FL, FR, FC, LFE, SL, SR",
"FL, FR, FC, LFE, BC, SL, SR",
"FL, FR, FC, LFE, SL, SR, BL, BR"
}};

Re: Correct Channel Ordering for Raw PCM

Reply #1
Normally it goes ...Back then Side.  Unless you mean S to be surround then okay.

(Mono I'd send to L and R if possible.)


 
SimplePortal 1.0.0 RC1 © 2008-2021