<?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 Using FFMPEG on top of lib-imx in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204244#M11550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm porting an application that's using libavformat and libavcodec to the i.MX6 platform. The application must use libavformat for playing video because it's a modified version which supports proprietary formatting but the codecs are standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to hook libav to lib-imx directly in order to get the hardware accelerated video or does it have to be through Gstreamer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Gstreamer is mandatory, Can I set-up this configuration?&amp;nbsp; "&lt;STRONG&gt;App-Video-Player* ------&amp;gt; Gstreamer -----&amp;gt; libavformat* -----&amp;gt; lib-imx&amp;nbsp; -----&amp;gt; VPU&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Is there any examples?&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, 28 Sep 2012 09:18:26 GMT</pubDate>
    <dc:creator>Tarek</dc:creator>
    <dc:date>2012-09-28T09:18:26Z</dc:date>
    <item>
      <title>Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204244#M11550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm porting an application that's using libavformat and libavcodec to the i.MX6 platform. The application must use libavformat for playing video because it's a modified version which supports proprietary formatting but the codecs are standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to hook libav to lib-imx directly in order to get the hardware accelerated video or does it have to be through Gstreamer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Gstreamer is mandatory, Can I set-up this configuration?&amp;nbsp; "&lt;STRONG&gt;App-Video-Player* ------&amp;gt; Gstreamer -----&amp;gt; libavformat* -----&amp;gt; lib-imx&amp;nbsp; -----&amp;gt; VPU&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Is there any examples?&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, 28 Sep 2012 09:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204244#M11550</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-09-28T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204245#M11551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Would it be possible to hook libav to lib-imx directly in order to get the hardware accelerated video or does it have to be through Gstreamer?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes! "&lt;STRONG&gt;App-Video-Player* ------&amp;gt; libavcodec* -----&amp;gt; vpu_wrapper ------&amp;gt; lib-imx&amp;nbsp; -----&amp;gt; VPU&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;We didn't implement ffmpeg avcodec for VPU, so you can try it yourself.&lt;/P&gt;&lt;P&gt;I will give you an unit test for vpu_wrapper as example, which will be in next release. You could build it in yocto by reference to makefile.unit.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/legacyfs/online/3111_vpu_wrapper_test.tar.bz2"&gt;https://community.freescale.com/servlet/JiveServlet/downloadBody/93583-102-1-3111/vpu_wrapper_test.tar.bz2&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 03:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204245#M11551</guid>
      <dc:creator>fengwei</dc:creator>
      <dc:date>2012-10-08T03:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204246#M11552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've compiled the unit test "decoder part". I get the following error when I ran it:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;root@imx6qsabrelite:~# ./test_dec_arm_elinux -i clipcanvas_14348_offline.mp4 -f 2 -interleave 1 -map 0 -tile2linear 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;input bitstream : clipcanvas_14348_offline.mp4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;max frame_number : 2147483647, display: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;[INFO] Product Info: i.MX6Q/D/S&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;vpu lib version : major.minor.rel=5.4.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;vpu fw version : major.minor.rel_rcode=2.1.2_r25776&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;vpu wrapper version : major.minor.rel=1.0.24: VPUWRAPPER_ARM_LINUX Build on Sep 19 2012 10:30:47&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;capability: file mode supported: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;capability: tile format supported: 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;capability: report frame size supported: 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;normal mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;set input type : normal(0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;DecodeLoop: vpu dec buf failure: ret=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;decode_stream: vpu reset: handle=0x1A180&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;[INFO] vpu_SWResetFrame Num: 0,&amp;nbsp; [width x height] = [716367420 x 0], dec FPS: 0, total FPS: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;Decode Failure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it expecting a certain type of files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 14:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204246#M11552</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-10-17T14:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204247#M11553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling the VPU Wrapper API's from my application similar to the unit test example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the decoder loop is consuming frames which sounds like the decoder is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is with &lt;STRONG&gt;VPU_DecGetOutputFrame()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm calling this function after I receive VPU_DEC_OUTPUT_DIS which means the decoded frame is ready.&lt;/P&gt;&lt;P&gt;This function is returning out of range virtual address in pbufVirtY, pbufVirtCb and pbufVirtCr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to copy from the correct Frame virtual address pointer to the display buffer but of course the memcpy is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how to convert the returned address to a valid range?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 15:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204247#M11553</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-10-17T15:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204248#M11554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using gdb I found that IOGetVirtMem() is returning an address that is not accessible when allocating buffer size of&amp;nbsp; 537601.&lt;/P&gt;&lt;P&gt;inside the function VPU_DecGetMem()&lt;/P&gt;&lt;P&gt;(gdb) print *buff.virt_uaddr&lt;/P&gt;&lt;P&gt;Cannot access memory at address 0x32d16000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any explanation for that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 18:14:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204248#M11554</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-10-17T18:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204249#M11555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. vpu_wrap unit test should only accept raw video stream, that's means you need extract the video if you are using a container file like mp4.&lt;/P&gt;&lt;P&gt;2. the vpu only accept physical continuous memory with physical address. You need make sure &lt;SPAN style="color: #000000; font-family: monospace; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;pbufY&lt;/SPAN&gt;, pbufCr, pbufCb are valid physical pointer when you register output frames by using&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: monospace; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;VPU_DecRegisterFrameBuffer&lt;/SPAN&gt; API.&lt;/P&gt;&lt;P&gt;3, If you need allocate&amp;nbsp; physical continuous memory, you can call &lt;SPAN style="color: #000000; font-family: monospace; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;VPU_DecGetMem, it will return both physical address and virtual address you can access.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 02:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204249#M11555</guid>
      <dc:creator>KanHU</dc:creator>
      <dc:date>2012-10-18T02:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204250#M11556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I have copied the ProcessInitInfo() function from your example into my application. This function does what you described. Allocate &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;continuous&lt;/SPAN&gt; memory by calling VPU_DecGetMem() then register the frame buffer VPU_DecRegisterFrameBuffer().&lt;/P&gt;&lt;P&gt;2. The problem is VPU_DecGetMem() is giving back an out of range address although the function returns VPU_DEC_RET_SUCCESS . So I can't read or write to this pointer. &lt;/P&gt;&lt;P&gt;3. In u-boot I'm passing this command line argument&amp;nbsp; fbmem=28M,10M,10M Do I need to increase these values?&lt;/P&gt;&lt;P&gt;4. Finally, can you please provide a &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;raw video stream file to run the unit test example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 08:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204250#M11556</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-10-18T08:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204251#M11557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use "avconv" to covert your mp4 file to raw mpeg4 video format. avconf is a tool from ffmpeg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 09:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204251#M11557</guid>
      <dc:creator>fengwei</dc:creator>
      <dc:date>2012-10-18T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204252#M11558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that the problem is not in the VPU Frame buffer allocation but the IPU.&lt;/P&gt;&lt;P&gt;So fb_render_drawYUVframe() is memcopying to YUV address that was not allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct way of using the IPU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my situation I'm using SDL - DirectFB for display, How can I ask SDL to use the IPU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204252#M11558</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-10-18T17:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204253#M11559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how directfb handle the buffer, but IPU has nothing to do with buffer allocation. If you want video to render into displaying buffer, it should be something mapped from /dev/fbN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 03:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204253#M11559</guid>
      <dc:creator>fengwei</dc:creator>
      <dc:date>2012-10-23T03:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204254#M11560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I have a decoded frame in YUV formate:&lt;/P&gt;&lt;P&gt;frameInfo.pDisplayFrameBuf-&amp;gt;pbufVirtY;&lt;/P&gt;&lt;P&gt;frameInfo.pDisplayFrameBuf-&amp;gt;pbufVirtCb;&lt;/P&gt;&lt;P&gt;frameInfo.pDisplayFrameBuf-&amp;gt;pbufVirtCr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the most efficient method to display this frame? "I'm using SDL for my program" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 10:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204254#M11560</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2012-10-23T10:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using FFMPEG on top of lib-imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204255#M11561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following is my test results：&lt;/P&gt;&lt;P&gt;（1）gst-launch&lt;/P&gt;&lt;P&gt;gst-launch playbin2 uri=file:///yujian.avi, the video played good.&lt;/P&gt;&lt;P&gt;freescale IMX535：&lt;/P&gt;&lt;P&gt;#root@freescale /$ gst-launch playbin2 uri=file:///yujian.avi&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLING ...&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLED ...&lt;/P&gt;&lt;P&gt;Setting pipeline to PLAYING ...&lt;/P&gt;&lt;P&gt;New clock: GstAudioSinkClock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&amp;nbsp; mp4--OK ts--ok&amp;nbsp;&amp;nbsp;&amp;nbsp; wmv--ok&amp;nbsp; flv--ok&amp;nbsp; wma--ok avi--ok mkv--ok&amp;nbsp; //rmvb--no ,swf--no&lt;/P&gt;&lt;P&gt;rmvb failed:&lt;/P&gt;&lt;P&gt;root@freescale /$ gst-launch playbin2 uri=file:///mingyanghuagu.rmvb&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLING ...&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; Product Info: i.MX53&lt;/P&gt;&lt;P&gt;VPU Version: firmware 1.4.41; libvpu: 5.3.2&lt;/P&gt;&lt;P&gt;MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Sep 18 2013 01:42:31.&lt;/P&gt;&lt;P&gt;MFW_GST_V4LSINK_PLUGIN 2.0.3 build on Sep 18 2013 01:43:10.&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLED ...&lt;/P&gt;&lt;P&gt;Setting pipeline to PLAYING ...&lt;/P&gt;&lt;P&gt;New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;Got EOS from element "playbin20".&lt;/P&gt;&lt;P&gt;Execution ended after 1247625 ns.&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;total time:0:00:00.004183250 ,Render fps:0&lt;/P&gt;&lt;P&gt;Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt;Total rendered:0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;VPU_DEC: State: Ready to Null&lt;/P&gt;&lt;P&gt;Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt;[---&amp;gt;FINALIZE v4l_sink&lt;/P&gt;&lt;P&gt;[---&amp;gt;FINALIZE vpu_dec&lt;/P&gt;&lt;P&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;root@freescale /$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) gplay&amp;nbsp;&amp;nbsp; //gplay and gst-launch has the same problem.(test:&amp;nbsp; mp4--OK ts--ok&amp;nbsp;&amp;nbsp;&amp;nbsp; wmv--ok&amp;nbsp; flv--ok&amp;nbsp; wma--ok avi--ok mkv--ok&amp;nbsp; //rmvb--no ,swf--no)&lt;/P&gt;&lt;P&gt;root@freescale /video$ gplay hls.rmvb&lt;/P&gt;&lt;P&gt;playbin2 is employed!&lt;/P&gt;&lt;P&gt;fsl_player_init(): Successfully initialize!&lt;/P&gt;&lt;P&gt;fsl_player_set_media_location(): filename=hls.rmvb&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/00:00:00][fps:0][INFO]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product Info: i.MX53&lt;/P&gt;&lt;P&gt;VPU Version: firmware 1.4.41; libvpu: 5.3.2&lt;/P&gt;&lt;P&gt;MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Oct 14 2013 17:26:37.&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/00:00:00][fps:0]FOUND GST_MESSAGE_TAG!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio codec: Real Audio G2 (Cook)&lt;/P&gt;&lt;P&gt;FOUND GST_MESSAGE_TAG!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; video codec: Real Video 4.0&lt;/P&gt;&lt;P&gt;Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;MFW_GST_V4LSINK_PLUGIN 2.0.3 build on Oct 14 2013 17:26:59.&lt;/P&gt;&lt;P&gt;Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;Debug: VPU Decoder Initialization failed&lt;/P&gt;&lt;P&gt;Error: fatal error&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]^C Aborted by signal Interrupt...&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]x&lt;/P&gt;&lt;P&gt;[Stopped&amp;nbsp; ][Vol=01][00:00:00/5124095:34:33][fps:0]^C Aborted by signal Interrupt...&lt;/P&gt;&lt;P&gt;root@freescale /video$ ls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) totem&amp;nbsp;&amp;nbsp;&amp;nbsp; //why? how to use it?&lt;/P&gt;&lt;P&gt;root@freescale /video$ totem zhongguoweidao.mkv&lt;/P&gt;&lt;P&gt;Cannot open display:&lt;/P&gt;&lt;P&gt;Run 'totem --help' to see a full list of available command line options.&lt;/P&gt;&lt;P&gt;root@freescale /video$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(4)mplay&lt;/P&gt;&lt;P&gt;Mplay can play&amp;nbsp; all video format well,but the voice is not normal!!&lt;/P&gt;&lt;P&gt;(test:&amp;nbsp; mp4--OK ts--ok&amp;nbsp;&amp;nbsp;&amp;nbsp; wmv--ok&amp;nbsp; flv--ok&amp;nbsp; wma--ok avi--ok mkv--ok&amp;nbsp; rmvb--ok ,swf--no)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@freescale ~$ mplayer -ao help&lt;/P&gt;&lt;P&gt;MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team&lt;/P&gt;&lt;P&gt;Available audio output drivers:&lt;/P&gt;&lt;P&gt;oss OSS/ioctl audio output&lt;/P&gt;&lt;P&gt;mpegpes DVB audio output&lt;/P&gt;&lt;P&gt;v4l2 V4L2 MPEG Audio Decoder output&lt;/P&gt;&lt;P&gt;null Null audio output&lt;/P&gt;&lt;P&gt;pcm RAW PCM/WAVE file writer audio output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************************&lt;/P&gt;&lt;P&gt;Thats all！！&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most important thing is that I want to play RMVB，but gplay 、gst-lanuch and totem can't play rmvb.I don't know how to do.Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 00:48:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-FFMPEG-on-top-of-lib-imx/m-p/204255#M11561</guid>
      <dc:creator>小辉尤</dc:creator>
      <dc:date>2013-10-19T00:48:06Z</dc:date>
    </item>
  </channel>
</rss>

