<?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 streaming video using gstreamer on local + rtmp server in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/streaming-video-using-gstreamer-on-local-rtmp-server/m-p/843476#M129335</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 am trying capture a stream from local video and show it to local display as well as want to stream the same on RTMP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am expecting no latency (at least, on a local display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Issue is when I use streaming to only local it's working fine with below pipe:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;gst-launch-1.0 imxv4l2videosrc device=/dev/video1 imx-capture-mode=4 fps-n=30 ! video/x-raw,width=1280,height=720,framerate=30/1 ! timeoverlay ! imxipuvideosink&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;When I want to&amp;nbsp;stream it to local + rtmp server, I could see lot of latency and frame drops on local as well. Here is the pipeline that I am using:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;gst-launch-1.0 imxv4l2videosrc device=/dev/video1 imx-capture-mode=4 fps-n=30 ! video/x-raw,width=1280,height=720,framerate=30/1 ! timeoverlay ! tee name="local" local. ! queue !&amp;nbsp; imxipuvideosink local. ! queue ! imxipuvideotransform ! imxvpuenc_h264 bitrate=8000&amp;nbsp; ! h264parse ! flvmux ! rtmpsink location=rtmp://192.168.0.56/live&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Any suggestions/clue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2018 09:48:17 GMT</pubDate>
    <dc:creator>harshal_patel</dc:creator>
    <dc:date>2018-07-03T09:48:17Z</dc:date>
    <item>
      <title>streaming video using gstreamer on local + rtmp server</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/streaming-video-using-gstreamer-on-local-rtmp-server/m-p/843476#M129335</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 am trying capture a stream from local video and show it to local display as well as want to stream the same on RTMP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am expecting no latency (at least, on a local display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Issue is when I use streaming to only local it's working fine with below pipe:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;gst-launch-1.0 imxv4l2videosrc device=/dev/video1 imx-capture-mode=4 fps-n=30 ! video/x-raw,width=1280,height=720,framerate=30/1 ! timeoverlay ! imxipuvideosink&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;When I want to&amp;nbsp;stream it to local + rtmp server, I could see lot of latency and frame drops on local as well. Here is the pipeline that I am using:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;gst-launch-1.0 imxv4l2videosrc device=/dev/video1 imx-capture-mode=4 fps-n=30 ! video/x-raw,width=1280,height=720,framerate=30/1 ! timeoverlay ! tee name="local" local. ! queue !&amp;nbsp; imxipuvideosink local. ! queue ! imxipuvideotransform ! imxvpuenc_h264 bitrate=8000&amp;nbsp; ! h264parse ! flvmux ! rtmpsink location=rtmp://192.168.0.56/live&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Any suggestions/clue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 09:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/streaming-video-using-gstreamer-on-local-rtmp-server/m-p/843476#M129335</guid>
      <dc:creator>harshal_patel</dc:creator>
      <dc:date>2018-07-03T09:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: streaming video using gstreamer on local + rtmp server</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/streaming-video-using-gstreamer-on-local-rtmp-server/m-p/843477#M129336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harshal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems gstreamer-imx used in the case, it is not supported by nxp, issue can be posted on&lt;BR /&gt;gstreamer-imx github page&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Freescale/gstreamer-imx/issues" title="https://github.com/Freescale/gstreamer-imx/issues"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively one can try nxp plugins using attached Linux Guide sect.7.3.14 RTSP&lt;/P&gt;&lt;P&gt;streaming server, more documentation can be found on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/software-development-tools/i.mx-developer-resources/i.mx-software-and-development-tool:IMX_SW" title="https://www.nxp.com/support/developer-resources/software-development-tools/i.mx-developer-resources/i.mx-software-and-development-tool:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 00:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/streaming-video-using-gstreamer-on-local-rtmp-server/m-p/843477#M129336</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-04T00:53:43Z</dc:date>
    </item>
  </channel>
</rss>

