Skip to content

Option for opusenc to omit DTX/silence frames from output completely and provide options for controlling aggressivity of silence detection #89

Open
@vadimkantorov

Description

@vadimkantorov

Hi @mark4o!

In https://stackoverflow.com/a/40699361/445810 you suggest to benefit from DTX-enabled smaller output size by omitting 2-byte-or-less packets from opusenc output as they encode exact silence.

I propose to graduate this feature from https://github.com/xiph/opus/blob/master/src/opus_demo.c to mainline opusenc. It's very useful to encode two-channel call recordings + in --channels discrete mode, where every channel contains a lot of silence. It would also be nice to be able to configure the silence detection and pass a speech-detection / silence threshold. It's nice to have an option to omit representing the sound of breath/sighs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions