Merge pull request #502 from tokejepsen/2.x/bugfix/nuke_skip_thumbnail_submission

Nuke: skip thumbnail creation on farm submission.
This commit is contained in:
Jakub Ježek 2020-09-15 15:56:02 +02:00 committed by GitHub
commit 67151066ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -81,6 +81,11 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
jpeg_items.append("-i {}".format(full_input_path))
# output arguments from presets
jpeg_items.extend(ffmpeg_args.get("output") or [])
# If its a movie file, we just want one frame.
if repre["ext"] == "mov":
jpeg_items.append("-vframes 1")
# output file
jpeg_items.append(full_output_path)