DOCS/mpv: document how mf:// URLs are formed

This commit is contained in:
Guido Cella 2024-02-01 10:59:49 +01:00 committed by sfan5
parent b2bc3c239c
commit fe0c181b1c
1 changed files with 12 additions and 1 deletions

View File

@ -1200,10 +1200,21 @@ PROTOCOLS
Digital TV via DVB. (Linux only.) Digital TV via DVB. (Linux only.)
``mf://[filemask|@listfile]`` ``--mf-...`` ``mf://[@listfile|filemask|glob|printf-format]`` ``--mf-...``
Play a series of images as video. 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-...`` ``cdda://[device]`` ``--cdrom-device=PATH`` ``--cdda-...``
Play CD. Play CD.