gst.reference_timestamp_meta
Module for [ReferenceTimestampMeta] class
class ReferenceTimestampMeta
Types 1
#GstReferenceTimestampMeta can be used to attach alternative timestamps and possibly durations to a #GstBuffer. These are generally not according to the pipeline clock and could be e.g. the NTP timestamp when the media was captured.
The reference is stored as a #GstCaps in @reference. Examples of valid references would be
timestamp/x-drivername-stream: for timestamps that are locally
generated by some driver named drivername when generating the stream, e.g. based on a frame counter
timestamp/x-ntp, host=pool.ntp.org, port=123: for timestamps based on a
specific NTP server. Note that the host/port parameters might not always be given.
timestamp/x-ptp, version=IEEE1588-2008, domain=1: for timestamps based
on a given PTP clock.
timestamp/x-unix: for timestamps based on the UNIX epoch according to
the local clock.
Since 1.24 it can be serialized using [gst.meta.Meta.serialize] and [gst.meta.Meta.deserialize].
Fields
GstReferenceTimestampMeta _cInstanceMethods
void * _cPtr()gst.caps.Caps reference() @propertyGet `reference` field. Returns: identifier for the timestamp reference.void reference(gst.caps.Caps propval) @propertySet `reference` field. Params: propval = identifier for the timestamp reference.void timestamp(gst.types.ClockTime propval) @propertySet `timestamp` field. Params: propval = timestampgst.types.ClockTime duration() @propertyGet `duration` field. Returns: duration, or [gst.types.CLOCKTIMENONE]void duration(gst.types.ClockTime propval) @propertySet `duration` field. Params: propval = duration, or [gst.types.CLOCKTIMENONE]gst.meta_info.MetaInfo getInfo()Gets the global #GstMetaInfo describing the #GstReferenceTimestampMeta meta. Returns: The #GstMetaInfo