Skip to content

Force channel decoupling #3

@Worldexe

Description

@Worldexe

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 in opusenc.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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions