Restarting splitmuxsink fails

getashok ashok.krishnan at gmail.com
Tue Aug 20 17:06:17 UTC 2019


Hello Jake,

Thank you for this post as I took lot of your recommendation for my work. I
am using Python.

I am currently working on using splitmuxsink to read a camera and split the
videos into 2 mins chunks based on a start and stop signal from application. 

It does it perfectly and I followed your advice of build pipeline -> build
splitmuxsink-> set location/format location for customized file names ->add
sink -> play when start begins. When stops -> unlinking the splitmuxsink ->
removing it from pipeline -> set state Null. Basically reestablishing
splitmuxsink everytime, I begin recording based on the start signal from
application. While it writes the file, the files that were stopped midway
(stopped before 2 mins max time) are not playable. I am using H264 encoding. 

I tried sending the EOS on the pipeline and also the element to catch it but
the message never gets send and the call back message function never gets
called.

Are there any other things I am missing?

Thanks again!



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


More information about the gstreamer-devel mailing list