From 3579a4de45b29d3a15ee1ce85e672696da3941aa Mon Sep 17 00:00:00 2001 From: j Date: Sat, 8 Jun 2024 11:41:35 +0100 Subject: [PATCH] force_framerate is in video track --- pandora/archive/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index be4373c15..ba825b8ab 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -251,7 +251,7 @@ def stream(video, target, profile, info, audio_track=0, flags={}): '-level', '4.0', '-pix_fmt', 'yuv420p', ] - if info.get("force_framerate"): + if info['video'][0].get("force_framerate"): video_settings += ['-r:v', str(float(info["framerate"]))] video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']] audio_only = False