Add Opus decoding support
See original GitHub issueChunk-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:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
Am interested too