<div dir="ltr"><div>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.<br><br></div>m.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-25 18:30 GMT+01:00 Vassiliev <span dir="ltr"><<a href="mailto:Valera.Vassiliev@gmail.com" target="_blank">Valera.Vassiliev@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for reply, saepia!<br>
<br>
I've tried this two pipelines on the server:<br>
'( playbin uri=file:///E:/Programs/Python/Gstreamer/sample_video.mp4 !<br>
h264parse ! rtph264pay name=pay0 pt=96 )'<br>
'( playbin uri=file:///E:/Programs/Python/Gstreamer/sample_video.mp4 !<br>
rtpmp4vpay name=pay0 pt=96 )'<br>
<br>
And on client I launch this:<br>
gst-launch-1.0 -v playbin uri=rtsp://<a href="http://192.168.1.19:8554/video" rel="noreferrer" target="_blank">192.168.1.19:8554/video</a><br>
<br>
Firstly, first frame of the video opens and I get this:<br>
<span class="">Setting pipeline to PAUSED ...<br>
</span>/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri =<br>
rtsp://<a href="http://192.168.1.19:85" rel="noreferrer" target="_blank">192.168.1.19:85</a><br>
54/video<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source =<br>
"\(GstRTSPSrc\)\ so<br>
urce"<br>
<span class="">Pipeline is live and does not need PREROLL ...<br>
Progress: (open) Opening Stream<br>
</span>Progress: (connect) Connecting to rtsp://<a href="http://192.168.1.19:8554/video" rel="noreferrer" target="_blank">192.168.1.19:8554/video</a><br>
<span class="">Progress: (open) Retrieving server options<br>
Progress: (open) Retrieving media info<br>
<br>
</span>And after about 15 secs it closes and this error prints:<br>
ERROR: from element<br>
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSr<br>
c:source: Could not read from resource.<br>
Additional debug info:<br>
gstrtspsrc.c(5893): gst_rtspsrc_try_send ():<br>
/GstPlayBin:playbin0/GstURIDecodeBi<br>
n:uridecodebin0/GstRTSPSrc:source:<br>
Could not receive message. (Timeout while waiting for server response)<br>
<span class="">ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
</span>What's the problem now?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/GstRtspServer-RTSPServer-on-Raspberry-Pi-Python-tp4676461p4676561.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/GstRtspServer-RTSPServer-on-Raspberry-Pi-Python-tp4676461p4676561.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>