<div dir="ltr"><font>Hello,</font><div><font><br></font></div><div><font>I&#39;ve looked through all the references I can find related to output-selector - including output-selector-tests.c.  I still cannot get it to work.</font></div>
<div><font><br></font></div><div><font>I&#39;m using this pipline</font></div><div><font><br></font></div><div><b id="internal-source-marker_0.8081336705945432" style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">videotestsrc i</span><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">s-live=true num-buffers=30 !</span></b></div>
<div><b style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">     ffmpegcolorspace !</span></b></div>
<div><b style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">     timeoverlay !</span></b></div><div>
<b style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">     ffmpegcolorspace !</span><br><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">     output-selector name=os </span></b></div>
<div><b style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">           os. ! queue ! ffmpegcolorspace ! autovideosink </span></b></div>
<div><b style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">           os.</span></b><b style="font-family:&#39;Times New Roman&#39;;font-size:medium"><span style="font-size:15px;font-family:Arial;font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> ! qu</span></b><span style="font-family:Arial;font-size:15px;white-space:pre-wrap">eue ! ffmpegcolorspace ! autovideosink</span></div>
<div><font><br></font></div><div><br></div><div><br></div><div>after the pipeline is assembled I issue </div><div><br></div><div><br></div><div><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-bottom:0px;font-size:13px;background-color:rgb(255,255,255)">
<code>g_object_get (G_OBJECT (sel), &quot;active-pad&quot;, &amp;srcpad1, NULL);</code></pre><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-bottom:0px;font-size:13px;background-color:rgb(255,255,255)">
<code><br></code></pre><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-bottom:0px;font-size:13px;background-color:rgb(255,255,255)"><code>and</code></pre><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-bottom:0px;font-size:13px;background-color:rgb(255,255,255)">
<br></pre><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-bottom:0px;font-size:13px;background-color:rgb(255,255,255)"><code><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-bottom:0px">
<code>gst_element_set_state (pipeline, GST_STATE_PLAYING);</code></pre>
</code></pre></div><div><font><br></font></div><div><font>Everything works fine if I take the output selector out.  However, with the output-selector there one videosink is displayed but the video is not updates.  just a static snap shot.  After num-buffers=30 expires the pipeline end. and the application closes normally.  So, the clock appears to be running, one frame got through to the sink but no more.</font></div>
<div><font><br></font></div><div>Interestingly<font> if I change num-buffers to 90 then the program hangs and does not exit after 3 seconds as expected.  Does this mean the queue is full?</font></div><div><font><br></font></div>
<div><font>Any ideas?</font></div><div><font><br></font></div><div><font>Anyone know a real world example where output-selector is being used. </font></div><div><font><br></font></div><div><font>Thanks,</font></div><div><font><br>
</font></div><div>Garth Tissington<div><div>250 891 4797</div><div>---</div><div><div><br></div><div>Given sufficient thrust pigs fly just fine.</div></div></div><br>
</div></div>