]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/common.py
Add new field `aspect_ratio`
[yt-dlp.git] / yt_dlp / extractor / common.py
index 3a1af329011e3b72b7b68801702635a9b0bc6d17..94128bd84125ddd7708c6173608453efaa352826 100644 (file)
@@ -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