AW: sync=false and rate

Thornton, Keith keith.thornton at zeiss.com
Tue Apr 13 06:15:28 UTC 2021


Hi, sync=false tells the sink to ignore the timestamps and immediately output any frames it receives. If you put a videorate in your pipeline it might help.
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von eyalhir74
Gesendet: Montag, 12. April 2021 15:26
An: gstreamer-devel at lists.freedesktop.org
Betreff: sync=false and rate

Hi,
  I would appreciate if someone could explain why this:
gst-launch-1.0 videotestsrc !  video/x-raw,framerate=10/1 ! fpsdisplaysink video-sink=xvimagesink

  Displays the video in 10fps
  And the one below, ignores the 10fps limit:
gst-launch-1.0 videotestsrc !  video/x-raw,framerate=10/1 ! fpsdisplaysink video-sink=xvimagesink sync=false

 Obviously the difference is the "sync=false" element. But why?

 Also, what can I do if I want to add a videotestsrc that will output 10fps images to a bin which ends with a xvimagesink with sync=false, and I can't drop the sync=false code?

thanks
Eyal



--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=04%7C01%7C%7Ce835eb290a9743b2718208d8fdbf8279%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637538346257017513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Q4PVbuT%2Fnr5N2n%2B%2BqwX3wNTL5Ga0DLA8QLic1Ns6cBA%3D&reserved=0
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=04%7C01%7C%7Ce835eb290a9743b2718208d8fdbf8279%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637538346257027471%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=z%2FTqH7%2FgLn4VaLpqjRKXXT7owdj8m9gV6pwNcWM0GJs%3D&reserved=0


More information about the gstreamer-devel mailing list