ynput / ayon-core

Apache License 2.0
25 stars 31 forks source link

Nuke: fixing multiple intermediate file streams publishing #531

Closed jakubjezek001 closed 3 months ago

jakubjezek001 commented 3 months ago

Changelog Description

Testing notes:

  1. create multiple presets in ayon+settings://nuke/publish/ExtractReviewIntermediates/outputs
  2. publish files and notice that multiple mp4 were created.
64qam commented 3 months ago

Crashes on Extract Review Intermediates:


Traceback (most recent call last):
  File "C:\Users\qam\AppData\Local\Ynput\AYON\dependency_packages\ayon_2403071252_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
    runner(*args)
  File "C:\Users\qam\AppData\Local\Ynput\AYON\addons\core_0.3.3-dev.1\ayon_core\hosts\nuke\plugins\publish\extract_review_intermediates.py", line 162, in process
    data = exporter.generate_mov(delete=delete, **o_data)
  File "C:\Users\qam\AppData\Local\Ynput\AYON\addons\core_0.3.3-dev.1\ayon_core\hosts\nuke\api\plugin.py", line 990, in generate_mov
    self.render(write_node.name())
  File "C:\Users\qam\AppData\Local\Ynput\AYON\addons\core_0.3.3-dev.1\ayon_core\hosts\nuke\api\plugin.py", line 820, in render
    int(self.last_frame))
RuntimeError: Write1: the selected codec is not supported in this container.```

[publish-report-240524-16-14.json](https://github.com/ynput/ayon-core/files/15435746/publish-report-240524-16-14.json)
MilaKudr commented 3 months ago

This PR works in my environment. Publishing locally and on Deadline works properly, also delivering to the Kitsu.