[extractor/youtube] More metadata for storyboards (#4334)

Authored by: ftk
This commit is contained in:
ftk
2022-07-12 15:16:45 +00:00
committed by GitHub
parent 0f44636597
commit 45e8a04e48
2 changed files with 7 additions and 0 deletions

View File

@@ -3340,6 +3340,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'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)),