mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[youtube] Extract framerate from the dash manifest
Not all videos have 60 fps, for example they can have 48 fps.
This commit is contained in:
parent
df015c69ea
commit
c41a9650c3
@ -971,6 +971,7 @@ def decrypt_sig(mobj):
|
||||
'tbr': int_or_none(r.attrib.get('bandwidth'), 1000),
|
||||
'asr': int_or_none(r.attrib.get('audioSamplingRate')),
|
||||
'filesize': filesize,
|
||||
'fps': int_or_none(r.attrib.get('frameRate')),
|
||||
}
|
||||
try:
|
||||
existing_format = next(
|
||||
|
Loading…
Reference in New Issue
Block a user