<?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 Decode RTP H264 Encoded Video with libimxvpuapi in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Decode-RTP-H264-Encoded-Video-with-libimxvpuapi/m-p/1821229#M220773</link>
    <description>&lt;P&gt;I'm working with an imx8mp and using a generated Yocto Image based off &lt;STRONG&gt;5.15-kirkstone&lt;/STRONG&gt; and a kernel version version &lt;STRONG&gt;5.15.52+g244c28a772f6&lt;/STRONG&gt;. .I'm trying to decode a H.264 RTP video stream, I'm removing the 12 bytes from the RTP header and calling &lt;STRONG&gt;imx_vpu_api_dec_push_encoded_frame&lt;/STRONG&gt; with the encoded frame data being the Fragmented Frame (FU indicator + FU header + FU payload). I'm getting an error from the VPU, as it never has a frame to decode and continuously outputs &lt;STRONG&gt;codec state CODEC_NEED_MORE&lt;/STRONG&gt; even after pushing frames in successfully. I'm also uncertain how the VPU is acquiring the data from SPS and PPS NALUs, I see a reference in the decode-example but not any mention to how the VPU lib is supposed to get that info. I've also tried to depacketize the frames into whole frames but then I get an error `nal_ref_idc cannot be null`. Am I missing something or the vpu lib not able to decode this type of H.264 video stream?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Libimxvpuapi Version&lt;/STRONG&gt;: 2.2.1&lt;BR /&gt;&lt;STRONG&gt;Platform&lt;/STRONG&gt;: IMX8MP&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 07:24:03 GMT</pubDate>
    <dc:creator>hsuq7052</dc:creator>
    <dc:date>2024-03-05T07:24:03Z</dc:date>
    <item>
      <title>Decode RTP H264 Encoded Video with libimxvpuapi</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decode-RTP-H264-Encoded-Video-with-libimxvpuapi/m-p/1821229#M220773</link>
      <description>&lt;P&gt;I'm working with an imx8mp and using a generated Yocto Image based off &lt;STRONG&gt;5.15-kirkstone&lt;/STRONG&gt; and a kernel version version &lt;STRONG&gt;5.15.52+g244c28a772f6&lt;/STRONG&gt;. .I'm trying to decode a H.264 RTP video stream, I'm removing the 12 bytes from the RTP header and calling &lt;STRONG&gt;imx_vpu_api_dec_push_encoded_frame&lt;/STRONG&gt; with the encoded frame data being the Fragmented Frame (FU indicator + FU header + FU payload). I'm getting an error from the VPU, as it never has a frame to decode and continuously outputs &lt;STRONG&gt;codec state CODEC_NEED_MORE&lt;/STRONG&gt; even after pushing frames in successfully. I'm also uncertain how the VPU is acquiring the data from SPS and PPS NALUs, I see a reference in the decode-example but not any mention to how the VPU lib is supposed to get that info. I've also tried to depacketize the frames into whole frames but then I get an error `nal_ref_idc cannot be null`. Am I missing something or the vpu lib not able to decode this type of H.264 video stream?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Libimxvpuapi Version&lt;/STRONG&gt;: 2.2.1&lt;BR /&gt;&lt;STRONG&gt;Platform&lt;/STRONG&gt;: IMX8MP&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 07:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decode-RTP-H264-Encoded-Video-with-libimxvpuapi/m-p/1821229#M220773</guid>
      <dc:creator>hsuq7052</dc:creator>
      <dc:date>2024-03-05T07:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Decode RTP H264 Encoded Video with libimxvpuapi</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decode-RTP-H264-Encoded-Video-with-libimxvpuapi/m-p/1821687#M220807</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225446"&gt;@hsuq7052&lt;/a&gt;!&lt;BR /&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;The code that you are referring is not supported by us.&lt;/P&gt;
&lt;P&gt;Please check our official documents and use the official BSP.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?_gl=1*tbrzbb*_ga*MTEzNzk2MjE4Mi4xNzA5MjU0MDE3*_ga_WM5LE0KMSH*MTcwOTMxOTczMi41LjEuMTcwOTMyMDU1NS4wLjAuMA." target="_blank"&gt;https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?_gl=1*tbrzbb*_ga*MTEzNzk2MjE4Mi4xNzA5MjU0MDE3*_ga_WM5LE0KMSH*MTcwOTMxOTczMi41LjEuMTcwOTMyMDU1NS4wLjAuMA.&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX_VPU_APPLICATION_PROGRAMMING_INTERFACE_LINUX_REFERENCE_MANUAL.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/IMX_VPU_APPLICATION_PROGRAMMING_INTERFACE_LINUX_REFERENCE_MANUAL.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/NXP" target="_blank"&gt;https://github.com/NXP&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;BR /&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 15:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decode-RTP-H264-Encoded-Video-with-libimxvpuapi/m-p/1821687#M220807</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-03-05T15:20:32Z</dc:date>
    </item>
  </channel>
</rss>

