summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2016-09-20 02:11:14 +0900
committerwm4 <wm4@nowhere>2016-09-19 19:45:24 +0200
commita802afb206736279b0bf1c433f5d92b05a68b34f (patch)
tree7de125f4a9c1554e2707cfb64061d1ce605ea6a7 /DOCS/man
parent297f9f1bec3c0e3eca6fbfdd8a346b6c1a5b533e (diff)
downloadmpv-a802afb206736279b0bf1c433f5d92b05a68b34f.tar.bz2
mpv-a802afb206736279b0bf1c433f5d92b05a68b34f.tar.xz
command: add audio-pts property to get the audio pts
For audio files, this is identical to time-pos (except read-only). For audio-video files, this returns the audio position. Unlike time-pos, this is not quantized to a video frame. For video-only files, this property is unavailable.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 1f7862d1c1..92cdad77c0 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -984,6 +984,12 @@ Property list
Remaining length of the file in seconds. Note that the file duration is not
always exactly known, so this is an estimate.
+``audio-pts`` (R)
+ 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.
+
``playtime-remaining``
``time-remaining`` scaled by the current ``speed``.