GstRtspServer.RTSPServer on Raspberry Pi [Python]

marcin at saepia.net marcin at saepia.net
Fri Mar 25 19:23:45 UTC 2016


You improperly use playbin in the RSTP server, it's not suited for such
linking. Try to use filesrc and then link appopriate parse/decoder/whatever
you want and end with payloader.

m.

2016-03-25 18:30 GMT+01:00 Vassiliev <Valera.Vassiliev at gmail.com>:

> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160325/9a2c8011/attachment.html>


More information about the gstreamer-devel mailing list