Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 30 additions & 10 deletions DOCS/man/mpv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1443,22 +1443,28 @@ PROTOCOLS

Only works with seekable streams.

Examples::
.. admonition:: Example

::

mpv slice://1g-2g@cap.ts

mpv slice://1g-2g@cap.ts
This starts reading from cap.ts after seeking 1 GiB, then
reads until reaching 2 GiB or end of file.

This starts reading from cap.ts after seeking 1 GiB, then
reads until reaching 2 GiB or end of file.
::

mpv slice://1g-+2g@cap.ts

mpv slice://1g-+2g@cap.ts
This starts reading from cap.ts after seeking 1 GiB, then
reads until reaching 3 GiB or end of file.

This starts reading from cap.ts after seeking 1 GiB, then
reads until reaching 3 GiB or end of file.
::

mpv slice://100m@appending://cap.ts
mpv slice://100m@appending://cap.ts

This starts reading from cap.ts after seeking 100MiB, then
reads until end of file.
This starts reading from cap.ts after seeking 100MiB, then
reads until end of file.

``null://``

Expand All @@ -1474,6 +1480,20 @@ PROTOCOLS

Like ``memory://``, but the string is interpreted as hexdump.

``archive://[ARCHIVE PATH]|[FILE PATH IN ARCHIVE]``

Open a file at the specified path inside an archive. Requires libarchive
feature enabled. The archive path must have all ``%`` and ``|`` characters
URL escaped. The file path should not be URL escaped.

.. admonition:: Example

::

mpv "archive://file.zip|video.mkv"

This will play ``video.mkv`` in the archive file ``file.zip``.

PSEUDO GUI MODE
===============

Expand Down
Loading