Skip to content

RTSP Server, SDP

Martin Pulec edited this page Aug 7, 2018 · 21 revisions

RTSP

RTSP server can be run with following commands:

uv -t <your_capture> -c libavcodec:encoder=libx264 --video-protocol rtsp

or with audio

uv -t <your_capture> -c libavcodec:encoder=libx264 --video-protocol rtsp -s <audio_cap> --audio-codec u-law --audio-protocol rtsp

If you omit audio/video compression, some suitable will be chosen.

SDP

uv -t <video_capture> -s <audio_capture> --protocol sdp <receiver>

In this case, default compression will be chosen (can be changed similarly to RTSP, eg. also A-law or OPUS for audio). SDP file (ug.sdp) will be created which can then be played by the receiver given on command-line.

Clone this wiki locally