<?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>i.MX ProcessorsのトピックRe: gstreamer transcoding on wandboard</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669510#M103063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi IGOR - The link was very helpful and I was able to demux/decode and create scaled 422 ycc files and send to hdmi port which was my immediate need. &amp;nbsp;&lt;SPAN&gt;I still could not get the transcode operation below from my original post to work in gstreamer 1.0 . I tried many different iterations without success. &amp;nbsp;This transcode covers pretty much everything else that I need to do in the first phase of this project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;gst-launch filesrc location=test_1280x720.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_ipucsc ! 'video/x-raw-yuv, format=(fourcc)NV12, width=640, height=360' ! vpuenc ! matroskamux ! filesink location=out2.mkv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 May 2017 20:24:12 GMT</pubDate>
    <dc:creator>robertchapin</dc:creator>
    <dc:date>2017-05-08T20:24:12Z</dc:date>
    <item>
      <title>gstreamer transcoding on wandboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669508#M103061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I upgrade my bsp from dizzy to morty. dizzy was using gstreamer 0.1 and morty went to gstream-1.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;&lt;STRONG&gt;FILE&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;to transcode&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN&gt;=test_1280x720.mp4 &lt;/SPAN&gt;: mime: video/quicktime; audio/x-m4a; application/x-3gp&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="background-color: transparent; color: #000000; text-decoration: none; font-size: 11pt;"&gt;&lt;STRONG&gt;START FILE MIME INFO.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-weight: 400; text-decoration: none; font-size: 11pt;"&gt;&lt;SPAN&gt;Aiur: 3.0.11&amp;nbsp;&lt;/SPAN&gt;Mime:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN&gt;mime: video/quicktime; audio/x-m4a; application/x-3gp&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0pt 12pt 0pt 12pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Mime:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-weight: 400; text-decoration: none; font-size: 11pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #000000; text-decoration: none; font-size: 11pt;"&gt;&lt;STRONG&gt;END FILE MIME INFO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I transcoded a mp4 file using gstreamer 0.1 with no issues using the following 0.1 command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #0000ff; text-decoration: none; font-size: 11pt;"&gt;&lt;STRONG&gt;WORKS BELOW WITH DIZZY BSP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;gst-launch filesrc location=test_1280x720.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_ipucsc ! 'video/x-raw-yuv, format=(fourcc)NV12, width=640, height=360' ! vpuenc ! matroskamux ! filesink location=out2.mkv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I upgraded to morty and converted the 0.1 command to a gstreamer 1.0 command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;BUILD -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;LI style="font-size: 10.5pt; color: #000000; background-color: #f9f9f9; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN style="font-size: 10.5pt; color: #000000; background-color: #f9f9f9; font-weight: 400; text-decoration: none;"&gt;repo init -u&lt;/SPAN&gt;&lt;A href="https://github.com/Freescale/fsl-community-bsp-platform" style="text-decoration: none;"&gt; &lt;SPAN style="font-size: 10.5pt; color: #1155cc; background-color: #f9f9f9; font-weight: 400; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://github.com/Freescale/fsl-community-bsp-platform" target="test_blank"&gt;https://github.com/Freescale/fsl-community-bsp-platform&lt;/A&gt;&lt;SPAN style="font-size: 10.5pt; color: #663366; background-color: #f9f9f9; font-weight: 400; text-decoration: underline;"&gt; -b morty&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="font-size: 10.5pt; color: #000000; background-color: #f9f9f9; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN style="font-size: 10.5pt; color: #663366; background-color: #f9f9f9; font-weight: 400; text-decoration: underline;"&gt;bitbake fsl-image-mutimedia-full&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="font-size: 10.5pt; color: #000000; background-color: #f9f9f9; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN style="background-color: transparent; color: #0000ff; text-decoration: none; font-size: 11pt;"&gt;&lt;STRONG&gt;DOES NOT WORK BELOW WITH MORTY BSP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #0000ff; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;gst-launch-1.0 filesrc location=test_1280x720.mp4 typefind=true ! aiurdemux &amp;nbsp;! imxvpudec ! 'video/x-raw, format=NV12, width=640, height=360' ! imxvpuenc_h264 &amp;nbsp; ! filesink location=out2.mkv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="background-color: transparent; color: #0000ff; text-decoration: none; font-size: 11pt;"&gt;&lt;STRONG&gt;OUTPUT = WARNING: erroneous pipeline: no element "aiurdemux"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P&gt;I have looked for any other method to demux this stream by getting all possible demux elements using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;gst-inspect-1.0 | grep demux. &amp;nbsp; I tried every one that this returned in place of aiurdemux. qtdemux gave errors. None of these worked. Did you move this into another element? The latest Linux IMX user manual has the usage of&amp;nbsp;&lt;SPAN&gt;aiurdemux with gstreamer-1.0. We also downloaded the master branch and it is missing here too. How do I demux this mp4 stream. The equivalent command for gstreamer-1.0 &amp;nbsp;that also scales the output would help me alot!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 16:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669508#M103061</guid>
      <dc:creator>robertchapin</dc:creator>
      <dc:date>2017-05-05T16:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: gstreamer transcoding on wandboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669509#M103062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probably there is confusion between two different gstreamer versions:&lt;/P&gt;&lt;P&gt;community gstreamer-imx and nxp plugins, for example "imxvpudec" is from&lt;/P&gt;&lt;P&gt;gstreamer-imx. Linux IMX user manual&amp;nbsp; is applicable only to nxp plugins.&lt;/P&gt;&lt;P&gt;Difference is described on&lt;/P&gt;&lt;P&gt;trac.gateworks.com/wiki/Yocto/gstreamer&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>Fri, 05 May 2017 23:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669509#M103062</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-05T23:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: gstreamer transcoding on wandboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669510#M103063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi IGOR - The link was very helpful and I was able to demux/decode and create scaled 422 ycc files and send to hdmi port which was my immediate need. &amp;nbsp;&lt;SPAN&gt;I still could not get the transcode operation below from my original post to work in gstreamer 1.0 . I tried many different iterations without success. &amp;nbsp;This transcode covers pretty much everything else that I need to do in the first phase of this project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;gst-launch filesrc location=test_1280x720.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_ipucsc ! 'video/x-raw-yuv, format=(fourcc)NV12, width=640, height=360' ! vpuenc ! matroskamux ! filesink location=out2.mkv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 20:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669510#M103063</guid>
      <dc:creator>robertchapin</dc:creator>
      <dc:date>2017-05-08T20:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: gstreamer transcoding on wandboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669511#M103064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which gstreamer you are using, community gstreamer-imx plugins or nxp gstreamer plugins.&lt;BR /&gt;For example please check maintainer of gstreamer-imx plugins mentioned on&lt;BR /&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="445732" data-objecttype="1" href="https://community.nxp.com/thread/445732"&gt;https://community.nxp.com/thread/445732&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 23:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669511#M103064</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-08T23:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: gstreamer transcoding on wandboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669512#M103065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, I stared out with the nxp-plugins and everything seemed went very smooth except that there did not seem to be 422 support. I wanted to be at the latest board support package which moved me from the nxp plugins to the shared community imx plugins. (&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;gstreamer-imx plugins) Your last link helped allot. I am really just trying to go from&amp;nbsp;&lt;SPAN&gt;nxp gstreamer plugins to&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;gstreamer-imx plugins. I only care about video and can throw away the audio. I have spent a fair amount of time in breaking up the command below. If I could get the equivalent transcode for the gstreamer-imx community plugins, I would be very grateful. &amp;nbsp;The other thin\g that comes out of this is to understand how to add a container to a raw h264 file as you will see as you read further into this post.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;STRONG&gt;nxp-gstream plugins : WORKS:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;gst-launch filesrc location=test_1280x720.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_ipucsc ! 'video/x-raw-yuv, format=(fourcc)NV12, width=640, height=360' ! vpuenc ! matroskamux ! filesink location=out2.mkv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;STRONG&gt;gstreamer-imx plugins&lt;/STRONG&gt;.- &amp;nbsp;I broke up the command into 3 separate commands. I did this because we will be eventually be sending 422 data to the camera port and we will need to send to hdmi port as well as capture a video.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;UPDATE - THIS FIXED THE transcode ISSUE (Step 2):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;gst-launch-1.0 &amp;nbsp;-v filesrc location=out422.yuv typefind=true &amp;nbsp;! videoparse format=5 width=640 height=360 framerate=30 ! imxipuvideotransform ! video/x-raw,format=NV12,width=640,height=360 ! imxvpuenc_h264 gop-size=30 bitrate=512 ! h264parse ! matroskamux ! filesink location=test_640x360.mp4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 18:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gstreamer-transcoding-on-wandboard/m-p/669512#M103065</guid>
      <dc:creator>robertchapin</dc:creator>
      <dc:date>2017-05-09T18:18:29Z</dc:date>
    </item>
  </channel>
</rss>

