summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 20:34:26 +0200
committerwm4 <wm4@nowhere>2013-07-08 20:37:11 +0200
commitc460258f5a85d8d65261b524f23a3608185e58e4 (patch)
tree60974ce21dfb5fe338bf091548e1d0155bba19e9 /DOCS
parent0bb41524f0a9ed89559b50bd7407de9d8b8aee40 (diff)
downloadmpv-c460258f5a85d8d65261b524f23a3608185e58e4.tar.bz2
mpv-c460258f5a85d8d65261b524f23a3608185e58e4.tar.xz
command: add screenshot_to_file command
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/input.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index c9adc7a4ca..f22536ed99 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -140,6 +140,19 @@ List of Input Commands
Take a screenshot each frame. Issue this command again to stop taking
screenshots.
+``screenshot_to_file "<filename>" [subtitles|video|window]``
+ Take a screenshot and save it to a given file. The format of the file will
+ be guessed by the extension (and ``--screenshot-format`` is ignored - the
+ behavior when the extension is missing or unknown is arbitrary).
+
+ The second argument is like the first argument to ``screenshot``.
+
+ This command tries to never overwrite files. If the file already exists,
+ it fails.
+
+ Like all input command parameters, the filename is subject to property
+ expansion as described in `Property Expansion`_.
+
``playlist_next [weak|force]``
Go to the next entry on the playlist.