RTSP Streaming audio/video

bomba jhonata.poma at gmail.com
Thu Feb 18 17:28:08 UTC 2016


Hello, 

I'd like to produce an RTSP stream of mixed audio and video coming from a
raspberry pi to my computer.
Currently I'm achieving the task producing two separate tcpserversink, like
this:

# SERVER
raspivid -t 0 -rot 180 -w 640 -h 480 -fps 20 -b 256000 -o - | gst-launch-1.0
-v \
fdsrc ! \
h264parse ! \
rtph264pay ! \
gdppay ! \
tcpserversink host=0.0.0.0 port=5000 \
alsasrc device=plughw:0 ! \
audioconvert ! \
audioresample ! \
opusenc ! \
rtpopuspay ! \
gdppay ! \
tcpserversink host=0.0.0.0 port=5001

# CLIENT
gst-launch-1.0 -v tcpclientsrc host=${TARGET_IP} port=5000 ! \
gdpdepay ! \
rtph264depay ! \
avdec_h264 ! \
autovideosink sync=false \
tcpclientsrc host=${TARGET_IP} port=5001 ! \
gdpdepay ! \
rtpopusdepay ! \
opusdec ! \
alsasink sync=false


Any clues?
J




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-Streaming-audio-video-tp4675933.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list