splitmuxsink with rtspsrc EOS problem

alexolut alexolut at gmail.com
Mon Oct 24 08:22:20 UTC 2016


Mandar Joshi wrote
> I am trying to record a RTSP stream produced by gst-rtsp-server using
> splitmuxsink.
> I have managed to reproduce the problem using 'the test-launch'
> example as the rtsp sender and 'gst-launch-1.0' as the receiver.
> 
> 
> --------------------------------------------------------------------------------------------------------------------
> Sender:
> $ ./test-launch "( v4l2src device=/dev/video1 !
> video/x-raw,width=640,height=480 ! openh264enc ! rtph264pay name=pay0
> pt=96 )" 127.0.0.1
> 
> Receiver:
> $ gst-launch-1.0 -e rtspsrc location=rtsp://127.0.0.1:8556/test !
> rtph264depay ! h264parse ! splitmuxsink location="record%05d.mp4"
> max-size-time=10000000000
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Progress: (open) Opening Stream
> Progress: (connect) Connecting to rtsp://127.0.0.1:8556/test
> Progress: (open) Retrieving server options
> Progress: (open) Retrieving media info
> Progress: (request) SETUP stream 0
> Progress: (open) Opened Stream
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Progress: (request) Sending PLAY request
> Progress: (request) Sending PLAY request
> Progress: (request) Sent PLAY request
> ^Chandling interrupt.
> Interrupt: Stopping pipeline ...
> EOS on shutdown enabled -- Forcing EOS on the pipeline
> Waiting for EOS...
> 
> --------------------------------------------------------------------------------------------------------------------
> 
> It gets stuck at "Waiting for EOS" after I press Ctrl+C. I am using
> GStreamer 1.8.3 on Fedora 24 amd64.

I have same problem on Windows7 with GStreamer 1.8.1.
If I use "filesink" instead of "splitmuxsink", everything works fine.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/splitmuxsink-with-rtspsrc-EOS-problem-tp4680078p4680185.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list