summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2024-02-01 10:59:49 +0100
committersfan5 <sfan5@live.de>2024-02-02 11:39:47 +0100
commitfe0c181b1c3a73fb9d2a423d362a47d522e78c91 (patch)
tree23383631717db2434a2990e191dc7d375c189890 /DOCS/man/mpv.rst
parentb2bc3c239ccc8ef661a1554925f15dd5bd9b06be (diff)
downloadmpv-fe0c181b1c3a73fb9d2a423d362a47d522e78c91.tar.bz2
mpv-fe0c181b1c3a73fb9d2a423d362a47d522e78c91.tar.xz
DOCS/mpv: document how mf:// URLs are formed
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index a7fba67ecf..bac62f2045 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -1200,10 +1200,21 @@ PROTOCOLS
Digital TV via DVB. (Linux only.)
-``mf://[filemask|@listfile]`` ``--mf-...``
+``mf://[@listfile|filemask|glob|printf-format]`` ``--mf-...``
Play a series of images as video.
+ If the URL path begins with ``@``, it is interpreted as the path to a file
+ containing a list of image paths separated by newlines. If the URL path
+ contains ``,``, it is interpreted as a list of image paths separated by
+ ``,``. If the URL path does not contain ``%`` and if on POSIX platforms, is
+ interpreted as a glob, and ``*`` is automatically appended if it was not
+ specified. Otherwise, the printf sequences ``%[.][NUM]d``, where ``NUM`` is
+ one, two, or three decimal digits, and ``%%`` and are interpreted. For
+ example, ``mf://image-%d.jpg`` plays files like ``image-1.jpg``,
+ ``image-2.jpg`` and ``image-10.jpg``, provided that there are no big gaps
+ between the files.
+
``cdda://[device]`` ``--cdrom-device=PATH`` ``--cdda-...``
Play CD.