Apply suggestions from code review

Co-authored-by: Robin De Lillo <robin@ynput.io>
This commit is contained in:
Jakub Ježek 2025-05-12 14:57:42 +02:00 committed by GitHub
parent 6df129b93f
commit 2ac35d6dd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -474,7 +474,6 @@ class ExtractOTIOReview(
command.extend([
"-start_number", str(in_frame_start),
"-compression_level", "5",
"-framerate", str(sequence_fps),
"-i", input_path
])
@ -513,7 +512,8 @@ class ExtractOTIOReview(
if video or sequence:
command.extend([
"-vf", f"scale={self.to_width}:{self.to_height}:flags=lanczos"
"-vf", f"scale={self.to_width}:{self.to_height}:flags=lanczos",
"-compression_level", "5",
])
# add output attributes