<?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 Re: RTP H.264 from i.MX8M Mini and decode/display on Linux host in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RTP-H-264-from-i-MX8M-Mini-and-decode-display-on-Linux-host/m-p/993357#M147363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you see the section 7.3.12 of the Linux User´s Guide. There you could find useful information about how to perform an RTPSP stream.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2019 21:42:30 GMT</pubDate>
    <dc:creator>diegoadrian</dc:creator>
    <dc:date>2019-11-19T21:42:30Z</dc:date>
    <item>
      <title>RTP H.264 from i.MX8M Mini and decode/display on Linux host</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTP-H-264-from-i-MX8M-Mini-and-decode-display-on-Linux-host/m-p/993356#M147362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm streaming a live H.264 video stream from my i.MX8M Mini. I receive the stream OK on my host machine, but it is not being decoded properly. Only I frames are decoded and displayed properly (I think). Other frames are rendered in a greyish color and are blocky, although I can vaguely match the content.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Using the following command on the i.MX8M Mini:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;v4l2src ! vpuenc_h264 &lt;STRONG&gt;gop-size=60&lt;/STRONG&gt; ! video/x-h264 ! h264parse ! rtph264pay config-interval=-1 ! udpsink host=xxx.20.1.121 port=5000&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;and this command on the host:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;If I set the gop-size to 1 on the i.MX8M Mini, then the host correctly shows the video. Which is why I think only I frames are decoded properly.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Does vpuenc_h264 transmit the SPS/PPS information in-band? If so, I was expecting&amp;nbsp;config-interval=-1 to cause the info to be sent with every IDR.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Am I missing something here? The same pipeline with x264enc generates a stream that I can decode fine...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 17:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTP-H-264-from-i-MX8M-Mini-and-decode-display-on-Linux-host/m-p/993356#M147362</guid>
      <dc:creator>vincentz63</dc:creator>
      <dc:date>2019-10-31T17:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: RTP H.264 from i.MX8M Mini and decode/display on Linux host</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RTP-H-264-from-i-MX8M-Mini-and-decode-display-on-Linux-host/m-p/993357#M147363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you see the section 7.3.12 of the Linux User´s Guide. There you could find useful information about how to perform an RTPSP stream.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 21:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RTP-H-264-from-i-MX8M-Mini-and-decode-display-on-Linux-host/m-p/993357#M147363</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-11-19T21:42:30Z</dc:date>
    </item>
  </channel>
</rss>

