GstSEIMetadata/User Guide: Difference between revisions

m
no edit summary
mNo edit summary
Line 11: Line 11:
To extract metadata it's possible to use the RidgeRun Gstreamer element seiextract. Once you have the pipeline with a seiextract element it is going to take the metadata in the h264 buffer and add it as a GstMeta to the output buffer. Also includes a signal property for the metadata message.
To extract metadata it's possible to use the RidgeRun Gstreamer element seiextract. Once you have the pipeline with a seiextract element it is going to take the metadata in the h264 buffer and add it as a GstMeta to the output buffer. Also includes a signal property for the metadata message.


== seiinject element ==
== SeiInject element ==
The expected output of running <pre>gst-inspect-1.0 seiinject</pre> is the following:
The expected output of running <pre>gst-inspect-1.0 seiinject</pre> is the following:


Line 87: Line 87:
</pre>
</pre>


==seimetatester element==
==SeiMetatester element==
The expected output of running <pre>gst-inspect-1.0 seimetatester</pre> is the following:
The expected output of running <pre>gst-inspect-1.0 seimetatester</pre> is the following:


Line 156: Line 156:
</pre>
</pre>


== seiextract element ==
== SeiExtract element ==
The expected output of running <pre>gst-inspect-1.0 seiextract</pre> is the following:
The expected output of running <pre>gst-inspect-1.0 seiextract</pre> is the following:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
Line 229: Line 229:
</syntaxhighlight>
</syntaxhighlight>


The following pipeline use the seiextract element to add a GstMeta with the message "Hello World" to the output buffe.
The following pipeline use the seiextract element to add a GstMeta with the message "Hello World" to the output buffer.
<pre>
<pre>
gst-launch-1.0 videotestsrc ! x264enc ! seiinject metadata="Hello World" ! seiextract ! filesink location=seiinject_videotestsrc.h264 -v
gst-launch-1.0 videotestsrc ! x264enc ! seiinject metadata="Hello World" ! seiextract ! filesink location=seiinject_videotestsrc.h264 -v
227

edits