Comments (6)
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.
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.
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.
@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.
@diverted247 I've just made some tweaks to support chaining ogg files in v0.4.3
from opus-recorder.
Thanks Chris.
from opus-recorder.
Related Issues (20)
- How to use with Vite? HOT 6
- The first recording is not saved in Safari on IOS 15.1 HOT 1
- Robotic, torn audio on IOS 15.1 HOT 3
- Issue while using decoder with React application HOT 11
- Recorder output file size too small - Vue.js HOT 4
- building and running on windows 10 HOT 4
- Error running waveRecorder.html example HOT 3
- using waveform-playlist with opus-recorder HOT 1
- Uncaught TypeError: Cannot read properties of undefined (reading 'length')
- Not working with Vite + Vue 3
- wasm streaming compile failed: TypeError: Could not download wasm module falling back to ArrayBuffer instantiation how can i resolve this issue ? HOT 3
- Convert 16 bit signed int to 32 bit float HOT 8
- Audio distorted after 30 seconds HOT 6
- few seconds of recording are missing at the beginning (especially on IOS) HOT 1
- Play pages real-time HOT 2
- ondataavailable not fired with waveWorker
- TypeScript definitions HOT 1
- Opus Player
- Is it possible to Decode two audio sources HOT 4
- Error webassembly.compile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opus-recorder.