Skip to content

Commit

Permalink
DOCS/mpv: document how mf:// URLs are formed
Browse files Browse the repository at this point in the history
  • Loading branch information
guidocella authored and sfan5 committed Feb 2, 2024
1 parent b2bc3c2 commit fe0c181
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion DOCS/man/mpv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fe0c181

Please sign in to comment.