diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-16 06:52:57 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-16 06:57:09 +0530 |
commit | 105bfd90f572cdc4f4a06bfcbadde0f1b231a098 (patch) | |
tree | 008d82d7e17ed809a26fd0be688e34ba2a44372b /yt_dlp/extractor/common.py | |
parent | 6368e2e639bca7e66609911d2672b6a9dc65b052 (diff) | |
download | hypervideo-pre-105bfd90f572cdc4f4a06bfcbadde0f1b231a098.tar.lz hypervideo-pre-105bfd90f572cdc4f4a06bfcbadde0f1b231a098.tar.xz hypervideo-pre-105bfd90f572cdc4f4a06bfcbadde0f1b231a098.zip |
Add new field `aspect_ratio`
Closes #5402
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 3a1af3290..94128bd84 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -150,7 +150,10 @@ class InfoExtractor: ("3D" or "DASH video") * width Width of the video, if known * height Height of the video, if known + * aspect_ratio Aspect ratio of the video, if known + Automatically calculated from width and height * resolution Textual description of width and height + Automatically calculated from width and height * dynamic_range The dynamic range of the video. One of: "SDR" (None), "HDR10", "HDR10+, "HDR12", "HLG, "DV" * tbr Average bitrate of audio and video in KBit/s |