<?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: matroskamux issue with multi-threaded GStreamer Application in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318112#M42206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as I known, no one has tested &lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;matroskamux &lt;/STRONG&gt;for this case, it seems that &lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt; MKV muxer has issue for this, maybe you can try to use mpegtsmux to replace matroskamux, or other muxer, I send the gstreamer plugins Reference Manula, hope helpful for you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt;&amp;lt;&lt;A href="http://gstreamer.freedesktop.org/documentation/plugins.html" title="http://gstreamer.freedesktop.org/documentation/plugins.html"&gt;http://gstreamer.freedesktop.org/documentation/plugins.html&lt;/A&gt;&amp;gt;.&lt;/SPAN&gt;&lt;SPAN lang="zh-cn"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 07:16:51 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2014-06-25T07:16:51Z</dc:date>
    <item>
      <title>matroskamux issue with multi-threaded GStreamer Application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318111#M42205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;I am using yocto dora branch for IMX6 SabreSD board. I have written a GStreamer application which can save video streams from multiple cameras into .mkv format simultaneously.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;The pipeline used in the program to store video stream in .mkv format is given below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;gst-launch rtspsrc location=rtsp://10.20.1.48/axis-media/media.amp typefind=true ! rtph264depay queue-delay=0 ! capsfilter caps="video/x-h264,width=640,height=480,framerate=(fraction)30/1" ! &lt;SPAN style="color: #000000;"&gt;matroskamux &lt;/SPAN&gt;! filesink location=test.mkv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;As long as I run the program with single camera stream it works all the time. When I switch to multi-threading to get streams from multiple cameras I see in-consistency due to "&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;matroskamux&lt;/STRONG&gt;" plugin. It works &lt;EM&gt;2-out-of-5&lt;/EM&gt; times kind of behaviour. If I remove the plugin from pipeline and save the raw stream in .264 format directly then there is no problem with the application.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;(GSTApp:1718): GLib-GObject-WARNING **: cannot register existing type `GstMatroskamuxPad'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;(GSTApp:1718): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Segmentation fault&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 16px;"&gt;My same application works fine on phytec board. I do not have phytec sources to diff &lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;matroskamux&lt;/STRONG&gt;" plugin right now.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Plugin Versions : &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;/gstreamer/0.10.36-r2/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;/gst-plugins-good-0.10.31/gst/matroska&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Has anyone encountered such an issue with &lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;matroskamux&lt;/STRONG&gt;" plugin&lt;/SPAN&gt; in multi-threading scenario.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;~Suman&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 10:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318111#M42205</guid>
      <dc:creator>sumanranjan</dc:creator>
      <dc:date>2014-06-12T10:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: matroskamux issue with multi-threaded GStreamer Application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318112#M42206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as I known, no one has tested &lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;matroskamux &lt;/STRONG&gt;for this case, it seems that &lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt; MKV muxer has issue for this, maybe you can try to use mpegtsmux to replace matroskamux, or other muxer, I send the gstreamer plugins Reference Manula, hope helpful for you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt;&amp;lt;&lt;A href="http://gstreamer.freedesktop.org/documentation/plugins.html" title="http://gstreamer.freedesktop.org/documentation/plugins.html"&gt;http://gstreamer.freedesktop.org/documentation/plugins.html&lt;/A&gt;&amp;gt;.&lt;/SPAN&gt;&lt;SPAN lang="zh-cn"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 07:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318112#M42206</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2014-06-25T07:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: matroskamux issue with multi-threaded GStreamer Application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318113#M42207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xie..I got around this problem exactly the way you have mentioned. I used '&lt;STRONG&gt;mpegtsmux&lt;/STRONG&gt;' plugin in place of &lt;SPAN style="font-size: 16px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;&lt;STRONG&gt;matroskamux.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 08:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318113#M42207</guid>
      <dc:creator>sumanranjan</dc:creator>
      <dc:date>2014-06-25T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: matroskamux issue with multi-threaded GStreamer Application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318114#M42208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great, if you have fixed this issue, do you mind closing this thread?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 09:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/matroskamux-issue-with-multi-threaded-GStreamer-Application/m-p/318114#M42208</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2014-06-25T09:25:53Z</dc:date>
    </item>
  </channel>
</rss>

