clocksync

Simple element that passes all buffers and buffer-lists intact, but synchronising them to the clock before passing.

Synchronisation to the clock is on by default, but can be turned off by setting the 'sync' property to FALSE

Example launch line |[ gst-launch -v -m videotestsrc ! clocksync ! fakesink silent=TRUE ]|

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──clocksync

Factory details

Authors: – Jan Schmidt

Classification:Generic

Rank – none

Plugin – coreelements

Package – GStreamer

Pad Templates

sink

ANY

Presencealways

Directionsink

Object typeGstPad


src

ANY

Presencealways

Directionsrc

Object typeGstPad


Properties

qos

“qos” gboolean

Generate Quality-of-Service events upstream.

Flags : Read / Write

Default value : false

Since : 1.22


sync

“sync” gboolean

Synchronize to pipeline clock

Flags : Read / Write

Default value : true


sync-to-first

“sync-to-first” gboolean

When enabled, clocksync elemenet will adjust "ts-offset" value automatically by using given timestamp of the first buffer and running time of pipeline, so that clocksync element can output the first buffer immediately without clock waiting.

Flags : Read / Write

Default value : false

Since : 1.20


ts-offset

“ts-offset” gint64

Timestamp offset in nanoseconds for synchronisation, negative for earlier sync

Flags : Read / Write

Default value : 0


The results of the search are