Code Monkey home page Code Monkey logo

Comments (6)

chris-rudmin avatar chris-rudmin commented on August 22, 2024

Hi Ted,

Unfortunately for me, I don't think there is any work to do. :) Ogg files support chaining, so you can concatenate the files safely. If you experience playback issues, It might be required that you make sure the serial number for each stream is unique (currently from my encoder it is not)

from opus-recorder.

chris-rudmin avatar chris-rudmin commented on August 22, 2024

Reading here, it is possible that some players don't support chained files. If this is the case and you have lots of server cpu cycles and memory, I would suggest you decode and re-encode the opus files to get one large file.

from opus-recorder.

diverted247 avatar diverted247 commented on August 22, 2024

Chris, the decode and encode server side was the item I wanted to avoid if possible. Was hoping this was removing the OGG wrapper, taking OPUS samples, glueing them together, and appending new OGG data. Obviously that would be far faster and a straightforward task with node file streams. One reason we want to use OPUS is quality/compression ratio for spoken audio is so high. Again would be more than happy to fund this work open source if you were up to it. Thanks for the context and details.

from opus-recorder.

chris-rudmin avatar chris-rudmin commented on August 22, 2024

@diverted247 Unfortunately you cannot glue the opus packets together as the decoder is stateful and depends on the output of the previous packets to decode properly. Concatenating the ogg files would be your best option. Let me know if that suits your purpose.

from opus-recorder.

chris-rudmin avatar chris-rudmin commented on August 22, 2024

@diverted247 I've just made some tweaks to support chaining ogg files in v0.4.3

from opus-recorder.

diverted247 avatar diverted247 commented on August 22, 2024

Thanks Chris.

from opus-recorder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.