output-selector with splitmuxsink

dvescovi dvescovi at tampabay.rr.com
Tue Aug 20 13:19:46 UTC 2019


I have verified that this works:
gst-launch-1.0 -e v4l2src num-buffers=100 !
video/x-raw,width=1920,height=1080 ! videoconvert ! queue
min-threshold-time=3000000000 ! timeoverlay ! vpuenc_h264 ! h264parse !
splitmuxsink location=video%02d.mov max-size-time=1000000000

I now want to add an output-selector so I can flip between fakesink and the
file sink so I tried:
gst-launch-1.0 -e v4l2src num-buffers=100 !
video/x-raw,width=1920,height=1080 ! videoconvert ! queue
min-threshold-time=3000000000 ! timeoverlay ! output-selector name=s !
vpuenc_h264 ! h264parse ! splitmuxsink location=video%02d.mov
max-size-time=1000000000 s. ! fakesink

This compiles but stalls, the first file is created but with size of 0.

what am I missing?

also I assume the first element defined on the sync side of output-selector
is the "default" position. Is this correct?





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


More information about the gstreamer-devel mailing list