How to use splitmuxsink with multiple pipelines?

pisymbol . pisymbol at gmail.com
Fri Aug 2 19:27:33 UTC 2019


On Fri, Aug 2, 2019 at 2:40 PM pisymbol . <pisymbol at gmail.com> wrote:

> Here is what I was using:
>
> matroskamux name=muxer streamable=true ! multifilesink name=mfsink
> post-messages=true next-file=5 max-file-duration=\"{}\" location=\"{}\"
> .. ! h264parse ! queue ! muxer.video_0
> .. ! h264parse ! queue ! muxer.video_1
>
> Which works fine. 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
>
> I've Googled extensively but I can't find an example of using splitmuxsink
> with two different pipelines (this thread came the closest:
> http://gstreamer-devel.966125.n4.nabble.com/record-H264-stream-use-multifilesink-td4684985.html
> )
>
>
After looking at some debug output and then gst-inspect-1.0:

Pad Templates:
  SINK template: 'video'
    Availability: On request
      Has request_new_pad() function: gst_splitmux_sink_request_new_pad
    Capabilities:
      ANY

  SINK template: 'audio_%u'
    Availability: On request
      Has request_new_pad() function: gst_splitmux_sink_request_new_pad
    Capabilities:
      ANY

Only one video stream, huh? Bummer

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


More information about the gstreamer-devel mailing list