mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #1961 from pypeclub/bugfix/extract_jpeg_paths_with_spaces
Global: ExtractJpeg can handle filepaths with spaces
This commit is contained in:
commit
aac65c990f
1 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
|
|||
# use same input args like with mov
|
||||
jpeg_items.extend(ffmpeg_args.get("input") or [])
|
||||
# input file
|
||||
jpeg_items.append("-i {}".format(full_input_path))
|
||||
jpeg_items.append("-i \"{}\"".format(full_input_path))
|
||||
# output arguments from presets
|
||||
jpeg_items.extend(ffmpeg_args.get("output") or [])
|
||||
|
||||
|
|
@ -104,7 +104,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
|
|||
jpeg_items.append("-vframes 1")
|
||||
|
||||
# output file
|
||||
jpeg_items.append(full_output_path)
|
||||
jpeg_items.append("\"{}\"".format(full_output_path))
|
||||
|
||||
subprocess_jpeg = " ".join(jpeg_items)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue