<div dir="ltr"><div>I am guessing that it all comes down to the type and the load of the processing being done in the sink and the maximum delay of a frame before it can be dropped at the sink.</div><div><br></div><div>That is if the sink is not rendering (e.g. udpsink/filesink/appsink), it is safe to assume that those can have sync=1 since they don't need that much of processing power unlike rendering a 4k image for example.</div><div>Another sink I had a problem with was the nvegglessink that it was dropping frames not because of sync=1 but because it was generating qos messages instructing upstream elements to drop frames.</div><div><br></div><div>At this point, it's also safe to set sync=0 on udpsink/filesink/appsink because it will mean that I want my pipeline to have less latency and be more responsive regardless of having a live source or not.</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 3, 2021 at 4:00 PM Marianna Smidth Buschle via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I get the basic usage of the sync property of sink elements, fx when <br>
viewing a video from a live (camera) or file src.<br>
<br>
<br>
I normally use sync=0 in the autovideosink when I have a live src <br>
because my machine often has problems being able to display fast enough, <br>
so sync=1 stutters.<br>
<br>
While if I use a filesrc I know that sync=0 will play the file faster <br>
than the fps, which doesnt happens with a live src since it cant produce <br>
frames faster than the fps.<br>
<br>
<br>
My question is what about other types of sink?<br>
Where does it make sense to use true/false? Which consequences does it have?<br>
<br>
Fx a udpsink when streaming?<br>
<br>
Or an appsink?<br>
<br>
Or a filesink?<br>
<br>
-- <br>
<br>
Best regards / Med venlig hilsen<br>
“Marianna Smidth Buschle”<br>
<br>
</blockquote></div>