summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-22 18:54:22 +0100
committerwm4 <wm4@nowhere>2015-11-22 18:54:22 +0100
commit01a2af6c7c98c04e7cc834ea019f31f8c698d125 (patch)
tree1dedd5cb26e0697ea165b2f614102786ac318bef /DOCS/man/input.rst
parentb38094ad919b082e59438ddb8c1c590cd9af3e02 (diff)
downloadmpv-01a2af6c7c98c04e7cc834ea019f31f8c698d125.tar.bz2
mpv-01a2af6c7c98c04e7cc834ea019f31f8c698d125.tar.xz
command: export some per-video-frame information
Utterly useless, but requested. Fixes #2444.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index b581c5a8ad..367d9f185b 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1441,6 +1441,19 @@ Property list
Has the same sub-properties as ``video-params``.
+``video-frame-info``
+ Approximate information of the current frame. Note that if any of these
+ are used on OSD, the information might be off by a few frames due to OSD
+ redrawing and frame display being somewhat disconnected, and you might
+ have to pause and force a redraw.
+
+ Sub-properties:
+
+ ``video-frame-info/picture-type``
+ ``video-frame-info/interlaced``
+ ``video-frame-info/tff``
+ ``video-frame-info/repeat``
+
``fps``
Container FPS. This can easily contain bogus values. For videos that use
modern container formats or video codecs, this will often be incorrect.