From d17c3b63c3f00e7c624be4b8f6b11096435ffb3d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Dec 2014 01:00:58 +0100 Subject: command: add properties for current bitrate Fixes #1192. --- DOCS/man/input.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index fc0640553b..dd2c20bee3 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1445,6 +1445,17 @@ Property list whether the video window is visible. If the ``--force-window`` option is used, this is usually always returns ``yes``. +``packet-video-bitrate``, ``packet-audio-bitrate``, ``packet-sub-bitrate`` + Bitrate values calculated on the packet level. This works by dividing the + bit size of all packets between two keyframes by their presentation + timestamp distance. (This uses the timestamps are stored in the file, so + e.g. playback speed does not influence the returned values.) In particular, + the video bitrate will update only per keyframe, and show the "past" + bitrate. To make the property more UI friendly, updates to these properties + are throttled in a certain way. + + How exactly these values are calculated might change in the future. + ``audio-device-list`` Return the list of discovered audio devices. This is mostly for use with the client API, and reflects what ``--audio-device=help`` with the command -- cgit v1.2.3