From 77ef3d4f7e575da2eddf9afc671dba90170d333e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Aug 2012 20:44:28 +0200 Subject: man: update documentation related to screenshots --- DOCS/man/en/mplayer.rst | 22 +++++++++++++++++ DOCS/man/en/options.rst | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ DOCS/man/en/vf.rst | 26 ++++++++------------ 3 files changed, 97 insertions(+), 16 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/mplayer.rst b/DOCS/man/en/mplayer.rst index 43fb2a47e5..617799bf9f 100644 --- a/DOCS/man/en/mplayer.rst +++ b/DOCS/man/en/mplayer.rst @@ -408,6 +408,28 @@ OPTIONS .. include:: vf.rst +Taking screenshots +================== + +Screenshots of the currently played file can be taken using the 'screenshot' +slave mode command, which is by default bound to the ``s`` key. Files named +``shotNNNN.png`` will be saved in the working directory, using the first +available number - no files will be overwritten. + +A screenshot will usually contain the unscaled video contents at the end of the +video filter chain. Some video output drivers will include subtitles and OSD in +the video frame as well - this is because of technical restrictions. + +The ``screenshot`` video filter is normally not required when using a +recommended GUI video output driver. The ``screenshot`` filter will be attempted +to be used if the video output doesn't support screenshots. Note that taking +screenshots with the video filter is not instant: the screenshot will be only +saved when the next video frame is displayed. This means attempting to take a +screenshot while the player is paused will do nothing, until the user unpauses +or seeks. Also, the screenshot filter is not compatible with hardware decoding, +and actually will cause initialization failure when use with hardware decodingis +attempted. Using the ``screenshot`` video filter is not recommended for these +reasons. ENVIRONMENT VARIABLES ===================== diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 9e71658963..2f507f98f2 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -1663,6 +1663,71 @@ Seek to byte position. Useful for playback from CD-ROM images or VOB files with junk at the beginning. See also ``--ss``. +--screenshot-filetype= + Set the image file type used for saving screenshots. + + Available choices: + + :png: PNG (default) + :jpg: JPEG + :jpeg: JPEG (same as jpg, but with .jpeg file ending) + +--screenshot-jpeg-quality=<0-100> + Set the JPEG quality level. Higher means better quality. The default is 85. + +--screenshot-png-compression=<0-9> + Set the PNG compression level. Higher means better compression. This will + affect the file size of the written screenshot file, and the time it takes + to write a screenshot. Too high compression might occupy enough CPU time to + interrupt playback. The default is 7. + +--screenshot-template=