From a802afb206736279b0bf1c433f5d92b05a68b34f Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Tue, 20 Sep 2016 02:11:14 +0900 Subject: 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. --- DOCS/man/input.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DOCS') 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``. -- cgit v1.2.3