mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
variable usage fix
This commit is contained in:
parent
818abdaa82
commit
e1ea7a7daf
1 changed files with 2 additions and 2 deletions
|
|
@ -78,13 +78,13 @@ class ExtractThumbnailSP(pyblish.api.InstancePlugin):
|
|||
# override file if already exists
|
||||
jpeg_items.append("-y")
|
||||
# add input filters from peresets
|
||||
jpeg_items.extend(self.ffmpeg_args.get("input") or [])
|
||||
jpeg_items.extend(ffmpeg_args.get("input") or [])
|
||||
# input file
|
||||
jpeg_items.append("-i {}".format(full_input_path))
|
||||
# extract only single file
|
||||
jpeg_items.append("-vframes 1")
|
||||
|
||||
jpeg_items.extend(self.ffmpeg_args.get("output") or [])
|
||||
jpeg_items.extend(ffmpeg_args.get("output") or [])
|
||||
|
||||
# output file
|
||||
jpeg_items.append(full_thumbnail_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue