Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

update cut

pxya521735c5f3c
diff --git a/tools/scene_cut/cut.py b/tools/scene_cut/cut.py
index 2e7b32c..ed958c9 100644
--- a/tools/scene_cut/cut.py
+++ b/tools/scene_cut/cut.py
@@ -146,7 +146,7 @@ def parse_args():
parser.add_argument("--max_seconds", type=float, default=None,
help='if not None, clip longer than max_seconds is truncated')
parser.add_argument("--target_fps", type=int, default=None, help='target fps of clips')
- parser.add_argument("--shorter_size", type=int, default=None, help='resize the shorter size by keeping ratio; will not do upscale')
+ parser.add_argument("--shorter_size", type=int, default=1080, help='resize the shorter size by keeping ratio; will not do upscale')
parser.add_argument("--num_workers", type=int, default=None, help='#workers for pandarallel')
args = parser.parse_args()