I see in various parts of the GStreamer documentation, and across the web, different protocols that playbin
understands from the uri prefix, beyond http://...
and file://...
.
webrtcsrc doc page shows playbin3 uri="gstwebrtc://...
playbin3 doc page shows playbin3 uri=cdda://4
and playbin3 uri=dvd://
I've seen uri=rtsp://...
as well.
Where do I find the complete list of these protocol prefixes? Can you specify a video or audio capture device like v4l2src as a uri like this?
A complete list of URI handlers can be found by running gst-inspect-1.0
with the --uri-handlers
option.
For example, with gst-plugins-base
, gst-plugins-good
, and gst-plugins-bad
:
$ gst-inspect-1.0 --uri-handlers
dv1394src (read, rank 0): dv
hdv1394src (read, rank 0): hdv
appsink (write, rank 0): appsink
appsrc (read, rank 0): appsrc
cdparanoiasrc (read, rank 128): cdda
dataurisrc (read, rank 256): data
fdsink (write, rank 0): fd
fdsrc (read, rank 0): fd
filesink (write, rank 256): file
filesrc (read, rank 256): file
curlhttpsrc (read, rank 128): http, https
pushfilesrc (read, rank 0): pushfile
testsrcbin (read, rank 0): testbin
dvbbasebin (read, rank 0): dvb
giosink (write, rank 128): file, resource
giosrc (read, rank 128): file, resource
imagesequencesrc (read, rank 0): imagesequence
multifilesrc (read, rank 0): multifile
splitfilesrc (read, rank 0): splitfile
splitmuxsrc (read, rank 0): splitmux
neonhttpsrc (read, rank 0): http, https
rsndvdbin (read, rank 256): dvd
rfbsrc (read, rank 0): rfb
ristsrc (read, rank 256): rist
rtmpsink (write, rank 256): rtmp, rtmpt, rtmps, rtmpe, rtmfp, rtmpte, rtmpts
rtmpsrc (read, rank 256): rtmp, rtmpt, rtmps, rtmpe, rtmfp, rtmpte, rtmpts
rtmp2sink (write, rank 257): rtmp, rtmps
rtmp2src (read, rank 257): rtmp, rtmps
rtpsink (write, rank 257): rtp
rtpsrc (read, rank 257): rtp
rtspsrc (read, rank 0): rtsp, rtspu, rtspt, rtsph, rtsp-sdp, rtsps, rtspsu, rtspst, rtspsh
sdpsrc (read, rank 0): sdp
srtclientsink (write, rank 0): srt
srtclientsrc (read, rank 0): srt
srtserversink (write, rank 0): srt
srtserversrc (read, rank 0): srt
srtsink (write, rank 256): srt
srtsrc (read, rank 256): srt
udpsink (write, rank 0): udp
udpsrc (read, rank 0): udp
v4l2radio (read, rank 0): radio
v4l2src (read, rank 256): v4l2