[opus] OPUS encoded file required

Ralph Giles giles at thaumas.net
Sat Jul 17 23:37:24 UTC 2021


The Opus codec relies on external framing to determine packet lengths.
There's no such thing as encoded opus data stored without a container.

If you're familiar with RTP, this example code may be helpful. It
extracts the sequence of delimited packets from a `.opus` file format
and sends them over rtp.

  https://gitlab.xiph.org/xiph/opus-tools/-/blob/4e411db8/src/opusrtp.c#L755-826

Hope that's some help. Thank you for your interest in Opus.

Sincerely,
Ralph

On Thu, 2021-07-01 at 07:10 +0000, Lokesha S wrote:
> Hi Team,
>  
> We here at Mitel started using OPUS codec for our products. We also
> do some call recording and load testing on particular codecs like
> OPUS, PCMU, iLBC etc. our RTP engine requires already encoded codec
> file to function. I am facing difficulty in creating or getting OPUS
> encoded audio data.
>  
> All I need is some RAW audio data to be encoded by OPUS with rate 48k
> and 2 channels. Can you help me provide this file?
>  
> On your official website, I was some example audio files but they are
> all with containers. I need just an encoded data without containers.
>  
> Thanks in Advance
>  
> -Lokesh
> 
> NOTE: This e-mail (including any attachments) is for the sole use of
> the intended recipient(s) and may contain information that is
> confidential and/or protected by legal privilege. Any unauthorized
> review, use, copy, disclosure or distribution of this e-mail is
> strictly prohibited. If you are not the intended recipient, please
> notify Mitel immediately and destroy all copies of this e-mail. Mitel
> does not accept any liability for breach of security, error or virus
> that may result from the transmission of this message.
> _______________________________________________
> 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/20210717/f60525c9/attachment.htm>


More information about the opus mailing list