GstRtspSink - Client Applications
This wiki presents a series of possible client applications to be used with GstRtspSink and their most typical configurations.
|
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:
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}