Creating and Publishing from DaVinci Resolve to AYON

Hi everyone,

I’m fairly new to using AYON and DaVinci Resolve together, and I’m currently trying to follow a specific workflow, but I’m running into some issues. I have the AYON Launcher installed and have set up a generic folder with a basic “edit” task so I can launch DaVinci Resolve. Once Resolve is launched, I follow these steps:

  1. Save a Workfile: I save the .drp file in AYON, but I’m unsure if this is the correct practice. Is saving the .drp as a workfile the right approach, or should I be doing something different here?
  2. Color Clip to “Chocolate”: For testing, I change the color of the clips I want to export to “Chocolate” and then open the AYON menu.
  3. Create Process: I choose the “Create” option in the AYON menu. I try not to change too many things during these initial tests, but I do ensure that the hero track references the track with the clip I’m trying to export. I turn off the “Rename Clip” feature to avoid any confusion and then click Create.
  4. Publish Process: In the Publish window, I toggle off the .drp workfile as I don’t wish to publish the .drp itself. I click Publish, but I get an error message, and nothing actually publishes.

At this point, I’m not sure where things are going wrong. Did I miss something during the installation or setup process? Any suggestions?

Hello,
Currently, we have this documentation article Working with Resolve Studio in AYON.

Let me know what do you think about it.

I am running into an error with the “Extract Hierarch to AYON” plugin, I will copy the error below but this made me ask myself if FFmpeg is downloaded by AYON automatically or if I need to download it and set an environment variable pointing to it?

DEBUG: Hierarchy_context: {"entity_type": "project", "name": "DOT_AYON", "tasks": [], "attributes": {}, "children": [{"entity_type": "folder", "folder_type": "folder", "name": "shots", "children": [{"entity_type": "folder", "folder_type": "sequence", "name": "sq01", "children": [{"entity_type": "folder", "folder_type": "Shot", "comments": [], "name": "DOT_102_046_0010_MP_v001.[0001001-0001050].exr", "children": [], "tasks": [], "attributes": {"handleStart": 8, "handleEnd": 8, "frameStart": 1001, "frameEnd": 1034, "clipIn": 3356, "clipOut": 3389, "fps": 25.0, "resolutionWidth": 4608, "resolutionHeight": 3112, "pixelAspect": 1.0}}, {"entity_type": "folder", "folder_type": "Shot", "comments": [], "name": "DOT_102_046_0020_MP_v001.[0001001-0001080].exr", "children": [], "tasks": [], "attributes": {"handleStart": 8, "handleEnd": 8, "frameStart": 1001, "frameEnd": 1064, "clipIn": 3422, "clipOut": 3485, "fps": 25.0, "resolutionWidth": 4608, "resolutionHeight": 3112, "pixelAspect": 1.0}}, {"entity_type": "folder", "folder_type": "Shot", "comments": [], "name": "DOT_102_046_0030_MP_v001.[0001001-0001169].exr", "children": [], "tasks": [], "attributes": {"handleStart": 8, "handleEnd": 8, "frameStart": 1001, "frameEnd": 1153, "clipIn": 3486, "clipOut": 3638, "fps": 25.0, "resolutionWidth": 4608, "resolutionHeight": 3112, "pixelAspect": 1.0}}], "tasks": [], "attributes": {}}], "tasks": [], "attributes": {}}]}
DEBUG: Executing [GET] http://192.168.10.171:5000/api/projects/DOT_AYON
DEBUG: http://192.168.10.171:5000 "GET /api/projects/DOT_AYON HTTP/1.1" 200 6676
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.10.171:5000 "POST /graphql HTTP/1.1" 200 1348
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.10.171:5000 "POST /graphql HTTP/1.1" 200 755
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.10.171:5000 "POST /graphql HTTP/1.1" 200 102
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.10.171:5000 "POST /graphql HTTP/1.1" 200 2849
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.10.171:5000 "POST /graphql HTTP/1.1" 200 102
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.10.171:5000 "POST /graphql HTTP/1.1" 200 104
DEBUG: Response <RestApiResponse [200]>
Traceback (most recent call last):
  File "C:\Users\XRSLab01\AppData\Local\Ynput\AYON\dependency_packages\ayon_2502101448_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\XRSLab01\AppData\Local\Ynput\AYON\addons\core_1.3.2\ayon_core\plugins\publish\extract_hierarchy_to_ayon.py", line 33, in process
    self._fill_instance_entities(context, project_name)
  File "C:\Users\XRSLab01\AppData\Local\Ynput\AYON\addons\core_1.3.2\ayon_core\plugins\publish\extract_hierarchy_to_ayon.py", line 60, in _fill_instance_entities
    folder_entity = folder_entities_by_path[folder_path]
KeyError: '/shots/sq01/DOT_102_046_0010_MP_v001.[0001001-0001050].exr'

Typically, FFmpeg is downloaded by AYON automatically, unless you specifically set otherwise in Studio Settings. ayon+settings://ayon_third_party is the place to look.
Regarding the error, pretty sure the folder_path should be something like ‘/shots/sq01/DOT_102_046_0010’, or whatever is your shot name.
The solution is is in renaming / organizing the DaVinci content in accordance to your project structure and/or having the publisher settings right, not missing the keys.
Fmpeg is not relevant to the error.

1 Like