summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2023-10-07 20:51:26 +0200
committerDudemanguy <random342@airmail.cc>2023-10-07 22:46:16 +0000
commit76de65f116abf403034984e8bbf105bb866f0a55 (patch)
treebd73057f0c7ee8f58eb1c20128fc92795b63aebf
parente475e1abc06c5ee5fd480ef4cea5c32491c6ab68 (diff)
downloadmpv-76de65f116abf403034984e8bbf105bb866f0a55.tar.bz2
mpv-76de65f116abf403034984e8bbf105bb866f0a55.tar.xz
DOCS/input: document the full sub-property
-rw-r--r--DOCS/man/input.rst30
1 files changed, 30 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 59ca00c968..b4c133953e 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1930,6 +1930,11 @@ Property list
This replaces the ``length`` property, which was deprecated after the
mpv 0.9 release. (The semantics are the same.)
+ This has a sub-property:
+
+ ``duration/full``
+ ``duration`` with milliseconds.
+
``avsync``
Last A/V synchronization difference. Unavailable if audio or video is
disabled.
@@ -1976,6 +1981,11 @@ Property list
``time-pos`` (RW)
Position in current file in seconds.
+ This has a sub-property:
+
+ ``time-pos/full``
+ ``time-pos`` with milliseconds.
+
``time-start``
Deprecated. Always returns 0. Before mpv 0.14, this used to return the start
time of the file (could affect e.g. transport streams). See
@@ -1985,21 +1995,41 @@ Property list
Remaining length of the file in seconds. Note that the file duration is not
always exactly known, so this is an estimate.
+ This has a sub-property:
+
+ ``time-remaining/full``
+ ``time-remaining`` with milliseconds.
+
``audio-pts``
Current audio playback position in current file in seconds. Unlike time-pos,
this updates more often than once per frame. For audio-only files, it is
mostly equivalent to time-pos, while for video-only files this property is
not available.
+ This has a sub-property:
+
+ ``audio-pts/full``
+ ``audio-pts`` with milliseconds.
+
``playtime-remaining``
``time-remaining`` scaled by the current ``speed``.
+ This has a sub-property:
+
+ ``playtime-remaining/full``
+ ``playtime-remaining`` with milliseconds.
+
``playback-time`` (RW)
Position in current file in seconds. Unlike ``time-pos``, the time is
clamped to the range of the file. (Inaccurate file durations etc. could
make it go out of range. Useful on attempts to seek outside of the file,
as the seek target time is considered the current position during seeking.)
+ This has a sub-property:
+
+ ``playback-time/full``
+ ``playback-time`` with milliseconds.
+
``chapter`` (RW)
Current chapter number. The number of the first chapter is 0.