GstRtspSink - Client Applications

From RidgeRun Developer Wiki


Previous: iMX6 Nitrogen Index Next: Legacy_GstRtspSink




This wiki presents a series of possible client applications to be used with GstRtspSink and their most typical configurations.

Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help.

GstLaunch

GstRtspSrc

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=stream

gst-launch-1.0 rtspsrc location=rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING} ! <depayloader> ! <decoder> ! queue ! autovideosink

where <depayloader> and <decoder> match one of the following:

Table 1. Depayloaders and decoders associated to each format.
Format Depayloader Decoder
MPEG4 rtpmp4vdepay avdec_mpeg4
H264 rtph264depay avdec_h264
VP8 rtpvp8depay vp8dec
MJPEG rtpjpegdepay avdec_mjpeg
AAC rtpmp4adepay avdec_aac
AC3 rtpac3depay avdec_ac3
PCMU rtppcmudepay
PCMA rtppcmadepay
OPUS rtpopusdepay avdec_opus

GstRtspSrc (decodebin)

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=stream

gst-launch-1.0 rtspsrc location=rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING} ! decodebin ! autovideosink

GstPlaybin

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=stream

gst-launch-1.0 playbin uri=rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING}

GstPlay

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=/stream

gst-play-1.0 rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING}

VLC

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=stream

vlc rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING}

Totem

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=stream

totem rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING}

MPlayer

USER=user
PASSWORD=pass
IP_ADDRESS=192.0.0.1
PORT=12345
MAPPING=stream

mplayer rtsp://${USER}:${PASSWORD}@${IP_ADDRESS}:${PORT}/${MAPPING}



Previous: Qualcomm RB5 Index Next: Legacy_GstRtspSink