mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update with compatible resolve version and latest docs
This commit is contained in:
parent
e917d2b91f
commit
a612956dd1
1 changed files with 27 additions and 89 deletions
|
|
@ -4,100 +4,38 @@ title: DaVinci Resolve Setup
|
|||
sidebar_label: DaVinci Resolve
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
:::warning
|
||||
Only Resolve Studio is supported due to Python API limitation in Resolve (free).
|
||||
:::
|
||||
|
||||
## Resolve requirements
|
||||
Due to the way resolve handles python and python scripts there are a few steps required steps needed to be done on any machine that will be using OpenPype with resolve.
|
||||
|
||||
### Installing Resolve's own python 3.6 interpreter.
|
||||
Resolve uses a hardcoded method to look for the python executable path. All of tho following paths are defined automatically by Python msi installer. We are using Python 3.6.2.
|
||||
## Basic setup
|
||||
|
||||
<Tabs
|
||||
groupId="platforms"
|
||||
defaultValue="win"
|
||||
values={[
|
||||
{label: 'Windows', value: 'win'},
|
||||
{label: 'Linux', value: 'linux'},
|
||||
{label: 'Mac', value: 'mac'},
|
||||
]}>
|
||||
- Supported version is up to v18
|
||||
- Install Python 3.6.2 (latest tested v17) or up to 3.9.13 (latest tested on v18)
|
||||
- pip install PySide2:
|
||||
- Python 3.9.*: open terminal and go to python.exe directory, then `python -m pip install PySide2`
|
||||
- pip install OpenTimelineIO:
|
||||
- Python 3.9.*: open terminal and go to python.exe directory, then `python -m pip install OpenTimelineIO`
|
||||
- Python 3.6: open terminal and go to python.exe directory, then `python -m pip install git+https://github.com/PixarAnimationStudios/OpenTimelineIO.git@5aa24fbe89d615448876948fe4b4900455c9a3e8` and move built files from `./Lib/site-packages/opentimelineio/cxx-libs/bin and lib` to `./Lib/site-packages/opentimelineio/`. I was building it on Win10 machine with Visual Studio Community 2019 and
|
||||
 with installed CMake in PATH.
|
||||
- make sure Resolve Fusion (Fusion Tab/menu/Fusion/Fusion Settings) is set to Python 3.6
|
||||

|
||||
- Open OpenPype **Tray/Admin/Studio settings** > `applications/resolve/environment` and add Python3 path to `RESOLVE_PYTHON3_HOME` platform related.
|
||||
|
||||
<TabItem value="win">
|
||||
## Editorial setup
|
||||
|
||||
`%LOCALAPPDATA%\Programs\Python\Python36`
|
||||
This is how it looks on my testing project timeline
|
||||

|
||||
Notice I had renamed tracks to `main` (holding metadata markers) and `review` used for generating review data with ffmpeg confersion to jpg sequence.
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="linux">
|
||||
|
||||
`/opt/Python/3.6/bin`
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="mac">
|
||||
|
||||
`~/Library/Python/3.6/bin`
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
### Installing PySide2 into python 3.6 for correct gui work
|
||||
|
||||
OpenPype is using its own window widget inside Resolve, for that reason PySide2 has to be installed into the python 3.6 (as explained above).
|
||||
|
||||
<Tabs
|
||||
groupId="platforms"
|
||||
defaultValue="win"
|
||||
values={[
|
||||
{label: 'Windows', value: 'win'},
|
||||
{label: 'Linux', value: 'linux'},
|
||||
{label: 'Mac', value: 'mac'},
|
||||
]}>
|
||||
|
||||
<TabItem value="win">
|
||||
|
||||
paste to any terminal of your choice
|
||||
|
||||
```bash
|
||||
%LOCALAPPDATA%\Programs\Python\Python36\python.exe -m pip install PySide2
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="linux">
|
||||
|
||||
paste to any terminal of your choice
|
||||
|
||||
```bash
|
||||
/opt/Python/3.6/bin/python -m pip install PySide2
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="mac">
|
||||
|
||||
paste to any terminal of your choice
|
||||
|
||||
```bash
|
||||
~/Library/Python/3.6/bin/python -m pip install PySide2
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
<div class="row markdown">
|
||||
|
||||
### Set Resolve's Fusion settings for Python 3.6 interpereter
|
||||
|
||||
<div class="col col--6 markdown">
|
||||
|
||||
|
||||
As it is shown in below picture you have to go to Fusion Tab and then in Fusion menu find Fusion Settings. Go to Fusion/Script and find Default Python Version and switch to Python 3.6
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col col--6 markdown">
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
</div>
|
||||
</div>
|
||||
1. you need to start OpenPype menu from Resolve/EditTab/Menu/Workspace/Scripts/Comp/**__OpenPype_Menu__**
|
||||
2. then select any clips in `main` track and change their color to `Chocolate`
|
||||
3. in OpenPype Menu select `Create`
|
||||
4. in Creator select `Create Publishable Clip [New]` (temporary name)
|
||||
5. set `Rename clips` to True, Master Track to `main` and Use review track to `review` as in picture
|
||||

|
||||
6. after you hit `ok` all clips are colored to `ping` and marked with openpype metadata tag
|
||||
7. git `Publish` on openpype menu and see that all had been collected correctly. That is the last step for now as rest is Work in progress. Next steps will follow.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue