[opus] Compress interleaved multi-channels pcm/wav with opus

Emily Bowman silverbacknet at gmail.com
Thu Apr 25 08:34:02 UTC 2019


I'm not sure if you've had a reply yet, but have you seen
https://mf4.xiph.org/jenkins/view/opus/job/opus/ws/doc/html/group__opus__multistream.html#details
? That gives the basic details of multistream and links to the important
references. For pure six mics, likely isolated, it sounds like coupling
would probably be counterproductive, and each stream might be best as
monaural, so seven separate streams interleaved.

The main reasoning for multi-stream over multi-channel is flexibility.
There's no inherent notion of coupling or grouping of streams the way there
is channels; many separate simultaneous recordings can be multiplexed
together in one stream and separated to different receivers at the end. If
you don't need any of that functionality, you can just treat streams as
channels, and there won't be any delay or bitrate penalty.

On Mon, Apr 22, 2019 at 5:07 AM zhuangweiji <zhuangweiji at foxmail.com> wrote:

> Hello everyone,
>
> I tried to compress audio with opus-1.3.1/src/opus_demo.c recently, which
> works fine on mono and stereo data .
> Now I want to compress interleaved 7 channels pcm/wav ( recorded by
> Microphone array :6mic+ 1reference signal ) with opus, But I have not found
> an interface that compress multi-channels pcm/wav.
>
> 1、Is there a multi-channel compression interface can be used in my case?
> If so, where is it, and how can I call it? is there a demo?
> If it doesn't exist, how can I modify it to make it support interleaved
> multi-channel data?
>
> 2、In addition, I saw that there is a multi-stream interface. It seems to
> be not a multi-channel. What is the difference between multi-stream and
> multi-channel?
>
>
> Thanks in advance.
>
>
> Weiji Zhuang
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20190425/d9307195/attachment.html>


More information about the opus mailing list