[opus] repacketizing unrelated frames

Jean-Marc Valin jmvalin at jmvalin.ca
Fri Jul 26 18:10:12 PDT 2013


Hi Marc,

I recommend you have a look at the multistream API and how we use it for
surround in the Ogg Opus draft. Sounds like the best way to solve your
problem.

Cheers,

	Jean-Marc

On 07/26/2013 06:57 PM, Marc Lindahl wrote:
> I can't quite figure this out from looking at the repacketizer code.
> 
> Let's say I have 4 separate stereo streams (say from an 8 channel
> converter)  and want to transmit them somewhere in one stream e.g.
> RTP or the like.  (assuming, custom format if necessary)
> 
> So could I merge 4 packets with the repacketizer, TX the merged
> packets, on the other side RX them then split them with the
> repacketizer, and feed each of the 4 to a separate decoder to recover
> the audio?
> 
> Or when you merge do the 'states' get blended somehow on the
> assumption the audio is all the stream, monotonically increasing
> time-wise?
> 
> Thanks!
> 
> Marc _______________________________________________ opus mailing
> list opus at xiph.org http://lists.xiph.org/mailman/listinfo/opus
> 



More information about the opus mailing list