rtspsrc cannot work with video file streaming

markw63 mark.wyllie at virgin.net
Fri Feb 17 15:28:51 UTC 2017


It works nicely at 1.10.3 if you have all the dependencies installed -
particularly the srtp plugins in the rtspserver.
On OSX, this pipeline will play live audio and video that has been streamed
with this server pipeline in the rtspserver using the test-video.c in the
rtspserver examples with DEFINE TLS and DEFINE AUTH both set

server: 

v4l2src device=/dev/video2 !
video/x-h264,width=1280,height=720,framerate=20/1 ! h264parse ! rtph264pay
pt=96 name=pay0  alsasrc device="plughw:C920_1,DEV=0" do-timestamp=true !
audio/x-raw,format=S16LE,rate=16000,depth=16,channels=1 ! queue !
audioresample ! audio/x-raw,format=S16LE,rate=8000,channels=1 ! faac !
rtpmp4apay pt=97 name=pay1

client:

gst-launch-1.0 -e rtspsrc debug=1 location=rtsps://a.b.c.d:port/videoTX1
user-id=user user-pw=pass tls-validation-flags=generic-error
protocols=tcp+tls name=dem1 dem1. ! decodebin ! autovideosink sync=true
dem1. ! decodebin !  autoaudiosink sync=true

is an example - change a.b.c.d:port for wherever you have targetted your
rtsps stream. Note that this does not test or check certificates - just
allows encryption.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtspsrc-cannot-work-with-video-file-streaming-tp4679271p4681927.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list