From c41a9650c3b8c5430cd21661d668ac9fb346e397 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Mon, 1 Dec 2014 17:35:03 +0100 Subject: [PATCH] [youtube] Extract framerate from the dash manifest Not all videos have 60 fps, for example they can have 48 fps. --- youtube_dl/extractor/youtube.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 2642ecfff..1cba40387 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -971,6 +971,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): '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( -- 2.40.0