<html><head>


<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div>The Opus codec relies on external framing to determine packet lengths. There's no such thing as encoded opus data stored without a container.</div><div><br></div><div>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.</div><div><br></div><div>  <a href="https://gitlab.xiph.org/xiph/opus-tools/-/blob/4e411db8/src/opusrtp.c#L755-826">https://gitlab.xiph.org/xiph/opus-tools/-/blob/4e411db8/src/opusrtp.c#L755-826</a></div><div><br></div><div>Hope that's some help. Thank you for your interest in Opus.</div><div><br></div><div>Sincerely,</div><div>Ralph</div><div><br></div><div>On Thu, 2021-07-01 at 07:10 +0000, Lokesha S wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div class="WordSection1"><p class="MsoNormal">Hi Team,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">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.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">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?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">On your official website, I was some example audio files but they are all with containers. I need just an encoded data without containers.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks in Advance<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">-Lokesh<o:p></o:p></p></div><p><font face="Helv,Arial" size="1"></font></p><div><font face="Helv,Arial" size="1"><hr>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.</font></div><p></p><div>_______________________________________________<br></div><div>opus mailing list<br></div><div><a href="mailto:opus@xiph.org">opus@xiph.org</a><br></div><div><a href="http://lists.xiph.org/mailman/listinfo/opus">http://lists.xiph.org/mailman/listinfo/opus</a><br></div></blockquote><div><br></div><div><span></span></div></body></html>