You can use like this Example in my code:<br>gst-launch -v dvbsrc do-timestamp=true modulation=AUTO trans-mode=AUTO<br>
<div class="im">bandwidth=AUTO frequency=586000000
code-rate-lp=AUTO guard=AUTO<br>
</div>hierarchy=NONE pids=16:17:18:110:120:130:140 ! flutsdemux
name=demux<br>
program-number=257 ! queue max-size-buffers=0 max-size-time=0 !
mpeg2dec<br>
! xvimagesink <b><span class="il">sync</span>=<span class="il">true</span></b> demux. ! queue max-size-buffers=0
max-size-time=0<br>
! mad ! alsasink <b><span class="il">sync</span>=<span class="il">true</span></b><br><br><div class="gmail_quote">On Wed, May 19, 2010 at 12:39 AM, Rob Clark <span dir="ltr"><<a href="mailto:rob@ti.com">rob@ti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">sync=false disables A/V sync..<br>
<br>
in your case, you might get weirdness if you try and synchronize video<br>
preview display to audio capture... so you probably want sync=false,<br>
and it should at least not hurt.<br>
<br>
If you are getting messages about timestamping problems and xvimagesink<br>
dropping frames, then try sync=false<br>
<br>
BR,<br>
<font color="#888888">-R<br>
</font><div><div></div><div class="h5"><br>
On 05/18/2010 01:56 PM, Daniel Drake wrote:<br>
> Hi,<br>
><br>
> Google shows many examples of using the xvimagesink element with<br>
> sync=false but I can't find any explanation of what this actually does<br>
> and why someone might want to use it. The GstBaseSink documentation<br>
> only has 1 line on this property and it isn't very enlightening.<br>
><br>
> What does it do?<br>
><br>
> In OLPC's Record activity we use xvimagesink for a live video preview<br>
> of the photograph which is about to be taken, or for a live preview of<br>
> the video that we are currently recording to disk. Given that we're<br>
> only talking about a video preview, we're suspecting that sync=false<br>
> is something that we'd want, assuming that it results in xvimagesink<br>
> being able to display frames at times which are most convenient<br>
> without having to worry about the clock, resulting in less resource<br>
> usage on the system. Is there any truth here?<br>
><br>
> Thanks,<br>
> Daniel<br>
><br>
> ------------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>
<br>
<br>
------------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanx & Regards<br>Ajay Gautam<br>+91-9717785580<br>