mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
feat(sp): updating extract_shot
This commit is contained in:
parent
c44873d2c1
commit
33d671edd9
1 changed files with 6 additions and 0 deletions
|
|
@ -48,6 +48,10 @@ class ExtractShot(pype.api.Extractor):
|
|||
output = pype.api.subprocess(ffmpeg_args)
|
||||
self.log.info(output)
|
||||
|
||||
instance.data["families"].remove("review")
|
||||
instance.data["families"].append("clip")
|
||||
instance.data["family"] = "review"
|
||||
|
||||
instance.data["representations"].append({
|
||||
"name": ext[1:],
|
||||
"ext": ext[1:],
|
||||
|
|
@ -60,6 +64,8 @@ class ExtractShot(pype.api.Extractor):
|
|||
"tags": ["review", "ftrackreview", "delete"]
|
||||
})
|
||||
|
||||
self.log.debug(f"Instance data: {instance.data}")
|
||||
|
||||
# # Generate jpegs.
|
||||
# clip_thumbnail = os.path.join(
|
||||
# staging_dir, instance.data["name"] + ".%04d.jpeg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue