<?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 crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266971#M27964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;I'm uploading a public domain file that I converted to an H.264 encoded transport stream. As soon as it finishes I'll post the link for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2013 17:51:25 GMT</pubDate>
    <dc:creator>jimheath</dc:creator>
    <dc:date>2013-04-08T17:51:25Z</dc:date>
    <item>
      <title>GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266944#M27937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I've been developing an application for the new Boundary Devices Nitrogen6x board running an i.MX6Q processor. I'm using the Timesys BSP, kernel version: 3.0.35-ts-armv7l-2026-geaaf30e (&lt;A href="http://www.timesys.com/embedded-linux/resources/dev-center/nitrogen6x" title="http://www.timesys.com/embedded-linux/resources/dev-center/nitrogen6x"&gt;LinuxLink Development Center for Boundary Devices Nitrogen6X | Timesys Embedded Linux&lt;/A&gt;). The application relies on GStreamer 0.10.36 and gst-fsl-plugin for playing MPEG-2 transport stream files that are H.264 encoded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran into a problem playing back files that are around 2GB or larger. If I use playbin2 for the GStreamer pipeline and specify a large video file, the pipeline transitions to the preroll state and appears to identify the elements needed to play the video, but then it just sits there. I don't see any video output, not even the first frame of the video and within 30 seconds the program crashes stating it ran out of memory. This happens regardless of whether I use my program or use the gst-launch command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, if I construct the following pipeline, the video plays fine:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;gst-launch filesrc location=video.ts ! tsdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! mfw_v4lsink demux. ! queue max-size-buffers=0 max-size-time=0 ! mfw_mp3decoder ! audioconvert ! 'audio/x-raw-int,channels=2' ! alsasink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, I would rather use playbin2 because it offers more flexibility. I have encountered certain video files that will not play back using the pipeline above, but will with playbin2. I have compared a video that does playback and one that does not using gst-discoverer and see no difference; both are transport streams and both are H.264 encoded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone offer any suggestions on how to get playbin2 to play these large video files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 23:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266944#M27937</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-02-20T23:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266945#M27938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jimheath"&gt;jimheath&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand your situation. Your problem has been posted in an internal Freescale group, meaning that it will end up in a specialist which can provide the proper solution. In the other hand, I will try to reproduce the issue you are facing but this can take me some time to have the setup ready.&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, 28 Feb 2013 19:56:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266945#M27938</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-02-28T19:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266946#M27939</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;Thanks for your response, it's good to hear a specialist will be helping me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I can offer some more information on this problem. I've been trying everything I can think of to determine the root cause of the problem. From some tests I've been running yesterday and today, I believe the segmentation faults are linked to me performing a seek operation on the transport stream video when using the aiurdemux element. I'm using the GStreamer C function: gst_element_seek_simple. This is an intermittent problem so it sometimes happens upon playing the first video or 1 to 10+ minutes of looping through the various videos. If I disable my application from performing a seek and always start the video from the beginning, I'm not seeing it crash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the tsdemux element from the gst-bad-plugins, I can perform seeks on the same set of videos without any segmentation faults. I've run this test for over an hour without any problems. I'm using a little test application written using Qt 4.8.3 that just continuously cycles through a playlist of transport stream videos. It selects a random position in the video to begin playing and plays it for 20 seconds then moves on to the next video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the tsdemux element because it handles the large videos (+2GB files) but for some videos I get a generic "stream error" message and it won't play it. But these videos that won't play with tsdemux WILL play with aiurdemux as long as they are under 2GB. All videos have the same encoding (h.264) so I'm not sure why tsdemux can't deal with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With both transport stream demuxers, I still see kernel error messages every once in awhile which I attached in case these were lost from my original posts. These don't stop the execution of the program, in fact, once the program moves on to the next video, video playback continues and everything appears normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a backtrace on the core dump when using aiurdemux:&lt;/P&gt;&lt;P&gt;#0&amp;nbsp; 0x2bbd17f4 in memcpy () from /home/jim/timesys/nitrogen6x/toolchain/lib/libc.so.6&lt;/P&gt;&lt;P&gt;#1&amp;nbsp; 0x2c26d340 in MPEG2FindH264Frames ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#2&amp;nbsp; 0x2c2607d4 in MPEG2FastFindMPEG2Frames ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#3&amp;nbsp; 0x2c260b8c in Mpeg2ScanVideoFrame ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#4&amp;nbsp; 0x2c260f10 in MPEG2_ParsePES_Scan ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#5&amp;nbsp; 0x2c261740 in Mpeg2ParserScan ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#6&amp;nbsp; 0x2c262118 in Mpeg2SeekStream ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#7&amp;nbsp; 0x2c25b9a4 in Mpeg2Seek ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;#8&amp;nbsp; 0x2bfc2bb4 in gst_aiurdemux_perform_seek ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/gstreamer-0.10/libmfw_gst_aiur_demux.so&lt;/P&gt;&lt;P&gt;#9&amp;nbsp; 0x2bfca2c4 in gst_aiurdemux_handle_src_event ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from /home/jim/timesys/nitrogen6x/toolchain/usr/lib/gstreamer-0.10/libmfw_gst_aiur_demux.so&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Jim&lt;/SPAN&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 02:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266946#M27939</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-01T02:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266947#M27940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will I be hearing from someone at Freescale soon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 20:19:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266947#M27940</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-04T20:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266948#M27941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim. I am not sure how long it will delay to get you an answer but I am sure your question is now on someone's queue. BTW, this document had some comments from &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/EricNelson"&gt;EricNelson&lt;/A&gt;, where did they go? &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/EricNelson"&gt;EricNelson&lt;/A&gt;, do you delete them?&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, 04 Mar 2013 21:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266948#M27941</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-03-04T21:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266949#M27942</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;&lt;/P&gt;&lt;P&gt;I didn't even know I __could__ delete a comment, so I didn't do this intentionally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My comment had to do with a result that I couldn't seem to replicate:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In my first attempt, it seemed that I was able to see a memory leak w/gplay even flushing the disk cache.&lt;/LI&gt;&lt;LI&gt;Later attempts to isolate it to aiurdemux failed, then&lt;/LI&gt;&lt;LI&gt;Repeated attempt using gplay succeeded.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm not mistaken, Jim's not seeing memory leaks either though. What he was seeing seemed related to the disk cache using available RAM and a sequence like this cleaned things up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for n in 0 1 2 3 ; do echo $n &amp;gt; /proc/sys/vm/drop_caches ; done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim, please confirm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 22:03:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266949#M27942</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-03-04T22:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266950#M27943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what happened to this thread, I didn't modify anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do see a memory leak still when my application is using GStreamer. If I continue to let it run it eventually crashes because it runs out of memory. Eric did clear up the other issue I reported that turned out to be the disk cache.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 00:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266950#M27943</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-05T00:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266951#M27944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think you could use kmplayer to get the properties of the stream, and paste here to let me see if it's ok. By the way, could you describe the current status of your issue here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 02:39:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266951#M27944</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-03-08T02:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266952#M27945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Junping,&lt;/P&gt;&lt;P&gt;I'm still having problems playing video reliably. I wrote 2 test programs with Qt 4.8.3; one uses the GStreamer library directly and the other uses Phonon which uses GStreamer as its backend. I created the Phonon version to make sure I wasn't causing a memory leak with my handling of the GStreamer library. Both versions are causing the kernel errors eventually and both appear to be leaking memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first thought maybe there was a problem with the MPEG-2 transport streams I was using, or just with playing transport streams in general. But I downloaded 4 public domain videos that are avi's with DivX MPEG-4 encoding. These also cause the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached my test code, each one has a README that explains how to configure it. I've also included the links to the public domain movies I used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Kong_Island.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Kong_Island.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Lady_Frankenstein.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Lady_Frankenstein.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=The_Witches_Mountain.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=The_Witches_Mountain.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Track_of_the_Moon_Beast.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Track_of_the_Moon_Beast.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how much showing the properties of one of my videos will help, but kmplayer would not play a TS file so I used gst-discoverer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analyzing file:///media/sda1/video.ts&lt;/P&gt;&lt;P&gt;Aiur: 3.0.1&lt;/P&gt;&lt;P&gt;Core: BLN_MAD-MMLAYER_MPG2PARSER_ARM11_04.03.09&amp;nbsp; build on Aug 24 2012 10:57:23&lt;/P&gt;&lt;P&gt;&amp;nbsp; mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa&lt;/P&gt;&lt;P&gt;&amp;nbsp; file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;Content Info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; URI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file:///media/sda1/video.ts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Idx File:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //.aiur/.media.sda1.video.ts.aidx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size(byte): 930524800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mpeg2CreateParser:parser created successfully&lt;/P&gt;&lt;P&gt;Movie Info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Live&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&amp;nbsp; : 1:34:59.293600000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReadMode&amp;nbsp; : File&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; programs&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Track&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Track 00 [video_0010] Enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 1:34:59.293600000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-h264, parsed=(boolean)true, width=(int)720, height=(int)480, framerate=(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fraction)30/1, codec_data=(buffer)0000016764001facd940b43dbff0020001b100000303e9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001d4c00f18319600&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp;&amp;nbsp;&amp;nbsp; Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;vpudec versions :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plugin: 3.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrapper: 1.0.24(VPUWRAPPER_ARM_LINUX Build on Feb 18 2013 13:46:34)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vpulib: 5.4.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; firmware: 2.1.5.32515&lt;/P&gt;&lt;P&gt;Track 01 [audio_0010] Enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 1:34:59.232000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio/mpeg, mpegversion=(int)1, parsed=(boolean)true, framed=(boolean)true, chan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nels=(int)2, rate=(int)48000, bitrate=(int)128&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp;&amp;nbsp;&amp;nbsp; bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0&lt;/P&gt;&lt;P&gt;Beep: 3.0.1&lt;/P&gt;&lt;P&gt;Core: MP3 decoder Wrapper&amp;nbsp; build on Aug 16 2012 14:43:01&lt;/P&gt;&lt;P&gt;&amp;nbsp; mime: audio/mpeg, mpegversion = (int)1&lt;/P&gt;&lt;P&gt;&amp;nbsp; file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so.1&lt;/P&gt;&lt;P&gt;CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.11.00_CORTEX-A8&amp;nbsp; build on Jul 16 2012 14:38:49.&lt;/P&gt;&lt;P&gt;[---&amp;gt;FINALIZE aiurdemux&lt;/P&gt;&lt;P&gt;Done discovering file:///media/sda1/video.ts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Topology:&lt;/P&gt;&lt;P&gt;&amp;nbsp; container: MPEG-2 Transport Stream&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio: MPEG-1 Layer 2 (MP2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; video: H.264&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Properties:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Duration: 1:34:59.293600000&lt;/P&gt;&lt;P&gt;&amp;nbsp; Seekable: yes&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tags:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; codec: { H.264/AVC, MP3 }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; container format: MPEG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bitrate: 128&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio codec: MPEG 1 Audio, Layer 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nominal bitrate: 128000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; has crc: false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; channel mode: stereo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minimum bitrate: 128000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maximum bitrate: 128000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; number of channels: 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sampling frequency (Hz): 48000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jim Heath&#xD;
&#xD;
I updated the gst-tester.tar.gz after noticing a bug when only a single video is in the playlist. Also included a more general .pro file so it will compile with the Timesys toolchain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 04:33:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266952#M27945</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-08T04:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266953#M27946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've continued running tests, trying to figure out how to get video playing reliably. What I've noticed is it seems that these errors and memory leaks stem from continuously creating and destroying GStreamer pipelines. As I understand from GStreamer's own documentation and the GStreamer community, the only way to change to another video is to destroy the current pipeline and create a new one. As I said in my last post, I created a Qt test program that utilizes Phonon for video playback (GStreamer as its backend) to rule out me improperly using the GStreamer library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I just let a video play in a loop, meaning once I get the EOS message from GStreamer, I perform a seek to the beginning, I don't see any kernel errors and there doesn't seem to be any memory leak. Again, I'm testing this using the gst-tester program that I attached in my last post and playing an MPEG-2 transport stream file. I'm using the tsdemux element from gst-plugins-bad since aiurdemux doesn't work with &amp;gt;=2GB files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's got to be some way to reliably switch to another video. I would really appreciate anyone's help, our product is based on the i.MX6 and its soul purpose is to allow the user to play videos. As it stands now, it could probably only run for MAYBE an hour before needing to restart the system, which is unacceptable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 21:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266953#M27946</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-08T21:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266954#M27947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What's the origin of your Qt/Phonon? Rogerio posted some patches for a leak in that&lt;/P&gt;&lt;P&gt;platform on the Yocto ML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://lists.yoctoproject.org/pipermail/meta-freescale/2013-February/001207.html" style="font-size: 10pt; line-height: 1.5em;" title="https://lists.yoctoproject.org/pipermail/meta-freescale/2013-February/001207.html"&gt;https://lists.yoctoproject.org/pipermail/meta-freescale/2013-February/001207.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 22:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266954#M27947</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-03-08T22:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266955#M27948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's from the Timesys Nitrogen6x BSP. I looked at the patches in the Qt build directory and found the attached patch which I believe is what that post refers to. I also have checked the open file descriptors while the program is running: ls -l /proc/`pidof phononPlayer`/fd | grep /dev/video and only see one instance of /dev/video17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 23:34:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266955#M27948</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-08T23:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266956#M27949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I knew that Timesys integrated those patches, but hadn't tested them myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 00:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266956#M27949</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-03-09T00:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266957#M27950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread is showing "Assumed Answered" but it is not. I'm still needing help with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 23:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266957#M27950</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-11T23:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266958#M27951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From the video property, the stream should be ok for playback,&amp;nbsp; I notice that you use &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;element from gst-plugins-bad&lt;/SPAN&gt;, those plugin maybe have potential issues, please consider base and good plugins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if you can use playbin2 to playback the video stream, you could&amp;nbsp; export &lt;EM&gt;GST_DEBUG=GST_ELEMENT_FACTORY:3&lt;/EM&gt;&amp;nbsp;&amp;nbsp; to look what elements used by playbin2, then you maybe re-org your pipeline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 02:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266958#M27951</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-03-12T02:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266959#M27952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, the tsdemux from the "bad" plugins isn't ideal but the aiurdemux from Freescale won't play &amp;gt;=2gb files, plus it causes random segmentation faults when i perform seek operations. playbin2 selects aiurdemux since it has a higher rank than tsdemux.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 02:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266959#M27952</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-12T02:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266960#M27953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Junping,&lt;/P&gt;&lt;P&gt;Any update on when Freescale will assist me with this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 18:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266960#M27953</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-18T18:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266961#M27954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another test program I wrote that demonstrates the problem. This one is written purely in C. The attachment includes the source code and a shell script for running the test in an infinite loop. The script instructs the program to use playbin2 which selects the aiurdemux element. It uses the public domain videos:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Kong_Island.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Kong_Island.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Lady_Frankenstein.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Lady_Frankenstein.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=The_Witches_Mountain.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=The_Witches_Mountain.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Track_of_the_Moon_Beast.avi.torrent"&gt;http://www.publicdomaintorrents.com/bt/btdownload.php?type=torrent&amp;amp;file=Track_of_the_Moon_Beast.avi.torrent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the Timesys Nitrogen6x BSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I started this test, video was working fine but after 8 hours of execution (I ran it overnight) I woke up the next morning to no video. At that point, every time the program would execute, the following kernel errors were showing up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;multiqueue0:src: page allocation failure: order:7, mode:0x1 [&amp;lt;80100e08&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;80175410&amp;gt;] (warn_alloc_failed+0xc8/0x100) [&amp;lt;80175410&amp;gt;] (warn_alloc_failed+0xc8/0x100) from [&amp;lt;8017795c&amp;gt;] (__alloc_pages_nodemask+0x4c8/0x6cc)&lt;/P&gt;&lt;P&gt;[&amp;lt;8017795c&amp;gt;] (__alloc_pages_nodemask+0x4c8/0x6cc) from [&amp;lt;80103d80&amp;gt;] (__dma_alloc+0xa4/0x300) [&amp;lt;80103d80&amp;gt;] (__dma_alloc+0xa4/0x300) from [&amp;lt;801045b8&amp;gt;] (dma_alloc_coherent+0x54/0x60) [&amp;lt;801045b8&amp;gt;] (dma_alloc_coherent+0x54/0x60) from [&amp;lt;8043e800&amp;gt;] (__videobuf_mmap_mapper+0x8c/0x194)&lt;/P&gt;&lt;P&gt;[&amp;lt;8043e800&amp;gt;] (__videobuf_mmap_mapper+0x8c/0x194) from [&amp;lt;8043cddc&amp;gt;] (videobuf_mmap_mapper+0xbc/0x11c) [&amp;lt;8043cddc&amp;gt;] (videobuf_mmap_mapper+0xbc/0x11c) from [&amp;lt;80439fdc&amp;gt;] (mxc_vout_mmap+0x20/0x54) [&amp;lt;80439fdc&amp;gt;] (mxc_vout_mmap+0x20/0x54) from [&amp;lt;8042bed8&amp;gt;] (v4l2_mmap+0x98/0xa4) [&amp;lt;8042bed8&amp;gt;] (v4l2_mmap+0x98/0xa4) from [&amp;lt;8018fd00&amp;gt;] (mmap_region+0x2d4/0x458) [&amp;lt;8018fd00&amp;gt;] (mmap_region+0x2d4/0x458) from [&amp;lt;80190248&amp;gt;] (sys_mmap_pgoff+0x78/0xc0) [&amp;lt;80190248&amp;gt;] (sys_mmap_pgoff+0x78/0xc0) from [&amp;lt;800f9f40&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt;Mem-info:&lt;/P&gt;&lt;P&gt;DMA per-cpu:&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: hi:&amp;nbsp;&amp;nbsp; 90, btch: 15 usd:&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: hi:&amp;nbsp;&amp;nbsp; 90, btch: 15 usd:&amp;nbsp; 80&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 2: hi:&amp;nbsp;&amp;nbsp; 90, btch: 15 usd:&amp;nbsp; 87&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 3: hi:&amp;nbsp;&amp;nbsp; 90, btch: 15 usd:&amp;nbsp; 71&lt;/P&gt;&lt;P&gt;Normal per-cpu:&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: hi:&amp;nbsp; 186, btch: 31 usd:&amp;nbsp; 74&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: hi:&amp;nbsp; 186, btch: 31 usd: 163&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 2: hi:&amp;nbsp; 186, btch: 31 usd: 116&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 3: hi:&amp;nbsp; 186, btch: 31 usd: 151&lt;/P&gt;&lt;P&gt;active_anon:1441 inactive_anon:3 isolated_anon:0&lt;/P&gt;&lt;P&gt; active_file:35378 inactive_file:172504 isolated_file:0&lt;/P&gt;&lt;P&gt; unevictable:0 dirty:1 writeback:0 unstable:0&lt;/P&gt;&lt;P&gt; free:8624 slab_reclaimable:963 slab_unreclaimable:1197&lt;/P&gt;&lt;P&gt; mapped:1439 shmem:3 pagetables:45 bounce:0 DMA free:28192kB min:780kB low:972kB high:1168kB active_anon:2300kB inactive_anon:8kB active_file:3680kB inactive_file:133340kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:186944kB mlocked:0kB dirty:0kB writeback:0kB mapped:8kB shmem:8kB slab_reclaimable:236kB slab_unreclaimable:48kB kernel_stack:56kB pagetables:12kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no&lt;/P&gt;&lt;P&gt;lowmem_reserve[]: 0 705 705 705&lt;/P&gt;&lt;P&gt;Normal free:6304kB min:3028kB low:3784kB high:4540kB active_anon:3464kB inactive_anon:4kB active_file:137832kB inactive_file:556676kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:722368kB mlocked:0kB dirty:4kB writeback:0kB mapped:5772kB shmem:4kB slab_reclaimable:3616kB slab_unreclaimable:4740kB kernel_stack:504kB pagetables:168kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no&lt;/P&gt;&lt;P&gt;lowmem_reserve[]: 0 0 0 0&lt;/P&gt;&lt;P&gt;DMA: 198*4kB 115*8kB 83*16kB 64*32kB 63*64kB 93*128kB 24*256kB 2*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 28192kB&lt;/P&gt;&lt;P&gt;Normal: 178*4kB 153*8kB 81*16kB 26*32kB 13*64kB 11*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 6304kB&lt;/P&gt;&lt;P&gt;207905 total pagecache pages&lt;/P&gt;&lt;P&gt;0 pages in swap cache&lt;/P&gt;&lt;P&gt;Swap cache stats: add 0, delete 0, find 0/0 Free swap&amp;nbsp; = 0kB Total swap = 0kB&lt;/P&gt;&lt;P&gt;262144 pages of RAM&lt;/P&gt;&lt;P&gt;9456 free pages&lt;/P&gt;&lt;P&gt;36933 reserved pages&lt;/P&gt;&lt;P&gt;1065 slab pages&lt;/P&gt;&lt;P&gt;4098 pages shared&lt;/P&gt;&lt;P&gt;0 pages swap cached&lt;/P&gt;&lt;P&gt;mxc_v4l2_output mxc_v4l2_output.0: dma_alloc_coherent size 274432 failed mxc_v4l2_output mxc_v4l2_output.0: offset invalid [offset=0x29e000]&lt;/P&gt;&lt;P&gt;__dma_free_remap: trying to free invalid coherent area:&amp;nbsp;&amp;nbsp; (null)&lt;/P&gt;&lt;P&gt;[&amp;lt;80100e08&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) from [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) from [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) from [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) from [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) from [&amp;lt;800f9f40&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt;__dma_free_remap: trying to free invalid coherent area:&amp;nbsp;&amp;nbsp; (null)&lt;/P&gt;&lt;P&gt;[&amp;lt;80100e08&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) from [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) from [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) from [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) from [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) from [&amp;lt;800f9f40&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt;__dma_free_remap: trying to free invalid coherent area:&amp;nbsp;&amp;nbsp; (null)&lt;/P&gt;&lt;P&gt;[&amp;lt;80100e08&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) from [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) from [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) from [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) from [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) from [&amp;lt;800f9f40&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt;__dma_free_remap: trying to free invalid coherent area:&amp;nbsp;&amp;nbsp; (null)&lt;/P&gt;&lt;P&gt;[&amp;lt;80100e08&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) [&amp;lt;80104444&amp;gt;] (dma_free_coherent+0x17c/0x1c4) from [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) [&amp;lt;8043e6c8&amp;gt;] (videobuf_vm_close+0x94/0x10c) from [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) [&amp;lt;8018e3b4&amp;gt;] (remove_vma+0x28/0x80) from [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) [&amp;lt;8018f528&amp;gt;] (do_munmap+0x248/0x2a4) from [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) [&amp;lt;801907dc&amp;gt;] (sys_munmap+0x3c/0x50) from [&amp;lt;800f9f40&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 16:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266961#M27954</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-03-23T16:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266962#M27955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm sorry, something make me miss your reply, could you use the transweb? if Yes, could you send the file to me, my email is &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:b39360@freescale.com"&gt;b39360@freescale.com&lt;/A&gt;&lt;SPAN&gt;, you have two question now, right?one for playbin2(2G), the other is stable. I&amp;nbsp; try to reproduce it on my site and consult it deeply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 09:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266962#M27955</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-04-03T09:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266963#M27956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what the "transweb" is. What files do you want me to send you? I've posted the files in this thread. Yes the two issues still remain, the aiurdemux will not play videos that are &amp;gt;= 2GB and I'm seeing kernel errors about memory allocation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric Nelson did suggest a workaround that seems to be working for stopping the memory allocation errors. If I tell the OS to drop clean cashes before playing a video, I don't ever see the allocation errors:&lt;/P&gt;&lt;P&gt;echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/P&gt;&lt;P&gt;According to (&lt;A href="http://www.linuxinsight.com/proc_sys_vm_drop_caches.html" title="http://www.linuxinsight.com/proc_sys_vm_drop_caches.html"&gt;drop_caches | LinuxInsight&lt;/A&gt;) this frees pagecache, dentries and inodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to confirm what Eric believes is the problem; the IPU/VPU drivers are not able to allocate a contiguous block of memory. When this happens I see the kernel error message about memory allocation. So by forcing the OS to drop caches, the IPU/VPU drivers are able to allocate the required block of contiguous memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 14:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-crashing-on-i-MX6-Boundary-Devices-Nitrogen6x/m-p/266963#M27956</guid>
      <dc:creator>jimheath</dc:creator>
      <dc:date>2013-04-03T14:49:56Z</dc:date>
    </item>
  </channel>
</rss>

