From b4826001791f6220d652983b130ae53e9c7398ba Mon Sep 17 00:00:00 2001 From: j Date: Sat, 8 Jun 2024 11:44:46 +0100 Subject: [PATCH] reuse fps --- 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 5d9da43a..1cd54f55 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['video'][0]["framerate"]))] + video_settings += ['-r:v', str(fps)] video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']] audio_only = False else: