<?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 i.mx6dl h263 encoding and RTP packet in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6dl-h263-encoding-and-RTP-packet/m-p/328215#M44181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I met packet fragmentation error when our RTP generator creates RTP packet from encoded h263 data.&lt;/P&gt;&lt;P&gt;Our product uses h263 codec to send and receive video data to and from network.&lt;/P&gt;&lt;P&gt;Prior to send video data, our RTP generator creates RTP packet from encoded h263 data.&lt;/P&gt;&lt;P&gt;If GOB size of encoded h263 data is larger than 1454 bytes, RTP generator fragments encoded h263 data at MB boundaries.&lt;/P&gt;&lt;P&gt;* MB (MacroBlock)&lt;/P&gt;&lt;P&gt;* 1454 bytes is the maximum RTP payload size.&lt;/P&gt;&lt;P&gt;During this fragmentation, error was happened.&lt;/P&gt;&lt;P&gt;It's not happen for every packet. It's happened only for some packets larger than MTU.&lt;/P&gt;&lt;P&gt;The main error reason is two. They are "not found CBPY", " Not found TCOEF"&lt;/P&gt;&lt;P&gt;* CBPY(Coded Block Pattern for Luminance",&amp;nbsp;&amp;nbsp; TCOEF(Transform Coefficient".&lt;/P&gt;&lt;P&gt;Our RTP generator is verified with other CPU like galaxy, G series and TCC.&lt;/P&gt;&lt;P&gt;But, the operation with Freescale CPU is the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i tested with original VPU library, almost packets were dropped during fragmentation.&lt;/P&gt;&lt;P&gt;Its GOB size of dropped encoded data was larger than 1454 bytes.&lt;/P&gt;&lt;P&gt;So, i checked the VPU API document. I noticed sliceMode.&lt;/P&gt;&lt;P&gt;The sliceMode of original VPU library was disabled&lt;/P&gt;&lt;P&gt;So, i enabled sliceMode with below value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sliceMode=1, sliceSize=1400.&lt;/P&gt;&lt;P&gt;After enable sliceMode, the fragmentation error was decreased clearly.&lt;/P&gt;&lt;P&gt;But the error was still happened for large GOB data over 1454 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't seen case of h263 codec usage with RTP stream.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody has experience h263 video data send and receive through network with imx6, please share your experience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 08:06:08 GMT</pubDate>
    <dc:creator>woogeunshin</dc:creator>
    <dc:date>2015-02-23T08:06:08Z</dc:date>
    <item>
      <title>i.mx6dl h263 encoding and RTP packet</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6dl-h263-encoding-and-RTP-packet/m-p/328215#M44181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I met packet fragmentation error when our RTP generator creates RTP packet from encoded h263 data.&lt;/P&gt;&lt;P&gt;Our product uses h263 codec to send and receive video data to and from network.&lt;/P&gt;&lt;P&gt;Prior to send video data, our RTP generator creates RTP packet from encoded h263 data.&lt;/P&gt;&lt;P&gt;If GOB size of encoded h263 data is larger than 1454 bytes, RTP generator fragments encoded h263 data at MB boundaries.&lt;/P&gt;&lt;P&gt;* MB (MacroBlock)&lt;/P&gt;&lt;P&gt;* 1454 bytes is the maximum RTP payload size.&lt;/P&gt;&lt;P&gt;During this fragmentation, error was happened.&lt;/P&gt;&lt;P&gt;It's not happen for every packet. It's happened only for some packets larger than MTU.&lt;/P&gt;&lt;P&gt;The main error reason is two. They are "not found CBPY", " Not found TCOEF"&lt;/P&gt;&lt;P&gt;* CBPY(Coded Block Pattern for Luminance",&amp;nbsp;&amp;nbsp; TCOEF(Transform Coefficient".&lt;/P&gt;&lt;P&gt;Our RTP generator is verified with other CPU like galaxy, G series and TCC.&lt;/P&gt;&lt;P&gt;But, the operation with Freescale CPU is the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i tested with original VPU library, almost packets were dropped during fragmentation.&lt;/P&gt;&lt;P&gt;Its GOB size of dropped encoded data was larger than 1454 bytes.&lt;/P&gt;&lt;P&gt;So, i checked the VPU API document. I noticed sliceMode.&lt;/P&gt;&lt;P&gt;The sliceMode of original VPU library was disabled&lt;/P&gt;&lt;P&gt;So, i enabled sliceMode with below value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sliceMode=1, sliceSize=1400.&lt;/P&gt;&lt;P&gt;After enable sliceMode, the fragmentation error was decreased clearly.&lt;/P&gt;&lt;P&gt;But the error was still happened for large GOB data over 1454 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't seen case of h263 codec usage with RTP stream.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody has experience h263 video data send and receive through network with imx6, please share your experience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 08:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6dl-h263-encoding-and-RTP-packet/m-p/328215#M44181</guid>
      <dc:creator>woogeunshin</dc:creator>
      <dc:date>2015-02-23T08:06:08Z</dc:date>
    </item>
  </channel>
</rss>

