<?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 Gstreamer over UDP between two RIoT boards with CAM8200-U in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480299#M76465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been stuck on something for quite some time and was curious if you have any ideas. It's my first time using the board or gstreamer or Linux at all, so bare with me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been following few hundred tutorials for gstreamer and what I am trying to accomplish now, is to use &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;gst-launch&lt;/STRONG&gt;&lt;/SPAN&gt; capture a video, transmit it over ethernet and save it on a second board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAM8200-U -&amp;gt; RIoT_1------Ethernet-----RIoT_2 -&amp;gt; Save file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both boards are running&lt;STRONG&gt; Linux Yocto v3.10.17.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am able to save the video with the following line: &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;gst-launch-0.10 v4l2src device=/dev/video0 num-buffers=-1 ! 'video/x-raw-yuv,width=1024,height=768' ! queue ! ffmpegcolorspace ! vpuenc codec=0 ! matroskamux ! filesink location=output.mkv sync=false&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to accomplish is instead of saving the file with "&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;filesink&lt;/STRONG&gt;&lt;/SPAN&gt;" on board 1 to use "&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;udpsink&lt;/STRONG&gt;&lt;/SPAN&gt;" and send it over to the 2nd board, where I want to save it as a file. &lt;EM&gt;Then I want to&lt;/EM&gt; &lt;EM&gt;get the file from the 2nd board and play it on a PC (which I know how to do, I want the video to be "playable" after saving). &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you have any ideas for a way (gst-launch configuration) to receive this video or any other options?&lt;/STRONG&gt; It is just a proof of concept, so &lt;STRONG&gt;I do not care about any formats, settings, etc.&lt;/STRONG&gt; I just want to get video, stream it, save it and then be able to play it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bozhidar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some useful links:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CAM8200-U: &lt;A href="https://www.element14.com/community/servlet/JiveServlet/previewBody/71630-102-1-303180/CAM8200-U%20User%20Manual.pdf" title="https://www.element14.com/community/servlet/JiveServlet/previewBody/71630-102-1-303180/CAM8200-U%20User%20Manual.pdf"&gt;https://www.element14.com/community/servlet/JiveServlet/previewBody/71630-102-1-303180/CAM8200-U%20User%20Manual.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;RIoT: &lt;A href="http://riotboard.org/hardware" title="http://riotboard.org/hardware"&gt;Hardware | RIoTBoard - Revolutionizing the Internet of Things&lt;/A&gt; &lt;A href="http://riotboard.org/hardware" title="http://riotboard.org/hardware"&gt;http://riotboard.org/hardware&lt;/A&gt;&lt;/P&gt;&lt;P&gt;gst-launch example: &lt;A href="https://www.youtube.com/watch?v=mRbckLppmKs" title="https://www.youtube.com/watch?v=mRbckLppmKs"&gt;Connecting Cameras to the RIoTboard - YouTube&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2016 15:09:16 GMT</pubDate>
    <dc:creator>bozhidar1</dc:creator>
    <dc:date>2016-02-23T15:09:16Z</dc:date>
    <item>
      <title>Gstreamer over UDP between two RIoT boards with CAM8200-U</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480299#M76465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been stuck on something for quite some time and was curious if you have any ideas. It's my first time using the board or gstreamer or Linux at all, so bare with me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been following few hundred tutorials for gstreamer and what I am trying to accomplish now, is to use &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;gst-launch&lt;/STRONG&gt;&lt;/SPAN&gt; capture a video, transmit it over ethernet and save it on a second board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAM8200-U -&amp;gt; RIoT_1------Ethernet-----RIoT_2 -&amp;gt; Save file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both boards are running&lt;STRONG&gt; Linux Yocto v3.10.17.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am able to save the video with the following line: &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;gst-launch-0.10 v4l2src device=/dev/video0 num-buffers=-1 ! 'video/x-raw-yuv,width=1024,height=768' ! queue ! ffmpegcolorspace ! vpuenc codec=0 ! matroskamux ! filesink location=output.mkv sync=false&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to accomplish is instead of saving the file with "&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;filesink&lt;/STRONG&gt;&lt;/SPAN&gt;" on board 1 to use "&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;udpsink&lt;/STRONG&gt;&lt;/SPAN&gt;" and send it over to the 2nd board, where I want to save it as a file. &lt;EM&gt;Then I want to&lt;/EM&gt; &lt;EM&gt;get the file from the 2nd board and play it on a PC (which I know how to do, I want the video to be "playable" after saving). &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you have any ideas for a way (gst-launch configuration) to receive this video or any other options?&lt;/STRONG&gt; It is just a proof of concept, so &lt;STRONG&gt;I do not care about any formats, settings, etc.&lt;/STRONG&gt; I just want to get video, stream it, save it and then be able to play it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bozhidar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some useful links:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CAM8200-U: &lt;A href="https://www.element14.com/community/servlet/JiveServlet/previewBody/71630-102-1-303180/CAM8200-U%20User%20Manual.pdf" title="https://www.element14.com/community/servlet/JiveServlet/previewBody/71630-102-1-303180/CAM8200-U%20User%20Manual.pdf"&gt;https://www.element14.com/community/servlet/JiveServlet/previewBody/71630-102-1-303180/CAM8200-U%20User%20Manual.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;RIoT: &lt;A href="http://riotboard.org/hardware" title="http://riotboard.org/hardware"&gt;Hardware | RIoTBoard - Revolutionizing the Internet of Things&lt;/A&gt; &lt;A href="http://riotboard.org/hardware" title="http://riotboard.org/hardware"&gt;http://riotboard.org/hardware&lt;/A&gt;&lt;/P&gt;&lt;P&gt;gst-launch example: &lt;A href="https://www.youtube.com/watch?v=mRbckLppmKs" title="https://www.youtube.com/watch?v=mRbckLppmKs"&gt;Connecting Cameras to the RIoTboard - YouTube&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 15:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480299#M76465</guid>
      <dc:creator>bozhidar1</dc:creator>
      <dc:date>2016-02-23T15:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer over UDP between two RIoT boards with CAM8200-U</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480300#M76466</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;&amp;nbsp; You may look at sections 7.3.10 (Web camera)&amp;nbsp; and&lt;/P&gt;&lt;P&gt;7.3.13 (RTP/UDP MPEGTS streaming) of "i.MX_Linux_User's_Guide.pdf".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.gz&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.gz&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Supporting%20Informat…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 24 Feb 2016 09:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480300#M76466</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-24T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer over UDP between two RIoT boards with CAM8200-U</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480301#M76467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation you send me was not really helpful regarding this issue, but it helped me with another issues. Thanks! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;My main issue was with getting the stream to work or in very details how to encrypt/decrypt/use the right caps, so it works.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;I was able to do streaming and saving from RIoT to RIoT with the following options:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Sender:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;&lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;gst-launch-0.10 v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=1024,height=768' ! ffmpegcolorspace ! vpuenc codec=5 ! rtph263pay ! udpsink host=192.168.1.104 port=5200&lt;/CODE&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Receiver:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;&lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;gst-launch-0.10 udpsrc port=5200 ! application/x-rtp, media=video, payload=96 ! rtph263depay ! vpudec ! matroskamux ! filesink location=video3.mkv&lt;/CODE&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Quite strange was that if I use &lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;avimux&lt;/CODE&gt; instead of &lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;matroskamux&lt;/CODE&gt; the video plays back on 5x speed. No idea why, but it doesn't matter at this point. Moreover, these options will not work from a RIoTboard to a PC, just because there is no &lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;vpudec&lt;/CODE&gt; option in Ubuntu (or at least don't how to add it). Maybe using different way to decrypt the H.263 will work.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;This stream works with different options for vpuenc (codec=0 MPEG4, 5 H.263 and 6 H.264). You have to change also rtp___(de)pay with mp4v (for MPEG4), h263 (for H.263) and h264 (for H.264).&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Thanks for the help anyways!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:09:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480301#M76467</guid>
      <dc:creator>bozhidar1</dc:creator>
      <dc:date>2016-03-01T10:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer over UDP between two RIoT boards with CAM8200-U</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480302#M76468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 13px;"&gt;Additional info: To stream H.264 between 2 RIoTboards with short delay (~200ms) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 13px;"&gt;Sender:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; color: #222426; background-color: #eeeeee;"&gt;gst-launch-0.10 v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480' ! ffmpegcolorspace ! vpuenc codec=6 ! rtph264pay ! udpsink host=192.168.1.103 port=5200 --gst-debug=2&lt;/CODE&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 13px;"&gt;Receiver:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="padding: 1px 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; color: #222426; background-color: #eeeeee;"&gt;gst-launch-0.10 udpsrc port=5200 ! application/x-rtp, media=video, payload=96, encoding-name=H264 ! rtph264depay ! vpudec low-latency=true ! autovideosink --gst-debug=2&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 15:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-over-UDP-between-two-RIoT-boards-with-CAM8200-U/m-p/480302#M76468</guid>
      <dc:creator>bozhidar1</dc:creator>
      <dc:date>2016-03-30T15:10:34Z</dc:date>
    </item>
  </channel>
</rss>

