EXPERIMENTAL prores_encoder (FFMPEG backend) for Davinci Resolve Studio (based on Black Magic's x264_encoder_plugin sample)
----------------- [WINDOWS] -----------------
To compile this under WINDOWS, you'll need the following tools installed
- Visual Studio 2022
- MSYS2
Instructions:
[Pre-Req]
Create Directory C:\VideoEditingUtils\prores_plugin_build
[Download ffmpeg]
- run "MSYS2 MSYS" - type it in the search bar in the Windows Task Bar
- pacman -Sy pacman
- pacman -Syu
- pacman -Su
- pacman -S nasm
- pacman -S make
- pacman -S git
- cd /C/VideoEditingUtils/prores_plugin_build
- git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
[Compile ffmpeg]
- run the "x64 Native Tools Command Prompt for VS 2022" - type it in the seach bar in the Windows Task Bar
- Inside the command prompt, type "cd /d C:\msys64"
- Execute the command "msys2_shell.cmd -mingw64 -full-path"
- This will open up another terminal, type in the following commands (in the new terminal)
- cd /C/VideoEditingUtils/prores_plugin_build/ffmpeg
- CC=cl ./configure --toolchain=msvc --disable-programs --disable-shared --disable-debug --enable-static --prefix=/C/VideoEditingUtils/prores_plugin_build/ffmpeg_pkg
- make V=1 -j 8
- make install
[Download prores_encoder]
- run "MSYS2 MSYS" - type it in the search bar in the Windows Task Bar
- cd /C/VideoEditingUtils/prores_plugin_build
- git clone https://github.com/UDaManFunks/prores_encoder
[Compile prores_encoder]
- run the "x64 Native Tools Command Prompt for VS 2022" - type it in the seach bar in the Windows Task Bar
- Inside the command prompt, type "cd /d C:\VideoEditingUtils\prores_plugin_build\prores_encoder"
- nmake /f NMakefile
[Packaging / Installing]
- Create folder called "IOPlugins" under %PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support
Note: you can open up %PROGRAMDATA% folder via explorer by typing it verbatim in a run window (Win + R)
- Create a folder named "prores_encoder.dvcp.bundle" under the IOPlugins folder
- Create a folder named "Contents" under the "prores_encoder.dvcp.bundle" folder
- Create a folder named "Win64" under the "Contents" folder
- Copy the built plugin from C:\VideoEditingUtils\prores_plugin_build\prores_encoder\bin\prores_encoder.dvcp" and place it in the "Win64" folder (which you've created via Step 1-4)
- Start Davinci Resolve Studio
You can export using PRORES if you pick "QUICKTIME" as your FORMAT in Davnci Resolve, then selecting the "ProRes" Codec option.
----------------- [LINUX] -----------------
To compile this under LINUX, you'll need certain development tools installed. The commands listed below were tested in UBUNTU 24.04 LTS
Instructions:
[Pre-Req]
Create a directory in your HOME directory named prores_plugin_build
mkdir ~/prores_plugin_build
[Download FFMPEG]
cd ~/prores_plugin_build
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
[Compile FFMPEG]
cd ~/prores_plugin_build/ffmpeg
./configure --disable-programs --disable-shared --enable-static --enable-pic --disable-debug --prefix=../ffmpeg_pkg
make V=1 -j 8
make install
[Download PRORES_encoder]
cd ~/prores_plugin_build
[Compile PRORES_encoder]
cd ~/prores_plugin_build/prores_encoder
make
[Packaging / Installing]
Create the plugin folder structure
sudo mkdir -p /opt/resolve/IOPlugins/prores_encoder.dvcp.bundle/Contents/Linux-x86-64
Move the newly built binary the to the folder you created
sudo mv bin/prores_encoder.dvcp /opt/resolve/IOPlugins/prores_encoder.dvcp.bundle/Contents/Linux-x86-64/
sudo chown root:root /opt/resolve/IOPlugins/prores_encoder.dvcp.bundle/Contents/Linux-x86-64/prores_encoder.dvcp
sudo chmod 755 /opt/resolve/IOPlugins/prores_encoder.dvcp.bundle/Contents/Linux-x86-64/prores_encoder.dvcp
Restart Davinci Resolve Studio