Muxing klv metadata with splitmuxsink

Tim Müller tim at centricular.com
Thu Oct 29 16:18:58 UTC 2020


On Wed, 2020-10-28 at 08:08 -0500, cbourget wrote:

Hi Charles,

> I'm trying to develop a pipeline which could mux a metadata stream
> (klv) and a video stream into multiple mpeg video file.
>  (...)
> This pipeline works perfectly but I also need the extra functonnality
> provided by the splitmuxsink element.
> But as far as I know this element does not seem to handle klv
> metadata.
> Nonetheless I tried the following pipeline :
> 
> gst-launch-1.0 udpsrc uri=udp://224.0.0.1:5001 ! application/x-rtp,
> enconding-name=H264, payload=96 ! rtph264depay !\
> muxer. udpsrc uri=udp://224.0.0.1:5000 ! meta/x-klv !\
> muxer. splitmuxsink muxer=mpegtsmux name=muxer sink=filesink
> location=test-%05d.mpg max-size-bytes=104857600 async-handling=true
> mux-overhead=0.05 message-forward=true
> 
> But when I run this pipeline I get the following error : 
> WARNING: erroneous pipeline: could not link udpsrc1 to muxer with
> caps meta/x-klv
> 
> Is there a way to link the udpsrc for metadata to the muxer in the
> splitmuxsink?

Not sure if that works already.

Have you tried meta/x-klv,parsed=true as well? That's what mpegtsmux
wants according to gst-inspect.

But I'm not sure if it'll work already with that or if we'd need to add
another request pad template to splitmuxsink.

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list