Gstreamer RTSP Stream freezes without any errors
I am currently working on a Gstreamer pipeline to read and display a RTSP stream from an IP Camera.
I am using
GStreamer Core Library version 1.16.2 with
Ubuntu 18.04.5 on a
Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz.
This is my pipeline -
gst-launch-1.0 urisourcebin buffer-size=4096 uri=rtsp://188.8.131.52:5544/stream ! decodebin ! fpsdisplaysink video-sink=xvimagesink sync=false
and these are the video stream parameters -
The problem is that it runs for a while and gets stuck/frozen randomly without anything in the logs.
This is the output in the terminal -
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Progress: (open) Opening Stream Progress: (connect) Connecting to rtsp://184.108.40.206:5544/stream 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 Got context from element 'vaapipostproc0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0"; Redistribute latency...
I have tried gst-debug-level 6 also and it doesn't show anything extra. Can you tell me what else I can try out or what the potential causes might be ?