<?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: reg: gst-launch stop command</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272893#M29730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agree with Leo, the gstreamer pipeline can be put to play or stop status by code setting, otherwise it has to get the events to do related things&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2014 05:00:26 GMT</pubDate>
    <dc:creator>jack_mao</dc:creator>
    <dc:date>2014-01-03T05:00:26Z</dc:date>
    <item>
      <title>reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272890#M29727</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When executing (in a command prompt) a gst-launch-ed pipeline that is capturing a live feed, what's the best way to stop it other than ctrl-C? I want to close it automatically,without the use of the keyboard...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/shanmugamsundar"&gt;shanmugamsundar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Raybiztech"&gt;Raybiztech&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 04:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272890#M29727</guid>
      <dc:creator>vishvapathi</dc:creator>
      <dc:date>2013-12-20T04:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272891#M29728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I tried to find the process id and kill the process, but i think thats not the correct way...&lt;/P&gt;&lt;P&gt;Can anyone suggest me an alternate/correct way of stopping livestreaming using gst-launch???? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/LeonardoSandovalGonzalez"&gt;LeonardoSandovalGonzalez&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jackmao"&gt;jackmao&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 04:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272891#M29728</guid>
      <dc:creator>vishvapathi</dc:creator>
      <dc:date>2014-01-03T04:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272892#M29729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way is to send the pipeline to NULL state in case you launching the pipeline inside a C program. From the shell, You can send a SIGINT signal with the command kill, check the man info.&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 04:46:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272892#M29729</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2014-01-03T04:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272893#M29730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agree with Leo, the gstreamer pipeline can be put to play or stop status by code setting, otherwise it has to get the events to do related things&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 05:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272893#M29730</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2014-01-03T05:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272894#M29731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The below grep and awk command does the work for me.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;system("ps | grep gst | awk '{print $1}' | xargs kill -2 $1");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is it fine or is there a better option??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your opinion plz..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 07:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272894#M29731</guid>
      <dc:creator>vishvapathi</dc:creator>
      <dc:date>2014-01-03T07:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272895#M29732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it works on the shell, then it should work using the system call 'system'. Just remember that looking at gst process with ps, it with also  pick the grep command, so I dont think those pipes will work all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 06:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272895#M29732</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2014-01-04T06:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: reg: gst-launch stop command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272896#M29733</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Through coding you can use this instruction to make the pipeline to NULL state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gst_element_set_state (pipeline, GST_STATE_NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;RayBiztech.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 07:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/reg-gst-launch-stop-command/m-p/272896#M29733</guid>
      <dc:creator>Raybiztech</dc:creator>
      <dc:date>2014-01-04T07:11:09Z</dc:date>
    </item>
  </channel>
</rss>

