summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-06 20:46:01 +0200
committerUoti Urpala <uau@mplayer2.org>2011-11-25 23:56:28 +0200
commit3041ee8d6c97fbccfe891edad5b57143fb1c6c2a (patch)
tree6edbd27ec73ec92432c559459d20a8303109a648 /DOCS
parent01cf896a2f0d8be92c6d6633095fa2719a8c0e58 (diff)
downloadmpv-3041ee8d6c97fbccfe891edad5b57143fb1c6c2a.tar.bz2
mpv-3041ee8d6c97fbccfe891edad5b57143fb1c6c2a.tar.xz
core: add screenshot mode for actual VO window contents
The screenshot command normally converts the currently displayed video frame to an image. Add support for an alternative screenshot mode that is supposed to capture the real window contents. Such a screenshot contains a possibly scaled version of the frame, the OSD, and subtitles. Add a default key binding Alt+s for taking screenshots in this mode. This needs special VO support, and might not work with all VOs (this commit does not yet contain an implementation for any VO, only the infrastructure).
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/slave.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt
index 3b249f75d1..6bb1dc53c4 100644
--- a/DOCS/tech/slave.txt
+++ b/DOCS/tech/slave.txt
@@ -177,10 +177,17 @@ get_video_codec
get_video_resolution
Print out the video resolution of the current file.
-screenshot <value>
+screenshot <each_frame> <full_window>
Take a screenshot. Requires the screenshot filter to be loaded.
- 0 Take a single screenshot.
+ each_frame:
+ 0 Take a single screenshot. (Default.)
1 Start/stop taking screenshot of each frame.
+ full_window:
+ 0 Save the video image, in its original resolution. Typically without
+ OSD or subtitles. (Default.)
+ 1 Save the contents of the mplayer window. Typically with OSD and
+ subtitles. If not available (no VO support), this may act as if 0 was
+ passed.
key_down_event <value>
Inject <value> key code event into MPlayer.