mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 23:07:07 -05: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:
		@@ -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(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user