Remove bracket from ffmpeg command's crop filter (#1294)

remove bracket from ffmpeg command's crop filter

Using bracket's in this situation causing syntax errors:
/bin/sh: 1: Syntax error: "(" unexpected
This commit is contained in:
heymarcell authored and GitHub committed 2023-01-26 14:22:14 -08:00
1 parent 2e843eb2df
commit f0c102ca58
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ def convert_insta360_single_file_to_images(
vf_cmds_front = vf_cmds.copy()
vf_cmds_back.append(
f"crop=ih*{crop_percentage}:ih*{crop_percentage}:ih*({crop_percentage}/4):ih*({crop_percentage}/4)"
f"crop=ih*{crop_percentage}:ih*{crop_percentage}:ih*{crop_percentage}/4:ih*{crop_percentage}/4"
)
vf_cmds_front.append(
f"crop=ih*{crop_percentage}:ih*{crop_percentage}:iw/2+ih*{crop_percentage/4}:ih*{crop_percentage/4}"