VLC and RTSP for live streaming
Tim Müller
tim at centricular.com
Sun Nov 29 02:52:57 PST 2015
On Sun, 2015-11-29 at 10:25 +0000, Tim Müller wrote:
> rtspsrc location=rtsp://127.0.0.1:8554/stream ! queue !
> > rtpmp4gdepay !
> > aacparse ! \
> > avdec_aac ! queue ! decodebin ! queue ! audioconvert !
> > audioresample ! queue ! autoaudiosink ")
> >
You could also try rtpmp4adepay here, or just use ! queue ! decodebin
(not sure what the purpose of the decodebin after the aac decoder here
is).
Mind that usually you'd get both streams from rtspsrc, so you'd write:
rtspsrc location=rtsp:/// name=src \
src. ! queue ! decodebin or rtpdepay .. \
src. ! queue ! decodebin or rtpdepay .. \
to get both streams. If you want them both decoded, just do
uridecodebin uri=rtsp://... name=d \
d. ! queue ! audioconvert ! audioresample ! autoaudiosink
d. ! queue ! videoconvert ! videoscale ! autovideosink
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list