Skip to content
jeanlf edited this page Dec 3, 2019 · 9 revisions

HOME » Filters » RTP/RTSP/SDP input


Register name used to load filter: rtpin

This filter handles SDP file reading, rtp direct url and RTSP session and produces media PIDs and frames.


src (string): location of source content (SDP, RTP or RTSP URL)
firstport (unsigned int, default: 0): default first port number to use. 0 lets the filter decide
ifce (string): default interface IP to use for multicast. If NULL, the default system interface will be used
ttl (unsigned int, default: 127, minmax: 0-127): multicast TTL
reorder_len (unsigned int, default: 1000): reorder length in packets
reorder_delay (unsigned int, default: 50): max delay in RTP reorderer, packets will be dispatched after that
block_size (unsigned int, default: 0x200000): buffer size fur RTP/UDP or RTSP when interleaved
disable_rtcp (boolean, default: false): disable RTCP reporting
nat_keepalive (unsigned int, default: 0): delay in ms of NAT keepalive, disabled by default (except for SatIP, set to 30s by default)
force_mcast (string): force multicast on indicated IP in RTSP setup
use_client_ports (boolean, default: false): force using client ports (hack for some RTSP servers overriding client ports)
bandwidth (unsigned int, default: 0): set bandwidth param for RTSP requests
default_port (unsigned int, default: 554, minmax: 0-65535): set default RTSP port
satip_port (unsigned int, default: 1400, minmax: 0-65535): set default port for SATIP
interleave (boolean, default: false): set RTP over RTSP
udp_timeout (unsigned int, default: 10000): default timeout before considering UDP is down
rtsp_timeout (unsigned int, default: 3000): default timeout before considering RTSP is down
rtcp_timeout (unsigned int, default: 5000): default timeout for RTCP trafic in ms. After this timeout, playback will start unsync. If 0 always wait for RTCP
autortsp (boolean, default: true): automatically reconfig RTSP interleaving if UDP timeout
first_packet_drop (unsigned int, default: 0): set number of first RTP packet to drop - 0 if no drop
frequency_drop (unsigned int, default: 0): drop 1 out of N packet - 0 disable droping
user_agent (string, default: $GUA): user agent string, by default solved from GPAC preferences
languages (string, default: $GLANG): user languages, by default solved from GPAC preferences
stats (unsigned int, default: 500): update statistics to the user every given MS, 0 disables reporting
max_sleep (int, default: 1000): set max sleep in milliseconds. A negative value -N means to always sleep for N ms, a positive value N means to sleep at most N ms but will sleep less if frame duration is shorter
rtcpsync (boolean, default: true): use RTCP to adjust synchronization

HOME » Filters

GPAC Configuration

Configuration File
Global Options

Filters Overview

General Filters Concepts
gpac General Usage
Built-in Properties

Filters Help

Inspect packets (inspect)
Probe source (probe)
Compositor (compositor)
ISOBMFF/QT demuxer (mp4dmx)
MPEG-4 BIFS decoder (bifsdec)
MPEG-4 OD decoder (odfdec)
File input (fin)
BT/XMT/X3D loader (btplay)
HTTP input (httpin)
SVG loader (svgplay)
JPG/J2K/PNG/BMP reframer (rfimg)
PNG/JPG decoder (imgdec)
ADTS reframer (rfadts)
LATM reframer (rflatm)
MP3 reframer (rfmp3)
FAAD decoder (faad)
MAD decoder (maddec)
XVid decoder (xviddec)
OpenJPEG2000 decoder (j2kdec)
AC3 reframer (rfac3)
A52 decoder (a52dec)
AMR/EVRC reframer (rfamr)
OGG demuxer (oggdmx)
Vorbis decoder (vorbisdec)
Theora decoder (theoradec)
MPEG-2 TS demuxer (m2tsdmx)
UDP/TCP input (sockin)
OpenSVC decoder (osvcdec)
VideoToolBox decoder (vtbdec)
MPEG-4 LASeR decoder (lsrdec)
SAF demuxer (safdmx)
MPEG-DASH and HLS client (dashin)
CENC decryptor (cdcrypt)
CENC encryptor (cecrypt)
ISOBMFF/QT muxer (mp4mx)
QCP reframer (rfqcp)
H263 reframer (rfh263)
M1V/M2V/M4V reframer (rfmpgvid)
NHNT reader (nhntr)
NHML parser (nhmlr)
AVC/HEVC reframer (rfnalu)
MPEG PS demuxer (m2psdmx)
AVI demuxer (avidmx)
Subtitle loader (txtin)
TTXT/TX3G decoder (ttxtdec)
WebVTT decoder (vttdec)
RTP/RTSP/SDP input (rtpin)
File output (fout)
Raw AAC to LATM writer (uflatm)
ADTS writer (ufadts)
Media Reframer (reframer)
Stream to file (writegen)
AVC/HEVC to AnnexB writer (ufnalu)
QCP writer (writeqcp)
WebVTT writer (writevtt)
NHNT writer (nhntw)
NHML writer (nhmlw)
VobSub demuxer (vobsubdmx)
AVI muxer (avimx)
Audio output (aout)
M4V writer (ufm4v)
Audio resampler (resample)
Video output (vout)
Video crop (vcrop)
Video flip (vflip)
RAW video reframer (rfrawvid)
PCM reframer (rfpcm)
JPG encoder (jpgenc)
PNG encoder (pngenc)
Audio/Video rewinder (rewind)
Sources concatenator (flist)
MPEG-2 TS muxer (m2tsmx)
DASH and HLS segmenter (dasher)
HEVC tile aggregator (tileagg)
pipe input (pin)
pipe output (pout)
GSF Muxer (gsfmx)
GSF Demuxer (gsfdmx)
UDP/TCP output (sockout)
AV1/IVF/VP9 reframer (rfav1)
IVF/OBU/annexB writer (ufobu)
ATSC input (atscin)
RTP Streamer (rtpout)
RTSP Server (rtspout)
HTTP Server (httpout)
HEVC tile spliter (hevcsplit)
HEVC Tile merger (hevcmerge)
FLAC reframer (rfflac)
ProRes reframer (rfprores)
MPEG Transport Stream splitter (tssplit)
FFMPEG demuxer (ffdmx)
FFMPEG decoder (ffdec)
FFMPEG AV Capture (ffavin)
FFMPEG video rescaler (ffsws)
FFMPEG encoder (ffenc)
FFMPEG muxer (ffmx)
FFMPEG AVFilter (ffavf)
JavaScript filter (jsf)
OpenHEVC decoder (ohevcdec)

Clone this wiki locally
You can’t perform that action at this time.