From d663a0e90dc0df3d8c50a471b918d8a6c6f78da5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 25 Mar 2017 12:51:50 +0100 Subject: manpage: add empty line between protocol header/description Appears to give better formatting. (I'll never understand rst...) --- DOCS/man/mpv.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index ad92ebdfcb..ff519202b6 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -669,6 +669,7 @@ PROTOCOLS ========= ``http://...``, ``https://``, ... + Many network protocols are supported, but the protocol prefix must always be specified. mpv will never attempt to guess whether a filename is actually a network address. A protocol prefix is always required. @@ -682,6 +683,7 @@ PROTOCOLS can also prefix it with ``lavf://`` or ``ffmpeg://``. ``ytdl://...`` + By default, the youtube-dl hook script (enabled by default for mpv CLI) only looks at http URLs. Prefixing an URL with ``ytdl://`` forces it to be always processed by the script. This can also be used to invoke special @@ -691,17 +693,21 @@ PROTOCOLS and you have to use ``--ytdl-raw-options`` instead. ``-`` + Play data from stdin. ``smb://PATH`` + Play a path from Samba share. ``bd://[title][/device]`` ``--bluray-device=PATH`` + Play a Blu-ray disc. Currently, this does not accept ISO files. Instead, you must mount the ISO file as filesystem, and point ``--bluray-device`` to the mounted directory directly. ``dvd://[title|[starttitle]-endtitle][/device]`` ``--dvd-device=PATH`` + Play a DVD. DVD menus are not supported. If no title is given, the longest title is auto-selected. @@ -716,25 +722,32 @@ PROTOCOLS around outstanding dvdnav bugs (see "DVD library choices" above). ``tv://[channel][/input_id]`` ``--tv-...`` + Analogue TV via V4L. Also useful for webcams. (Linux only.) ``pvr://`` ``--pvr-...`` + PVR. (Linux only.) ``dvb://[cardnumber@]channel`` ``--dvbin-...`` + Digital TV via DVB. (Linux only.) ``mf://[filemask|@listfile]`` ``--mf-...`` + Play a series of images as video. ``cdda://[device]`` ``--cdrom-device=PATH`` ``--cdda-...`` + Play CD. ``lavf://...`` + Access any FFmpeg/Libav libavformat protocol. Basically, this passed the string after the ``//`` directly to libavformat. ``av://type:options`` + This is intended for using libavdevice inputs. ``type`` is the libavdevice demuxer name, and ``options`` is the (pseudo-)filename passed to the demuxer. @@ -746,26 +759,32 @@ PROTOCOLS ``avdevice://`` is an alias. ``file://PATH`` + A local path as URL. Might be useful in some special use-cases. Note that ``PATH`` itself should start with a third ``/`` to make the path an absolute path. ``fd://123`` + Read data from the given file descriptor (for example 123). This is similar to piping data to stdin via ``-``, but can use an arbitrary file descriptor. ``edl://[edl specification as in edl-mpv.rst]`` + Stitch together parts of multiple files and play them. ``null://`` + Simulate an empty file. If opened for writing, it will discard all data. The ``null`` demuxer will specifically pass autoprobing if this protocol is used (while it's not automatically invoked for empty files). ``memory://data`` + Use the ``data`` part as source data. ``hex://data`` + Like ``memory://``, but the string is interpreted as hexdump. PSEUDO GUI MODE -- cgit v1.2.3