Muxing h264 video with sparse klv with Mpegtsmux

mz mzel314 at gmail.com
Mon Jan 25 18:10:21 UTC 2021


I can't confirm this solution is entirely successful (still having troubles
with utilizing the KLV in playback), but I found the best way to do this is
to utilize an appsink/src, with the appsink accumulating the KLV as it comes
in from your source, and the appsrc pushing it out towards the muxer. The
trick is that whenever you do NOT have any KLV buffers stored in the
appsink, you will need to push a gap buffer (with the GAP flag) to the
muxer. This will ensure the video frames are continuously processed, as
every video frame will either be muxed with a real KLV buffer from your
source or a "fake" gap buffer.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list