<?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 gst_object_set question. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1305948#M176746</link>
    <description>&lt;P&gt;I configured the gstreamer pipe line as follows.&lt;/P&gt;&lt;P&gt;--&amp;gt;&amp;gt; imxv4l2src device=/dev/video0 ! imv4l2sink&lt;/P&gt;&lt;P&gt;Before Status GST_STATE_PLAYING&lt;BR /&gt;g_object_set(src,device"/dev/video1", NULL)&lt;BR /&gt;You can select a camera with the command.&lt;/P&gt;&lt;P&gt;but gst_element_set_state(pipeline, GST_STATE_PLAYING);&lt;BR /&gt;g_object_set(src,device"/dev/video1", NULL);&lt;/P&gt;&lt;P&gt;command is not executed after the command.&lt;/P&gt;&lt;P&gt;Please tell me how to change the element property to g_object_set.&lt;BR /&gt;If src is videootesrc, the g_object_set command changes the property well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 06:59:53 GMT</pubDate>
    <dc:creator>kangmw086</dc:creator>
    <dc:date>2021-07-12T06:59:53Z</dc:date>
    <item>
      <title>gst_object_set question.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1305948#M176746</link>
      <description>&lt;P&gt;I configured the gstreamer pipe line as follows.&lt;/P&gt;&lt;P&gt;--&amp;gt;&amp;gt; imxv4l2src device=/dev/video0 ! imv4l2sink&lt;/P&gt;&lt;P&gt;Before Status GST_STATE_PLAYING&lt;BR /&gt;g_object_set(src,device"/dev/video1", NULL)&lt;BR /&gt;You can select a camera with the command.&lt;/P&gt;&lt;P&gt;but gst_element_set_state(pipeline, GST_STATE_PLAYING);&lt;BR /&gt;g_object_set(src,device"/dev/video1", NULL);&lt;/P&gt;&lt;P&gt;command is not executed after the command.&lt;/P&gt;&lt;P&gt;Please tell me how to change the element property to g_object_set.&lt;BR /&gt;If src is videootesrc, the g_object_set command changes the property well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1305948#M176746</guid>
      <dc:creator>kangmw086</dc:creator>
      <dc:date>2021-07-12T06:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: gst_object_set question.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1336000#M179675</link>
      <description>&lt;P&gt;what board do you use? do you want to test camera ？&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 09:16:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1336000#M179675</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-09-07T09:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: gst_object_set question.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1351662#M181171</link>
      <description>&lt;P&gt;i used i.MX6Q.&lt;/P&gt;&lt;P&gt;Test two cameras.&lt;/P&gt;&lt;P&gt;The GSTREAMER attribute change and PLAY PAUSE function do not work.&lt;/P&gt;&lt;P&gt;Please give me a simple example.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 06:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1351662#M181171</guid>
      <dc:creator>kangmw086</dc:creator>
      <dc:date>2021-10-07T06:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: gst_object_set question.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1393586#M185264</link>
      <description>&lt;P&gt;I'm not sure if I understand it correctly, you play from the video0 firstly, then you want to set pipeline to change to video1? after gst_element_set_state(pipeline, GST_STATE_PLAYING);(this for video0), you want to use "g_object_set(src,device"/dev/video1", NULL);“&amp;nbsp; to change to video1 from video0, am I right?if yes, maybe you need restart the pipeline, set the PALYING state to NULL firstly, you can refer to the link as below:&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://stackoverflow.com/questions/37254563/how-to-restart-a-pipeline-when-it-is-in-playing-state&amp;quot;" target="_blank"&gt;https://stackoverflow.com/questions/37254563/how-to-restart-a-pipeline-when-it-is-in-playing-state"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;you also can refer to the source code about setting&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://github.com/PanderMusubi/gstcam/blob/master/src/gstcam.c" target="_blank"&gt;https://github.com/PanderMusubi/gstcam/blob/master/src/gstcam.c&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jan 2022 11:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-object-set-question/m-p/1393586#M185264</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-01-01T11:52:24Z</dc:date>
    </item>
  </channel>
</rss>

