]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/youtube.py
[extractor/youtube] More metadata for storyboards (#4334)
[yt-dlp.git] / yt_dlp / extractor / youtube.py
index 8bb58ae16ca32a4a1fb9d044b4fdf57c7225e7a6..09e2127e3250ee2d9b3e88fc5e0a69d32e59cb3a 100644 (file)
@@ -3340,6 +3340,9 @@ def _extract_storyboard(self, player_responses, duration):
                 'url': url,
                 'width': width,
                 'height': height,
+                'fps': frame_count / duration,
+                'rows': rows,
+                'columns': cols,
                 'fragments': [{
                     'url': url.replace('$M', str(j)),
                     'duration': min(fragment_duration, duration - (j * fragment_duration)),