532
edits
Line 97: | Line 97: | ||
* metadata-binary: property used to insert metadata as binary see [[GStreamer H264 - H265 Metadata/Examples/C Example|C Example]] | * metadata-binary: property used to insert metadata as binary see [[GStreamer H264 - H265 Metadata/Examples/C Example|C Example]] | ||
== | ==SeiMetatimestamp element== | ||
The expected output of running <pre>gst-inspect-1.0 | The expected output of running <pre>gst-inspect-1.0 seimetatimestamp</pre> is the following: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Factory Details: | Factory Details: | ||
Rank none (0) | Rank none (0) | ||
Line 112: | Line 111: | ||
Name sei | Name sei | ||
Description Gstreamer plugin to add meta-data as SEI NAL units | Description Gstreamer plugin to add meta-data as SEI NAL units | ||
Filename /usr/lib/ | Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libsei.so | ||
Version 0. | Version 0.5.4 | ||
License Proprietary | License Proprietary | ||
Source module gst-sei | Source module gst-sei | ||
Line 124: | Line 123: | ||
+----GstElement | +----GstElement | ||
+----GstBaseTransform | +----GstBaseTransform | ||
+---- | +----GstSeiMetaTimestamp | ||
Pad Templates: | Pad Templates: | ||
SINK template: 'sink' | |||
Availability: Always | Availability: Always | ||
Capabilities: | Capabilities: | ||
ANY | |||
SRC template: 'src' | |||
Availability: Always | Availability: Always | ||
Capabilities: | Capabilities: | ||
ANY | |||
Element has no clocking capabilities. | Element has no clocking capabilities. | ||
Line 150: | Line 147: | ||
Element Properties: | Element Properties: | ||
name : The name of the object | name : The name of the object | ||
flags: readable, writable | flags: readable, writable, 0x2000 | ||
String. Default: " | String. Default: "seimetatimestamp0" | ||
parent : The parent of the object | parent : The parent of the object | ||
flags: readable, writable | flags: readable, writable, 0x2000 | ||
Object of type "GstObject" | Object of type "GstObject" | ||
qos : Handle Quality-of-Service events | qos : Handle Quality-of-Service events | ||
flags: readable, writable | flags: readable, writable | ||
Boolean. Default: false | Boolean. Default: false | ||
timestamp-source : Source clock for timestamp calculation | |||
flags: readable, writable | |||
Enum "GstSeiMetaTimestampSources" Default: 0, "pipeline" | |||
(0): pipeline - Pipeline clock (use only when pipelines ares using the same clock) | |||
(2): sysclk - System clock | |||
(1): buffer - Buffer timestamp | |||
(3): reference - Reference timestamp | |||
</syntaxhighlight> | </syntaxhighlight> | ||
As shown in the description, this element adds a GstMeta to each buffer. An example of how to use this would be the following pipeline with the seiinject and | As shown in the description, this element adds a GstMeta to each buffer. An example of how to use this would be the following pipeline with the seiinject and seimetatimestamp elements. | ||
<pre> | <pre> | ||
gst-launch-1.0 videotestsrc ! x264enc ! | gst-launch-1.0 videotestsrc ! x264enc ! seimetatimestamp ! seiinject metadata="Hello World" ! filesink location=seiinject_videotestsrc.h264 -v | ||
</pre> | </pre> | ||
edits