Fixes ffmpeg seek argument

Corrects the ffmpeg command-line argument for specifying the seek position. It changes from '--ss' to '-ss', which is the correct flag.
This commit is contained in:
Jakub Jezek 2025-05-14 10:20:21 +02:00
parent 0d8430188a
commit f5f1452872
No known key found for this signature in database
GPG key ID: 06DBD609ADF27FD9

View file

@ -525,7 +525,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
# Build command args
cmd_args = []
if seek_position > 0.0:
cmd_args.extend(["--ss", str(seek_position)])
cmd_args.extend(["-ss", str(seek_position)])
# Add generic ffmpeg commands
cmd_args.extend([
@ -537,9 +537,6 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
output_thumb_file_path
])
# add output file path
cmd_args.append(output_thumb_file_path)
# create ffmpeg command
cmd = get_ffmpeg_tool_args(
"ffmpeg",