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
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 >
Hi Jean-Marc, I looked at that but importantly these streams need to remain absolutely independent, Further they may have been encoded at some previous time. So my question stands. Thanks, Marc On Jul 26, 2013, at 9:10 PMEDT, Jean-Marc Valin wrote:> 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 >> >