RTSP Streaming Pipeline

Multimedia User Guide (UG1449)

Document ID
Release Date
1.7 English

gst-rtsp-server is a library on top of GStreamer for building an real-time streaming protocol server (RTSP). RTSP is a presentation-layer protocol that lets you command media servers via pause and play capabilities, whereas RTP is the transport protocol used to move the data. RTSP is a dependable technology used to control audio/video transmission between two endpoints and facilitate the transportation of low-latency streaming content across the Internet.

To build the open source rtsp_server_application, see AR76505.

To run the demo:

  1. Connect the target board and host machine in loopback.
  2. Run the following pipeline on the target board:
    ./rtsp_server_app "v4l2src io-mode=4 device=/dev/video0 ! \
    video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! \
    omxh265enc prefetch-buffer=true gop-length=60 control-rate=2 target-bitrate=10000 \
    filler-data=false ! h265parse ! rtph265pay name=pay0 pt=96" "" "50000"
  3. On the host machine, open the following URL in the VLC player: rtsp://