Switching Files?

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

Switching Files?

killerrats
gst-launch-1.0 rtspsrc ! depay ! parse ! decode ! tee 
! queue name=blockedqueue ! queue ! encoder ! parse ! mux ! filesink

I have a pipeline that will break off the branch and relink the elements to set a new file to record. when it 
switches to a new file and starts recording some transition issues will arise second or two. this is in the beginning of the file. i tried to 
follow what splitmuxsink code did. kept track of the blocked src pads to then have a probe to keep track of 
incoming buffers to have a GstClockTime and set on the filesink.

anyone know how to fix this?

1. black screen
2. fast speed for for a second or two like its catching up.

------------------------------
Gstreamer 1.14.3
------------------------------
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.14.3
------------------------------
Windows
Reply | Threaded
Open this post in threaded view
|

Re: Switching Files?

Michael Gruner
Why can’t you use splitmuxsink directly?

On Feb 3, 2020, at 12:39, killerrats <[hidden email]> wrote:


gst-launch-1.0 rtspsrc ! depay ! parse ! decode ! tee 
! queue name=blockedqueue ! queue ! encoder ! parse ! mux ! filesink

I have a pipeline that will break off the branch and relink the elements to set a new file to record. when it 
switches to a new file and starts recording some transition issues will arise second or two. this is in the beginning of the file. i tried to 
follow what splitmuxsink code did. kept track of the blocked src pads to then have a probe to keep track of 
incoming buffers to have a GstClockTime and set on the filesink.

anyone know how to fix this?

1. black screen
2. fast speed for for a second or two like its catching up.

------------------------------
Gstreamer 1.14.3
------------------------------
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-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Switching Files?

killerrats
seems to have a problem long term when staying connected to the camera. for
some reason seems to have a problem in the queue or something.



-----
------------------------------
Gstreamer 1.14.3
------------------------------
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.14.3
------------------------------
Windows