<?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: remove element dynamic pipelines</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433979#M66311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe your pipeline go to PAUSE state, I send the document for dynamic pipelines, hope helpful for you&lt;/P&gt;&lt;P&gt;&lt;A href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html" title="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html"&gt;Dynamically changing the pipeline&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/message/564743#564743"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2015 07:44:34 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2015-09-17T07:44:34Z</dc:date>
    <item>
      <title>remove element dynamic pipelines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433978#M66310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: 微软雅黑, Tahoma;"&gt;Hi all,&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑, Tahoma;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I use tee element for dual video output and my pipeline like this :&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑, Tahoma;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑, Tahoma;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; background-color: rgba(0, 0, 0, 0);"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #eeeeee; color: #222222; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;/ [ queue1 | v4l2sink1]&amp;nbsp;&amp;nbsp; branch 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: window;"&gt;tee&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&lt;SPAN style="font-family: '';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: ''; color: #000000; font-size: 10.5pt; background-color: window;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee; font-size: 13px;"&gt;\ [ queue2 | &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;v4l2sink2&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee; font-size: 13px;"&gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;branch 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑, Tahoma;"&gt;&lt;/P&gt;&lt;DIV style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;Now I want to remove v4l2sink1 and add it to pipeline again. First, &lt;P&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;//&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;....&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;blockpad = &lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0);"&gt;gst_element_get_static_pad(queue1,NULL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;gst_pad_add_probe (blockpad , (GstPadProbeType)GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM , pad_probe_cb, user_data, NULL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;gst_pad_remove_probe (&lt;/SPAN&gt;blockpad &lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;, GST_PAD_PROBE_INFO_ID (info));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;And then, in the callback &lt;SPAN style="background-color: window;"&gt;pad_probe_cb() ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: window;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;sinkpad = gst_element_get_static_pad (&lt;SPAN style="color: #222222; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;v4l2sink1&lt;/SPAN&gt;, "sink");&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;gst_pad_send_event (sinkpad, gst_event_new_eos ());&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;gst_pad_remove_probe (&lt;/SPAN&gt;sinkpad&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;, GST_PAD_PROBE_INFO_ID (info));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;gst_element_set_state (&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;v4l2sink1&lt;/SPAN&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;, GST_STATE_NULL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;gst_bin_remove (GST_BIN (pipeline),&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eeeeee;"&gt;v4l2sink1&lt;/SPAN&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;Problems has occured that neither branch1 nor branch2&amp;nbsp; has no videos on screen with the pipeline is playing and the audio output is ok.&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;It seems that the videostreams was block by adding a probe .&lt;SPAN style="color: inherit !important; background-color: rgba(0, 0, 0, 0);"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background-color: window;"&gt;t the same time , the branch2 seems receive block message too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 10px; font-family: verdana; font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt; background-color: window;"&gt;Pls tell me how to fix this problem .Any reply is appreciated .&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 10:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433978#M66310</guid>
      <dc:creator>neohong</dc:creator>
      <dc:date>2015-09-09T10:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: remove element dynamic pipelines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433979#M66311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe your pipeline go to PAUSE state, I send the document for dynamic pipelines, hope helpful for you&lt;/P&gt;&lt;P&gt;&lt;A href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html" title="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html"&gt;Dynamically changing the pipeline&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/message/564743#564743"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 07:44:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433979#M66311</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2015-09-17T07:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: remove element dynamic pipelines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433980#M66312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply .I have removed/added elements frome a pipeline successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 02:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/remove-element-dynamic-pipelines/m-p/433980#M66312</guid>
      <dc:creator>neohong</dc:creator>
      <dc:date>2015-09-22T02:40:37Z</dc:date>
    </item>
  </channel>
</rss>

