question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Opus decoding support

See original GitHub issue

Chunk-based Opus file decoding should be supported. Emscripten can be used to build WebAssembly modules for decoding the data. The opusfile decoder library could be used if it supports chunk-based byte array decoding. Initial research shows that a complete file may be needed for OggOpusFile objects. Otherwise, libogg may be needed to interface directly to parse/assemble the chunks into decodable packets.

The preference is to use WebAssembly for all decoding functions and limit use of JS to parse Ogg file structure. mohayonao/libogg.js could be used if JS is needed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
AnthumChriscommented, Oct 17, 2018

@haywirez @lavvy OpusStreamDecoder is now ready and available as a standalone module below. I’ll integrate into this demo repo as a submodule when I have time.

https://github.com/anthumchris/opus-stream-decoder

If you could, please test the build and file any issues you notice in opus-stream-decoder

1reaction
lavvycommented, Sep 28, 2018

Am interested too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloads – Opus Codec
The opusfile library provides seeking, decode, and playback of Opus streams in the Ogg container (.opus files) including over http(s) on posix and...
Read more >
opus-decoder - npm
opus -decoder is a Web Assembly Opus audio decoder. 83.1 KiB minified bundle size; Browser and NodeJS support; Built in Web Worker support;...
Read more >
OpusFAQ - XiphWiki
If you want to encode many files at once (e.g. your music library), try the applications listed in the Opus Support page. For...
Read more >
Add support for decoding new audio format: Opus - VideoLAN
New audio format: Opus Interactive Audio Codec Example: http://people.xiph.org/~giles/2012/opus/ehren-paper_lights-64.opus Website: ...
Read more >
Decoding Opus audio data - c++ - Stack Overflow
You need to read the length/final_enc_range of the next block and the data for that block ( len bytes), which you can feed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found