GstRtspServer.RTSPServer on Raspberry Pi [Python]
Vassiliev
Valera.Vassiliev at gmail.com
Sat Mar 26 14:29:42 UTC 2016
Now I've tried to launch it on Raspberry Pi with pipelines:
'( videotestsrc pattern=smpte is-live=1 ! video/x-raw, width=1280,
height=720 ! decodebin ! x264enc ! rtph264pay pt=96 name=pay0 )'
'( videotestsrc pattern=smpte is-live=1 ! video/x-raw, width=1280,
height=720 ! x264enc ! rtph264pay pt=96 name=pay0 )'
'( filesrc location=/home/pi/sample_video.mp4 ! decodebin ! x264enc !
rtph264pay pt=96 name=pay0 )'
And also without
self.factory.set_transport_mode(GstRtspServer.RTSPTransportMode.PLAY)
because I received an error, that MediaFactory doesn't have a method
set_transport_mode, while on PC it works correct.
Receiving this stream with
gst-launch-1.0 -v playbin uri=rtsp://192.168.1.13:85
54/video
gst-launch-1.0 -v rtspsrc location=rtsp://192.168.1.
13:8554/video ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
throws me into error after 15 seconds? like when I used playbin in RTSP:
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
read f
rom resource.
Additional debug info:
gstrtspsrc.c(5893): gst_rtspsrc_try_send ():
/GstPipeline:pipeline0/GstRTSPSrc:r
tspsrc0:
Could not receive message. (Timeout while waiting for server response)
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstRtspServer-RTSPServer-on-Raspberry-Pi-Python-tp4676461p4676570.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list