The original way to automate this project is by using its API, but it can only be triggered with the internal console, which is no way reachable using script without directly interact with GUI. Also, despite the detailed description on API, the available functions are not really helpful in automation workflow and quite time consuminig to try out their full functionalities. With these two reasons, making it inevidable to automate this process using 'pyautogui' or 'keyboard' + 'mouse' library. This approach is way too unreliable, it can work on partial tesing, but fail when conbined together.
Overall, currently availble method to fully automate my daily video editing workflow is not yet achievable.
- Startup
- Open youtube studio and audio library in google.
- Choosing Video
- Choosing Audio
- Open DaVinci Resolve 17 browser, request filename, create new project, and change resolution settings.
- Launch DaVinci Resolve
- Request filename
- Create new project
- Change project settings
- Import selected video and audio.
- Import Video
- Import Audio
- Automatically put video and audio into timeline.
- Create first timeline for YT.
- Move video in timeline
- Move audio in timeline
- Duplicate timeline after color is adjusted.
- Adjust video color.
- Duplicate timeline for IG.
- In YT videos, add title automatically(audio name and creator), adjust video length, add fade in and out on video and audio.
- Adjust video length
- Add title for audio
- Add fade in and out for video and audio
- Limit export timeline length
- In IG videos, adjust video and audio length, add fade in and out on audio.
- Adjust video and audio length
- Add fade in and out for audio
- Configure both timeline render settings.
- Configure YT timeline.
- Configure IG timeline.
- Ask for final confirmation.
- Ask for confirmation
- Render both timeline.
- Trigger rendering.
- Read progress and show in progress bar?
- Progress of entire script visualize on GUI.
https://gist.github.com/X-Raym/2f2bf453fc481b9cca624d7ca0e19de8
DaVinci Resolve Scripting Doc C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\README.txt