h265ccinserter
Extracts closed caption metas from buffer and inserts them as SEI messages.
For a more generic element that also supports unregistered SEI messages, see h265seiinserter.
Example launch line
gst-launch-1.0.exe filesrc location=video.mp4 ! parsebin name=p ! h265parse ! \
queue ! cccombiner name=c ! \
h265ccinserter remove-caption-meta=true caption-meta-order=display ! \
h265parse ! avdec_h265 ! videoconvert ! cea608overlay ! queue ! autovideosink \
filesrc location=caption.mcc ! mccparse ! ccconverter ! \
closedcaption/x-cea-708,format=(string)cc_data ! queue ! c.caption
Above pipeline inserts closed caption data to already encoded H.265 stream and renders. Because mccparse outputs caption data in display order, "caption-meta-order=display" property is required in this example.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstCodecSEIInserter ╰──GstH265CCInserter
Factory details
Authors: – Seungha Yang
Classification: – Codec/Video/Filter
Rank – none
Plugin – closedcaption
Package – GStreamer Bad Plug-ins
Pad Templates
Properties
do-timestamp
“do-timestamp” gboolean
Recalculate DTS based on input PTS and output frame order.
When enabled, the element ignores any DTS values present on incoming frames and always derives new DTS values from the input PTS and the actual output (decode) order of frames.
Flags : Read / Write
Default value : false
Since : 1.30
The results of the search are