summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-10-28 00:41:57 -0500
committerDudemanguy <random342@airmail.cc>2024-03-17 14:59:40 +0000
commitccafd40ccce83d9857e61361126bd474d4b712e8 (patch)
tree0592f299b39c78c332ec4924b9d6aeb9cc0b03b1 /DOCS/man
parent8a9749b8a563f258342450160c98e9c02ebedc96 (diff)
downloadmpv-ccafd40ccce83d9857e61361126bd474d4b712e8.tar.bz2
mpv-ccafd40ccce83d9857e61361126bd474d4b712e8.tar.xz
demux: add a format-name property
It can be useful to know the underlying format of any entry in the track list. Only applicable to the lavf demuxer.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 1a829c0d5e..3d3163eb1c 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -3089,6 +3089,11 @@ Property list
``track-list/N/demux-par``
Pixel aspect ratio.
+ ``track-list/N/format-name``
+ Short name for format from ffmpeg. If the track is audio, this will be
+ the name of the sample format. If the track is video, this will be the
+ name of the pixel format.
+
``track-list/N/audio-channels`` (deprecated)
Deprecated alias for ``track-list/N/demux-channel-count``.