GstRtspServer.RTSPServer on Raspberry Pi [Python]

Vassiliev Valera.Vassiliev at gmail.com
Fri Mar 25 17:30:40 UTC 2016


Thank you for reply, saepia!

I've tried this two pipelines on the server:
'( playbin uri=file:///E:/Programs/Python/Gstreamer/sample_video.mp4 !
h264parse ! rtph264pay name=pay0 pt=96 )'
'( playbin uri=file:///E:/Programs/Python/Gstreamer/sample_video.mp4 !
rtpmp4vpay name=pay0 pt=96 )'

And on client I launch this:
gst-launch-1.0 -v playbin uri=rtsp://192.168.1.19:8554/video

Firstly, first frame of the video opens and I get this:
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri =
rtsp://192.168.1.19:85
54/video
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source =
"\(GstRTSPSrc\)\ so
urce"
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.1.19:8554/video
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info

And after about 15 secs it closes and this error prints:
ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSr
c:source: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5893): gst_rtspsrc_try_send ():
/GstPlayBin:playbin0/GstURIDecodeBi
n:uridecodebin0/GstRTSPSrc:source:
Could not receive message. (Timeout while waiting for server response)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
What's the problem now?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstRtspServer-RTSPServer-on-Raspberry-Pi-Python-tp4676461p4676561.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list