Skip to content

WebCodecs 'opus' encoding implementation #221

@guest271314

Description

@guest271314

WebCodecs https://github.com/WICG/web-codecs/blob/master/explainer.md implements an 'opus' codec encoder https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/modules/webcodecs/audio_encoder.cc;l=8 that uses libopus. opusdec does not decode the resulting data when written to a single file. opusinfo logs holes in the file. I am not certain how to use opusrtp, if applicable.

I am trying to determine

  1. If the 'opus' encoding is valid per the Opus specification;
  2. If 1) is true, the specific type of Opus encoding implemented;
  3. If 1) and 2) are true what specific Opus tools are necesarry to decode the type of Opus encoding to raw PCM or WAV

Code to reroduce the encoded Opus (I copied and opened the Blob URL in a new tab at Chrome to download the file '938f0cef-3b99-4ee8-bb1e-b0619af0fe96', then renamed to 'test1.opus') and the resulting file (which begins with OpusHead).

If this is not the approriate venue for this question kindly refer to where I should post this inquiry.

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