From a32b2d539124e2dfb7082cf74231a847c96d53c3 Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Sun, 30 Oct 2022 09:16:26 -0700 Subject: [PATCH] Fix ffmpeg call (#856) --- scripts/process_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process_data.py b/scripts/process_data.py index 0bab86e4a..1b114a782 100755 --- a/scripts/process_data.py +++ b/scripts/process_data.py @@ -223,7 +223,7 @@ def convert_insta360_to_images( else: CONSOLE.print("[bold red]Can't satify requested number of frames. Extracting all frames.") - vf_cmds.append(f"crop=iw*({crop_percentage}):ih*({crop_percentage})") + vf_cmds.append(f"crop=iw*{crop_percentage}:ih*{crop_percentage}") front_vf_cmds = vf_cmds + ["transpose=2"] back_vf_cmds = vf_cmds + ["transpose=1"]