From ca701b9749ce3ac74854cc634901fc22816f533d Mon Sep 17 00:00:00 2001 From: j Date: Sat, 8 Jun 2024 11:42:22 +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 ba825b8ab..5d9da43a5 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -252,7 +252,7 @@ def stream(video, target, profile, info, audio_track=0, flags={}): '-pix_fmt', 'yuv420p', ] if info['video'][0].get("force_framerate"): - video_settings += ['-r:v', str(float(info["framerate"]))] + video_settings += ['-r:v', str(float(info['video'][0]["framerate"]))] video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']] audio_only = False else: