<?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  About VPU codec simultaneously in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/About-VPU-codec-simultaneously/m-p/614544#M92920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;BR /&gt;I have a question about VPU codec on IMX6Q.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, a MP4 file is loaded into memmory, then it is be demuxed to the H264. &lt;BR /&gt;After that, we get the input H264 data. OK, now we need doing 3 things simultaneously.&lt;BR /&gt;1. H264 is send to VPU, then VPU decodes it to YUV. YUV is send to IPU or G2D for display.&lt;BR /&gt;2. At the same time, H264 is also send to VPU for re-encoding to a new H264 file. &lt;BR /&gt;3. At the same time, H264 is also send to a remote PC for RTP/UDP streaming simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I use Gstreamer to finish that. the GST commond is :&lt;BR /&gt;gst-launch-1.0&amp;nbsp; -v filesrc location=`pwd`/base.mp4 ! qtdemux ! h264parse ! tee name=tt tt. ! queue2 ! rtph264pay ! udpsink host=192.168.1.110 port=5000 tt. ！ queue2 ! imxvpudec ! tee name=t t. ! queue2 ! imxg2dvideosink t. ! queue2 ! imxvpuenc_h264 bitrate=10240 ! filesink location=new.h264&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now , we found that the IMX6Q has not a smooth play of the MP4 file on the LCD by using IPU or G2D. but the remote PC can play smoothly by using RTP/UDP.&lt;BR /&gt;How can I optimize that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 06:52:09 GMT</pubDate>
    <dc:creator>qqk</dc:creator>
    <dc:date>2017-01-13T06:52:09Z</dc:date>
    <item>
      <title>About VPU codec simultaneously</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-VPU-codec-simultaneously/m-p/614544#M92920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;BR /&gt;I have a question about VPU codec on IMX6Q.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, a MP4 file is loaded into memmory, then it is be demuxed to the H264. &lt;BR /&gt;After that, we get the input H264 data. OK, now we need doing 3 things simultaneously.&lt;BR /&gt;1. H264 is send to VPU, then VPU decodes it to YUV. YUV is send to IPU or G2D for display.&lt;BR /&gt;2. At the same time, H264 is also send to VPU for re-encoding to a new H264 file. &lt;BR /&gt;3. At the same time, H264 is also send to a remote PC for RTP/UDP streaming simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I use Gstreamer to finish that. the GST commond is :&lt;BR /&gt;gst-launch-1.0&amp;nbsp; -v filesrc location=`pwd`/base.mp4 ! qtdemux ! h264parse ! tee name=tt tt. ! queue2 ! rtph264pay ! udpsink host=192.168.1.110 port=5000 tt. ！ queue2 ! imxvpudec ! tee name=t t. ! queue2 ! imxg2dvideosink t. ! queue2 ! imxvpuenc_h264 bitrate=10240 ! filesink location=new.h264&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now , we found that the IMX6Q has not a smooth play of the MP4 file on the LCD by using IPU or G2D. but the remote PC can play smoothly by using RTP/UDP.&lt;BR /&gt;How can I optimize that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 06:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-VPU-codec-simultaneously/m-p/614544#M92920</guid>
      <dc:creator>qqk</dc:creator>
      <dc:date>2017-01-13T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re:  About VPU codec simultaneously</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-VPU-codec-simultaneously/m-p/614545#M92921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls check your display video resolution and frame rate, refer to the Reference Manual, DP of IPU can support up to 240 pixels/sec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 07:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-VPU-codec-simultaneously/m-p/614545#M92921</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2017-01-23T07:46:10Z</dc:date>
    </item>
  </channel>
</rss>

