How to use splitmuxsink with multiple pipelines?

Tim Müller tim at centricular.com
Fri Aug 2 19:48:19 UTC 2019


On Fri, 2019-08-02 at 15:27 -0400, pisymbol . wrote:

Hi,

> > But If I translate this to splitmuxsink, gst-launch complains that
> > it can't connect queue to muxer:
> > 
> > splitmuxsink name=muxer send-keyframe-requests=10000000000
> > muxer=matroskamux muxer-properties="properties,streamable=true"
> > max-size-time=\"{}\" location=\"{}\"
> > .. ! h264parse ! queue ! muxer.video_0
> > .. ! h264parse ! queue ! muxer.video_1
> > 
> > (snip)
> 
> After looking at some debug output and then gst-inspect-1.0:
> 
> Pad Templates:
>   SINK template: 'video'
>     Availability: On request
> 
> Only one video stream, huh? Bummer

splitmuxsink in git master supports multiple video streams. The pad for
the main stream (which will be used to determine where things get
split) is called "video" and the ones for the other video streams is
called "video_aux_0" etc. then.

Cheers
 Tim

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



More information about the gstreamer-devel mailing list