Example code for muxing klv (meta/x-klv) with mpegtsmux (plugins-bad) and GStreamer 1.8.3

Arjen Veenhuizen arjen at moonlightmedia.nl
Tue Sep 26 20:12:58 UTC 2017


It has been a while since I muxed KLV using mpegtsmux, but your approach
seems to be quite about right.
I just had to make sure that I feed the muxer with KLV data *every* (video)
frame and make sure the PTS is correct.

Some python snippets:





Be sure to push an eos event on appsrc srcpad when you are done (e.g.
event-probe the muxer video sync pad for the EOS event), otherwise your
pipeline will stall.

Hope it helps.



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


More information about the gstreamer-devel mailing list