-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force channel decoupling #3
Comments
Maybe a I would expect a |
Well, we can choose Hmm, should I call Calling that with Sorry, I am not familiar with Opus codebase, so maybe my questions are a bit stupid =) |
You're right. I was thinking What I was trying to get out is that there's a semantic difference between opusenc actually writing |
According to https://wiki.xiph.org/OggOpus, there is no reason to set header's channel mapping to 2, as
Well, we can set it to 2, but who knows how it will be used in future. |
Sorry, I meant |
Sorry, I did not forgot about this, just didnt have enough time :( |
Sorry to resurrect an old issue, but the proposed flag would be perfect for my use case of encoding multiple independent channels from a DAW for playback in a custom player. I exported the multichannel mix as WAV but opusenc offers no control over the channel mapping via command line switches. I see the codec is designed to handle my scenario but the tools are not. I'm frankly getting tired of audio tools presuming surround configurations based solely on the channel counts. Just because I'm exporting an 8 channel WAV does not mean it's a 7.1 surround mix. Sure it can be default as that's low friction for most users but at least allow for customization and control. I plan to make a PR of my own to address the issue but it will take some time. |
Sorry for not doing this myself :(
|
@Worldexe I've just completed something similar albeit more flexible on my fork.
However, the encoder still remaps channels according to vorbis channel ordering which is not what I want. I want the input channels to be mapped 1:1 to the output channels. I'm currently looking for a way to completely disable the vorbis channel remapping but I don't see any obvious avenue to do so in the code here. It'd be great if I could specify my own output channel mapping to vorbis so that the coupled channels found in the original input audio file are kept in their original places in the output file with the added benefit of being coupled together for stereo processing. |
Nevermind what I wrote last. I'm using Reaper as my DAW and it is decoding as surround and remapping the channels on decode. |
Got a working PR to resolve this: #19 Tested it out locally on my 8-channel non-surround mix and it works! |
After 6 years.. sorry. |
This #80 should also fix this issue |
I am using telephony system that can record calls into 8kHz stereo WAV files; it uses left channel for one participant and right channel for another.
To be able to process files later, I need strong channel separation (I mean, they should be encoded naturally as separate channels).
Opus seems to be perfect for my application; but still, there is no channel-independent encoding option in
opusenc
tool.I am quite new in audio and stuff; but have I checked Opus RFC and Opus codebase - it seems it actually supports channel separation via 'coupling' concept.
I think, it would be enough to add some option to set
header.channel_mapping=255
around line 695 inopusenc.c
.I checked if that would work - it worked like intended.
I can make pull-request here, if you think its acceptable to add option like 'no-coupling' that will explicitly set
header.channel_mapping=255
somewhere after that line.The text was updated successfully, but these errors were encountered: