<p dir="ltr">Use GstRtspServer, Luke :)</p>
<div class="gmail_quote">18 февр. 2016 г. 21:00 пользователь "bomba" <<a href="mailto:jhonata.poma@gmail.com">jhonata.poma@gmail.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'd like to produce an RTSP stream of mixed audio and video coming from a<br>
raspberry pi to my computer.<br>
Currently I'm achieving the task producing two separate tcpserversink, like<br>
this:<br>
<br>
# SERVER<br>
raspivid -t 0 -rot 180 -w 640 -h 480 -fps 20 -b 256000 -o - | gst-launch-1.0<br>
-v \<br>
fdsrc ! \<br>
h264parse ! \<br>
rtph264pay ! \<br>
gdppay ! \<br>
tcpserversink host=0.0.0.0 port=5000 \<br>
alsasrc device=plughw:0 ! \<br>
audioconvert ! \<br>
audioresample ! \<br>
opusenc ! \<br>
rtpopuspay ! \<br>
gdppay ! \<br>
tcpserversink host=0.0.0.0 port=5001<br>
<br>
# CLIENT<br>
gst-launch-1.0 -v tcpclientsrc host=${TARGET_IP} port=5000 ! \<br>
gdpdepay ! \<br>
rtph264depay ! \<br>
avdec_h264 ! \<br>
autovideosink sync=false \<br>
tcpclientsrc host=${TARGET_IP} port=5001 ! \<br>
gdpdepay ! \<br>
rtpopusdepay ! \<br>
opusdec ! \<br>
alsasink sync=false<br>
<br>
<br>
Any clues?<br>
J<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/RTSP-Streaming-audio-video-tp4675933.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/RTSP-Streaming-audio-video-tp4675933.html</a><br>
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>
</blockquote></div>