From c460258f5a85d8d65261b524f23a3608185e58e4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 8 Jul 2013 20:34:26 +0200 Subject: command: add screenshot_to_file command --- DOCS/man/en/input.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'DOCS/man/en/input.rst') 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 "" [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. -- cgit v1.2.3