<?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: ffmpeg and vpu library in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254651#M24060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2013 16:51:56 GMT</pubDate>
    <dc:creator>Tarek</dc:creator>
    <dc:date>2013-08-19T16:51:56Z</dc:date>
    <item>
      <title>ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254645#M24054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use ffmpeg with the vpu library.&amp;nbsp; I'm having trouble with the connection.&amp;nbsp; I'm using the mxc_vpu_test as an example code base, and trying to have ffmpeg read a video stream from a file and having it decoded by the vpu.&amp;nbsp; I'm very new to ffmpeg, and am having a difficult time finding examples and pointers to doing this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 17:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254645#M24054</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-14T17:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254646#M24055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Porting ffmpeg to call VPU is not easy. Have you considered using GStreamer? This way you do not need any code change, you need just to plug gstreamer elements into a pipeline, and execute these with gst-launch. There are plenty of info on the community, so please do a search on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 15:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254646#M24055</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-19T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254647#M24056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; Where do I find the freescale ffmpeg library?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 15:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254647#M24056</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-19T15:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254648#M24057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henry. There is no freescale ffmpeg library, sorry for the confusion. As I said, in case your project needs some vpu decoding/encoding, the easiest is to use gstreamer.&amp;nbsp; ffmpeg plugins are great elements, but not HW accelerated :smileyhappy: &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, 19 Aug 2013 16:13:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254648#M24057</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-19T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254649#M24058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use ffmpeg to read blocks of data to a buffer then use appsrc gstreamer element to feed the buffers to gstreamer pipeline.&lt;/P&gt;&lt;P&gt;The pipeline will be something like:&lt;/P&gt;&lt;P&gt;appsrc ! vpudec ! mfw_isink&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 16:35:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254649#M24058</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-08-19T16:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254650#M24059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tarek is right. I was able to use this link as a guide to get appsrc working in imx6: &lt;A href="http://amarghosh.blogspot.com/2012/01/gstreamer-appsrc-in-action.html" title="http://amarghosh.blogspot.com/2012/01/gstreamer-appsrc-in-action.html"&gt;Ghosh blog: gstreamer appsrc in action&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 16:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254650#M24059</guid>
      <dc:creator>varsmolta</dc:creator>
      <dc:date>2013-08-19T16:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254651#M24060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 16:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254651#M24060</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-08-19T16:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254652#M24061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarek! You rock! Thanks for sharing code.&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, 19 Aug 2013 17:02:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254652#M24061</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-19T17:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254653#M24062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; This is all very helpful.&amp;nbsp; I'm looking at the freescale plugin.&amp;nbsp; I've built it in ltib and now I'm wondering how much work it will be to link it with android libraries.&amp;nbsp; We are playing video on the hdmi output using the framebuffer with the vpu libraries and the mxc-test program.&amp;nbsp; This works very well except for the container problem.&amp;nbsp; We want to play h.264 video only.&amp;nbsp; No audio. and I've been having difficulty getting that from a mp4 file to the vpu library.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 18:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254653#M24062</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-20T18:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254654#M24063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget about mxc-test and just use gstreamer. There are some many examples that Leo wrote on this community forum on how to use gstreamer. &lt;/P&gt;&lt;P&gt;This should handle the container, decoding and HDMI display in a very straight forward way.&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;gst-launch filesrc location=file.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_v4lsink&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 06:33:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254654#M24063</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-08-21T06:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254655#M24064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Henry want to link his application in an android environment, shouldn't he be using OpenMax, instead of gstreamer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 13:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254655#M24064</guid>
      <dc:creator>varsmolta</dc:creator>
      <dc:date>2013-08-21T13:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254656#M24065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again for your help.&amp;nbsp; I have compiled gstreamer and plugins in ltib.&amp;nbsp; I'm running the ltib rootfs on an mx53 board.&amp;nbsp; I'm having problems with it stopping and then it hangs playing nothing when restarted.&amp;nbsp; Requiring a reboot to play again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my line:&amp;nbsp; gst-launch filesrc location=video.mp4&amp;nbsp; typefind=true ! aiurdemux ! mfw_vpudecoder ! mfw_v4lsink&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 18:06:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254656#M24065</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-22T18:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254657#M24066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you stopping the pipeline? Control&lt;EM&gt;C? Contro&lt;/EM&gt;C should stop the pipeline correctly.&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 18:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254657#M24066</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-22T18:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254658#M24067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; I'm using Ctl-C to stop, sometime I can start it again, and sometimes I can't, and have to reboot.&amp;nbsp; Also it stops on it's own sometimes and then needs to be rebooted again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I'm not able to use&amp;nbsp;&amp;nbsp; fbdevsink as a sink.&amp;nbsp; I get. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: erroneous pipeline: could not link mfwgstvpu_dec0 to fbdevsink0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then is exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that command line is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gst-launch filesrc location=video.mp4&amp;nbsp; typefind=true ! aiurdemux ! mfw_vpudecoder ! fbdevsink&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 20:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254658#M24067</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-22T20:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254659#M24068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do the playback with playbin2, do you get the same error? If yes, then we are in trouble :smileyhappy: Playbin automatically takes the relevant elements, so it would be interesting to see which extra elements is taking. For the fbdevsink, any reason for using it? when using it, mfw_ipucsc needs to be insterted before fbdevsink.&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>Thu, 22 Aug 2013 22:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254659#M24068</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-22T22:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254660#M24069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;playbin2 seems to work the same.&amp;nbsp; I did just notice that it seems to stop sending signal to the display.&amp;nbsp; All of a sudden the penguin in the top left corner disappears, the display says it's lost it's signal, and I have to reboot to recover. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if I add:&amp;nbsp;&amp;nbsp; mfw_ipucsc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch filesrc location=video.mp4&amp;nbsp; typefind=true ! aiurdemux ! mfw_vpudecoder ! mfw_ipucsc |&amp;nbsp; fbdevsink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; fbdevsink: command not found&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 23:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254660#M24069</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-22T23:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254661#M24070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean that playbin2 has the same issue? Use ! instead of | when building pipelines :smileyhappy:&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>Fri, 23 Aug 2013 16:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254661#M24070</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-23T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254662#M24071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; it now looks like it's an issue with the video, in this case the vga just stopping as though the power was turned off.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 16:43:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254662#M24071</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-08-23T16:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254663#M24072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have anything further on this?&amp;nbsp; Also are there examples using the framebuffer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 19:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254663#M24072</guid>
      <dc:creator>henrymckeggie</dc:creator>
      <dc:date>2013-09-03T19:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: ffmpeg and vpu library</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254664#M24073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any reason why you want to use fbdevsink instead of mfw_v4lsink?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 20:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ffmpeg-and-vpu-library/m-p/254664#M24073</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-03T20:23:48Z</dc:date>
    </item>
  </channel>
</rss>

