[opus] Antw: [EXT] Opus merging streams
andrew at safehear.fr
Thu Mar 24 14:54:51 UTC 2022
Thanks for the quick reply.
Then it’s not possible to mix those packets before decoding them ?
Because summing after Opus would mean 3-4 decode every 40ms (frame size)
and 3-4 queue of 1280o msg…
*De :* opus <opus-bounces at xiph.org> *De la part de* Marc Lavallée
*Envoyé :* jeudi 24 mars 2022 15:23
*À :* opus at xiph.org
*Objet :* Re: [opus] Antw: [EXT] Opus merging streams
I think you'd have to decode each packet independently, then sum the
results, making sure that packets (from different sources) all have the
same number of samples.
Le 2022-03-24 à 10 h 14, Andrew Sonzogni a écrit :
Yes, I mean mix multiple streams.
De : Ulrich Windl <Ulrich.Windl at rz.uni-regensburg.de>
<Ulrich.Windl at rz.uni-regensburg.de>
Envoyé : jeudi 24 mars 2022 15:00
À : andrew at safehear.fr; opus at xiph.org
Objet : Antw: [EXT] [opus] Opus merging streams
Andrew Sonzogni <andrew at safehear.fr> <andrew at safehear.fr> schrieb am
24.03.2022 um 14:46
Nachricht <592e07eaa0e866e10543cf887948874d at mail.gmail.com>
<592e07eaa0e866e10543cf887948874d at mail.gmail.com>:
I have a question. I'm trying to use Opus on an embedded device which
communicate with several other devices with the same software.
I wanted to know if it's possible to merge Opus packets from different
sources and then decode this merged packet through a normal opus_decode.
"merge" means "concatenate"? Or "mix"?
I receive in real time 3 different streams of 40ms opus packets. As it
would be consuming too much CPU if I decode each packets and then sum
them together, I would like to decode them together.
"sum" sounds like "mix", right?
opus mailing list
opus at xiph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opus