diff --git a/common/research/dataset/twitch/video_frame_generator.py b/common/research/dataset/twitch/video_frame_generator.py index fe91a8ea411906f15511b697598dbba0360f917a..e662ebb4e05f31581653a1b45cf36252188139ba 100644 --- a/common/research/dataset/twitch/video_frame_generator.py +++ b/common/research/dataset/twitch/video_frame_generator.py @@ -13,7 +13,7 @@ class VideoFrameGenerator: def _get_video_fps(self): return max( - int(stream['avg_frame_rate'].split('/')[0]) + int(stream['r_frame_rate'].split('/')[0]) for stream in ffmpeg.probe(str(self.video_path))['streams'] )