splitmuxsink with rtspsrc EOS problem

Mandar Joshi emailmandar at gmail.com
Mon Oct 17 08:17:31 UTC 2016


Hello everyone,
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.

Any suggestions?

Thanks
Mandar Joshi


More information about the gstreamer-devel mailing list