<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic USC Speech Codec in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/932998#M16896</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm currently trying to decode some G.711 u-law 8-bit audio using the USC G729 codec. The ultimate goal is to package the encoded bit stream into a payload format that can be transmitted over RTP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To test the functionality of the USC I'm using the example code from the USC API. The result of the encode gives 80-bits (10bytes) bitstream.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I then pass the output buffer to the decode function. When I try to play out the encoded/decoded data over RTP, the payload is not correct. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I have a few questions....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. What format is the decompressed data in? 16-bits representing a byte?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. What would have to be done to the bitstream, in order for it to be a valid G.729 RTP packet payload?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Paul Chapman&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Junior Software Engineer&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 23 Apr 2006 21:06:27 GMT</pubDate>
    <dc:creator>pchapman</dc:creator>
    <dc:date>2006-04-23T21:06:27Z</dc:date>
    <item>
      <title>USC Speech Codec</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/932998#M16896</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm currently trying to decode some G.711 u-law 8-bit audio using the USC G729 codec. The ultimate goal is to package the encoded bit stream into a payload format that can be transmitted over RTP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To test the functionality of the USC I'm using the example code from the USC API. The result of the encode gives 80-bits (10bytes) bitstream.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I then pass the output buffer to the decode function. When I try to play out the encoded/decoded data over RTP, the payload is not correct. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I have a few questions....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. What format is the decompressed data in? 16-bits representing a byte?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. What would have to be done to the bitstream, in order for it to be a valid G.729 RTP packet payload?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Paul Chapman&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Junior Software Engineer&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Apr 2006 21:06:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/932998#M16896</guid>
      <dc:creator>pchapman</dc:creator>
      <dc:date>2006-04-23T21:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: USC Speech Codec</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/932999#M16897</link>
      <description>&lt;DIV&gt;Hi, &lt;SPAN&gt;Paul.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;USC G729 codec doesn't support 8 bit u-law input. For such kind of bitstream please use USC G711 codec.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;As for USC G729 codec:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;gt;1. What format is the decompressed data in? 16-bits representing a byte?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;16 bits signed word (two bytes).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;gt;2. What would have to be done to the bitstream, in order for it to be a valid G.729 RTP packet payload?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Nothing special. USC G729 codec operates with 10ms frame. G729 RTP profile needs 20 ms data. So in case of VAD turned off you need to concatenate two frames.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Igor S. Belyakov&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Apr 2006 18:10:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/932999#M16897</guid>
      <dc:creator>Igor_B_Intel1</dc:creator>
      <dc:date>2006-04-24T18:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: USC Speech Codec</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/933000#M16898</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thank you for your reply. This will explain the problems I have been having. What input is valid for the G.729 codec? Could I call &lt;FONT size="2" color="#008000"&gt;&lt;FONT face="Courier New" color="#330000"&gt;ippsMuLawToLin_8u16s&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color="#330000"&gt;()&lt;FONT face="Arial"&gt;to change the input from u-law to liniar input?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul Chapman&lt;/P&gt;&lt;P&gt;Message Edited by pchapman@telesoft-technologies.com on &lt;SPAN class="date_text"&gt;04-25-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;12:31 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2006 14:24:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/933000#M16898</guid>
      <dc:creator>pchapman</dc:creator>
      <dc:date>2006-04-25T14:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: USC Speech Codec</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/933001#M16899</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Yes, of course you can use &lt;FONT color="#330000"&gt;&lt;FONT face="Courier New" size="2"&gt;ippsMuLawToLin_8u16s&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;()function &lt;FONT face="Arial"&gt;toconvert from u-law to liniar PCM.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#330000"&gt;On the other hand USC G711 codec can do this convertion and additionally it has got VAD and PLC modes.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#330000"&gt;Igor S. Belyakov&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2006 12:46:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/USC-Speech-Codec/m-p/933001#M16899</guid>
      <dc:creator>Igor_B_Intel1</dc:creator>
      <dc:date>2006-05-10T12:46:12Z</dc:date>
    </item>
  </channel>
</rss>

