How to use splitmuxsink with multiple pipelines?

pisymbol . pisymbol at gmail.com
Fri Aug 2 19:58:02 UTC 2019


On Fri, Aug 2, 2019 at 3:48 PM Tim Müller <tim at centricular.com> wrote:

> 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.
>

Thanks Tim! Much appreciated. Give me a little credit for researching it (I
didn't dive into the code on master though).

-aps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190802/27b1d1ab/attachment.html>


More information about the gstreamer-devel mailing list