<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 11, 2014 at 8:27 AM, 007GK <span dir="ltr"><<a href="mailto:sneha.nie@gmail.com" target="_blank">sneha.nie@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was trying gstreamer with various plugin/elements and could not understand few basic terms.<p style="margin-bottom:0in">
</p><p style="margin-bottom:0in">1. When to use sync=false, sync=true, sync=1 with sink elements?<br></p></div></blockquote><div><br></div><div>sync=true, sync=1 are the same. sync=false, sync=0 are also the same. Use whichever is more convenient.<br>
</div><div><br></div><div>Normally you use sync=true when you will have someone watching the results in real-time, as it synchronizes the output to the speed the video and audio should be played at.<br><br></div><div>If your pipeline just does processing, (ie, reads from one file and writes to another) then you can set sync=false and the pipeline will run as fast as it can.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="margin-bottom:0in"></p>
<p style="margin-bottom:0in">
</p>
<p style="margin-bottom:0in">2. When to use autovideosink?</p></div></blockquote><div><br></div><div>When you don't want fine control over which monitor you are sending output to, or in a single-monitor setup, autovideosink saves effort by finding a video output (usually a monitor) and sending the video there.<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<p style="margin-bottom:0in">3. Which is the demuxer to be used with
decklinksrc?</p></div></blockquote><div><br></div><div>Decklinksrc doesn't need a demuxer as it produces separate audiosrc and videosrc outputs. You only need a demuxer when you are trying to convert a single mux'ed stream into a number of video and/or audio streams.<br>
<br></div><div>I should point out that there is a known bug with decklinksrc that it doesn't work with its output set to sync=true, so you need to use sync=false. The bug is being worked on, last I heard.<br> <br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<p style="margin-bottom:0in">4. What is ffmpegcolorspace element?</p></div></blockquote><div><br></div><div>It uses the ffmpeg library to convert from one video colorspace (such as RGB) to another (such as YUV). It can, in general, convert between most compatible forms of video encoding.<br>
<br></div><div>However, its also a 0.10 element. I *strongly* recommend moving to 1.0 and later, as the early versions are very buggy and are not being maintained any more.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<p style="margin-bottom:0in">5. For below pipeline gst-launch errors out saying :
WARNING: erroneous pipeline: could not link queue0 to audioconvert0
</p></div></blockquote><br><div>I have no idea why just swapping the order of specifying video and audio components should cause gst-launch to fail. Sorry.<br></div><br></div>-- <br>Stirling Westrup<br>Programmer, Entrepreneur.<br>
<a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br><a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br>
<a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a>
</div></div>