Difference between revisions of "Media resource locator"
m (remove redundant pre tag) |
(there was no mention of simpledvd:, added it and dvd:, and vlc: IMPROVE ME!) |
||
Line 17: | Line 17: | ||
dir: Filesystem-based directory<BR> | dir: Filesystem-based directory<BR> | ||
dv: Digital Video/FireWire<BR> | dv: Digital Video/FireWire<BR> | ||
+ | dvd: DVD<BR> | ||
file: Filesystem-based file<BR> | file: Filesystem-based file<BR> | ||
ftp: FTP<BR> | ftp: FTP<BR> | ||
Line 25: | Line 26: | ||
rtp: RTP<BR> | rtp: RTP<BR> | ||
rtsp: RTSP<BR> | rtsp: RTSP<BR> | ||
+ | simpledvd: simple interface to DVD-Video<BR> | ||
smb: Server Message Block<BR> | smb: Server Message Block<BR> | ||
tcp: TCP<BR> | tcp: TCP<BR> | ||
udp: UDP<BR> | udp: UDP<BR> | ||
− | vcdx: Video CD | + | vcdx: Video CD<BR> |
+ | vlc: commands to VLC itself, e.g. vlc://pause''seconds'' and vlc://quit | ||
|- | |- | ||
| demux | | demux |
Revision as of 05:17, 13 July 2012
A media resource locator (MRL) is a string of characters used to identify a multimedia resource or part of a multimedia resource. A MRL may be used to identify inputs or outputs to VLC media player.
The MRL syntax is:
[[access][/demux]://]URL[@[title][:chapter][-[title][:chapter]]] [:option=value ...]
MRL section | Description | Possible values |
---|---|---|
access | How to obtain the media data |
cdda: CD Digital Audio |
demux | The format of the source data |
a52sys/Raw A/52 demuxer |
URL | The URI of the source | See http://www.w3.org/TR/uri-clarification/ |
title | Which title to select for input | Positive integer |
chapter | Which chapter to select for input | Positive integer |
option | Options to apply only to the specified MRL | See VLC command-line help for a full list |
Exception
An exception to these rules appears to be with UDP/RTP streams, where it may look like:
udp://@:portnumber # Example: # udp://@:1234 # # Apparently the @ has a meaning like localhost, though # udp://localhost:1234 # doesn't seem to work in this circumstance, for some reason.