mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 12:23:46 +08:00
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:
1 parent
2e843eb2df
commit
f0c102ca58
1 file changed
+1
-1
@@ -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}"
|
||||
|
||||
Reference in new issue
Block a user