stop pipeline when returns null to signal

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

stop pipeline when returns null to signal

killerrats
Administrator
I'm having trouble stopping the pipeline after the splitmuxsink signal to
return a new filename to record. If I return null or empty string will have
a trouble stopping the pipeline. it will hang at changing the pipeline
state.

what is the way to unlink and stop the pipeline? all I do is set pipeline to
null and then unref the pipeline.



-----
------------------------------
Gstreamer 1.14.4
------------------------------
Windows
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
------------------------------
Gstreamer 1.16.2
------------------------------
Windows
Reply | Threaded
Open this post in threaded view
|

Re: stop pipeline when returns null to signal

killerrats
Administrator
figured out if i add the fakesink to each of the tees'. Then in the signal if it will go to return a null in the signal will start a new thread to remove the recorded branch and start the pipeline over again.

gst-launch-1.0 rtspsrc name=src ! 
rtph264depay ! h264parse ! tee name=vtee ! fakesink 
                     vtee. ! queue ! splitmuxsink name=mux
src. ! rtpmp4gdepay ! tee name=atee ! fakesink 
                     atee. ! queue ! mux.
------------------------------
Gstreamer 1.14.4
------------------------------
Windows


Sent from the GStreamer-devel mailing list archive at Nabble.com.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
------------------------------
Gstreamer 1.16.2
------------------------------
Windows