<?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: Re: i.MX6Q: How to play mp4 using VPU and qtdemux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270276#M29024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your test which removing aiurdemux, &lt;/P&gt;&lt;P&gt;playbin2 looks for aiurdemux first.&lt;/P&gt;&lt;P&gt;&amp;nbsp; -&amp;gt; if aiurdemux is not found, qtdemux is the next target.&amp;nbsp; -&amp;gt; playbin2_1.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; if qtdemux is not found either, playbin2 outputs error.&amp;nbsp; -&amp;gt; playbin2_2.log&lt;/P&gt;&lt;P&gt;I've confirmed it by removing libgstisomp4.so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shigenobu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 09:13:13 GMT</pubDate>
    <dc:creator>shigenobukatagi</dc:creator>
    <dc:date>2013-08-30T09:13:13Z</dc:date>
    <item>
      <title>i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270272#M29020</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;BR /&gt;I'm trying to play mp4 on GStreamer and VPU of i.MX6Q.&amp;nbsp; And I want to use qtdemux and isink, but an error occurs.&lt;/P&gt;&lt;P&gt;How can I play using qtdemux and isink?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My operation is below:&lt;BR /&gt;&lt;EM&gt;gst-launch filesrc location=/mnt/floppy/1sec_10frame.mp4 ! 'video/quicktime' ! &lt;SPAN style="color: #ff0000;"&gt;qtdemux&lt;/SPAN&gt; ! queue ! vpudec ! mfw_isink&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's no problem when using aiurdemux. &lt;BR /&gt;&lt;EM&gt;gst-launch filesrc location=/mnt/floppy/1sec_10frame.mp4 ! 'video/quicktime' ! &lt;SPAN style="color: #ff0000;"&gt;aiurdemux&lt;/SPAN&gt; ! queue ! vpudec ! mfw_isink&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filesrc:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.10.35&lt;BR /&gt;aiurdemux:&amp;nbsp; 3.0.5&lt;BR /&gt;vpudec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.0.5&lt;BR /&gt;qtdemux:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.10.30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error occurs in vpu_DecGetInitialInfo() of vpu_lib.c.&lt;/P&gt;&lt;P&gt;=====&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BitIssueCommand(pCodecInst, SEQ_INIT);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (VpuReadReg(BIT_BUSY_FLAG)) ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; val = VpuReadReg(RET_DEC_SEQ_SUCCESS);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (cpu_is_mx6x()) {&lt;BR /&gt;#ifdef MEM_PROTECT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (val &amp;amp; (1 &amp;lt;&amp;lt; 31)) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;#endif&lt;BR /&gt;-&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (pDecInfo-&amp;gt;openParam.bitstreamMode &amp;amp;&amp;amp; (val &amp;amp; (1 &amp;lt;&amp;lt; 4))) {&lt;BR /&gt;-&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UnlockVpu(vpu_semap);&lt;/P&gt;&lt;P&gt;-&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return RETCODE_FAILURE;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;=====&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Daisuke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 13:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270272#M29020</guid>
      <dc:creator>daisuketsuchiya</dc:creator>
      <dc:date>2013-08-22T13:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270273#M29021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/shigenobukatagiri-b39676"&gt;shigenobukatagiri-b39676&lt;/A&gt;, did you find the reason of this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270273#M29021</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-22T16:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270274#M29022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;Hi Tuchiya-san, Leo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;According to my test, it seems qtdemux doesn’t generate complete H.264 ES.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;When I use aiurdemux, there are many “00 00 01” start code prefix of NAL in the demuxed H.264 ES file, VPU and VLC (works on PC) can play back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;However in case of qtdemux, demuxed data has few “00 00 01” start code prefix words, neither VPU nor VLC play back&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;You may see same result by comparing files generated by following command lines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;$ gst-launch -v filesrc location=&amp;lt;file.mp4&amp;gt; ! 'video/quicktime' ! aiurdemux name=demux ! filesink location=raw_aiur.h264&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;$ gst-launch -v filesrc location=&amp;lt;file.mp4&amp;gt; ! 'video/quicktime' ! qtdemux name=demux ! filesink location=raw_qt.h264&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;I found a similar discussion as follows. qtdemux may not be the solution to demux H.264 container.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;A href="http://gstreamer-devel.966125.n4.nabble.com/QT-Demux-with-strange-ouput-ES-data-td970679.html"&gt;http://gstreamer-devel.966125.n4.nabble.com/QT-Demux-with-strange-ouput-ES-data-td970679.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please give us your comments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: #1f497d;"&gt;Shigenobu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 09:42:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270274#M29022</guid>
      <dc:creator>shigenobukatagi</dc:creator>
      <dc:date>2013-08-23T09:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270275#M29023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Let me investigate further but for the moment, lets force the playback to use another demuxer. Move the plugin/element&lt;EM&gt; /usr/lib/gstreamer-0.10/libmfw_gst_aiur_demux.so&lt;/EM&gt; to your $HOME, then run the following pipeline with playbin2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;gst-launch playbi2 uri=file://&amp;lt;media full path&amp;gt; --gst-debug=&lt;EM class="jive-hilite"&gt;GST_ELEMENT_FACTORY&lt;/EM&gt;:3&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the log.Which demuxer did playbin2 use? Customer may use that one instead of qtdemux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 20:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270275#M29023</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-29T20:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270276#M29024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your test which removing aiurdemux, &lt;/P&gt;&lt;P&gt;playbin2 looks for aiurdemux first.&lt;/P&gt;&lt;P&gt;&amp;nbsp; -&amp;gt; if aiurdemux is not found, qtdemux is the next target.&amp;nbsp; -&amp;gt; playbin2_1.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; if qtdemux is not found either, playbin2 outputs error.&amp;nbsp; -&amp;gt; playbin2_2.log&lt;/P&gt;&lt;P&gt;I've confirmed it by removing libgstisomp4.so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shigenobu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270276#M29024</guid>
      <dc:creator>shigenobukatagi</dc:creator>
      <dc:date>2013-08-30T09:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270277#M29025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jackmao"&gt;jackmao&lt;/A&gt; / &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt;, I need help on this one :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 18:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270277#M29025</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-30T18:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270278#M29026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, what´s the problem here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see there is a discussion regarding using qtdemux or airdemux, but, I lost the goal of this discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/LeonardoSandovalGonzalez"&gt;LeonardoSandovalGonzalez&lt;/A&gt;, What´s the goal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 14:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270278#M29026</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2013-09-02T14:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270279#M29027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daiane.&lt;/P&gt;&lt;P&gt;Customer must use a non-aiurdemux element, so qtdemux may be an option. However, when using qtdemux, they got errors and playback is not possible. For some reason, the vpudec does not like what is coming from qtdemux, some missing headers as mentioned in previous post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/346312"&gt;Re: i.MX6Q: How to play mp4 using VPU and qtdemux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 14:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270279#M29027</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-02T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270280#M29028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh, I got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So aiurdemux is not a option. The question is which other mainline demuxer is suitable for the customer´s usecase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only know ffmpeg plugins for gstreamer, but I´m not sure how easy would be for including it on the rootfs and if it would be an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 16:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270280#M29028</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2013-09-02T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270281#M29029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As recommended by &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt;, have you tried any FFMPEG demuxer? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 16:14:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270281#M29029</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-02T16:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270282#M29030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I'm a Tsuchiya's subordinate.&lt;/DIV&gt;&lt;DIV&gt;I've read all of your comments and advice.&lt;/DIV&gt;&lt;DIV&gt;I've not tried FFMPEG demux yet however, it can be one of the solutions.&lt;/DIV&gt;&lt;DIV&gt;Thank you for all of your advice and cooperation .&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt; &lt;/DIV&gt;&lt;DIV&gt;Today, I&amp;nbsp; could play a specific mp4 file by modifying the source code of qtdemux.&lt;/DIV&gt;&lt;DIV&gt;I'd like to share the way and get comment about it.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;1.Solve the differences of start code prefix of NAL&lt;/DIV&gt;&lt;DIV&gt;Thanks to Katagiri-san's advice, I noticed this difference.&lt;/DIV&gt;&lt;DIV&gt;In the case of aiurdemux, the first 4 byte is "00 00 00 01".&lt;/DIV&gt;&lt;DIV&gt;But in the case of qtdemux, it's the length of the each NAL data.&lt;/DIV&gt;&lt;DIV&gt;I modified qtdemux and solve this difference.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt; &lt;/DIV&gt;&lt;DIV&gt;2.Solve the difference of "codec_data"&lt;/DIV&gt;&lt;DIV&gt;I noticed this difference by putting "-v" to the command line like below&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;gst-launch -v filesrc location=/mnt/floppy/1sec_10frame.mp4 ! 'video/quicktime' ! qtdemux ! queue ! vpudec ! mfw_isink&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I saw the difference of the value of "codec_data".&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;EM&gt;/GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)2, profile=(string)baseline,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;codec_data=(buffer)0142e00dffe100162742e00da918283f600d418041adb7a02f01e97bdf0101000428ce0988, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;width=(int)320, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of aiurdemux&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; codec_data=(buffer)000000012742e00da918283f600d418041adb7a02f01e97bdf01 0000000128ce0988&lt;/P&gt;&lt;P&gt;In the case of qtdemux&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; codec_data=(buffer)0142e00dffe100162742e00da918283f600d418041adb7a02f01e97bdf0101000428ce0988&lt;/P&gt;&lt;P&gt;I don't know why this happens, so I just modified qtdemux to make it output the "codec_data" of aiurdemux above regardless of the read mp4 file on trial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two modification above solved the problem.&lt;/P&gt;&lt;P&gt;I mean I could play a specific mp4 file using qtdemux + vpudec.(non-aiurdemux)&lt;/P&gt;&lt;P&gt;(I cannot play other mp4 file because qtdemux decide "codec_data" statically on trial)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess "codec_data" is avcC Data which is in mp4 file.&lt;/P&gt;&lt;P&gt;In the case of qtdemux, "codec_data" equalls avcC, but in the case of aiurdemux, it's little bit modified.&lt;/P&gt;&lt;P&gt;According to the aiurdemux element source code, "codec_data" is decided by FslParserGetDecSpecificInfo() which is fsl parser API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone advice me the way to convert "codec_data" of qtdemux to aiurdemux so that qtdemux can decide "codec_data" same as the aiurdemux and play any mp4 files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kuniaki&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 10:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270282#M29030</guid>
      <dc:creator>kchiba</dc:creator>
      <dc:date>2013-09-05T10:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: How to play mp4 using VPU and qtdemux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270283#M29031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please put all your codes changes into a patch, so it can be easily applied by other (of course, once you solve the codec_data issue). BTW, How codec_data is extracted on a ffmpeg demuxer? that would be interesting to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 15:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-How-to-play-mp4-using-VPU-and-qtdemux/m-p/270283#M29031</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-05T15:31:34Z</dc:date>
    </item>
  </channel>
</rss>

