mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
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:
parent
0d8430188a
commit
f5f1452872
1 changed files with 1 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue