Jump to content

GstSEIMetadata/User Guide: Difference between revisions

m
mNo edit summary
Line 79: Line 79:
</syntaxhighlight>
</syntaxhighlight>


As you can see, one of the properties of the element is called metadata; it is possible to use this property to insert a message. For example the following pipeline uses the seiinject element to insert the message "Hello World" as metadata, note that it only adds it to the first buffer.
===Important properties===
 
* metadata: It is possible to use this property to insert a message. For example the following pipeline uses the seiinject element to insert the message "Hello World" as metadata, note that it only adds it to the first buffer.
<pre>
<pre>
gst-launch-1.0 videotestsrc ! x264enc ! seiinject metadata="Hello World" ! filesink location=seiinject_videotestsrc.h264 -v
gst-launch-1.0 videotestsrc ! x264enc ! seiinject metadata="Hello World" ! filesink location=seiinject_videotestsrc.h264 -v
</pre>
</pre>
* metadata-binary: property used to insert metadata as binary see [[GStreamer H264 - H265 Metadata/Examples/C Example|C Example]]


==SeiMetatester element==
==SeiMetatester element==
227

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.