FFmpeg Encoder Plugin for DaVinci Resolve Studio
This plugin enables you to export H.264, H.265 and AV1 video from DaVinci Resolve Studio using FFmpeg encoders.
The plugin supports both CPU encoding and GPU encoding on Linux using VAAPI, Vulkan and NVENC where available.
Supported encoders
- H.264
- H.265
- AV1
- SVT-AV1
- VAAPI
- Vulkan
- NVENC
Installation
Linux
There is also an AUR package at davinci-ffmpeg-encoder-plugin for Arch Linux and Arch-based distributions.
If the hardware-accelerated VAAPI encoders are missing in Resolve, you may lack the required VAAPI driver for your GPU. Installation instructions can be found on the wikis of Arch, Debian, and Fedora. The driver installation can be verified by running vainfo.
Windows
Mac
- Unzip ffmpeg_encoder_plugin.dvcp.bundle.zip
- Run
xattr -rd com.apple.quarantine ffmpeg_encoder_plugin.dvcp.bundle. This is necessary because the binary is not notarized by Apple and without this step, macOS will refuse to load the plugin and say that it is damaged.
- Move ffmpeg_encoder_plugin.dvcp.bundle to the following directory depending on the installation method of DaVinci Resolve.
- Standalone:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/
- Mac App Store:
~/Library/Containers/com.blackmagic-design.DaVinciResolveAppStore/Data/Library/Application Support/IOPlugins/
Build instructions
Linux
Requirements
- GCC or Clang
- CMake
- FFmpeg (with development files)
Building the plugin
mkdir build
cd build
cmake ..
make
- Copy
ffmpeg_encoder_plugin.dvcp from ./build to /opt/resolve/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/Linux-x86-64/.
Windows
Requirements
Building the plugin
- Extract the downloaded
ffmpeg-release-full-shared.7z to the project root, and rename the folder to ffmpeg.
- Open the project in Visual Studio 2022 and select Build > Build ffmpeg_encoder_plugin.dvcp.
- Copy
ffmpeg_encoder_plugin.dvcp from .\out\build, and the dll files for avcodec, avutil and swresample from .\ffmpeg\bin to %ProgramData%\Blackmagic Design\DaVinci Resolve\Support\IOPlugins\ffmpeg_encoder_plugin.dvcp.bundle\Contents\Win64\.
Mac
Requirements
- Clang
- CMake (from Homebrew)
- FFmpeg (from Homebrew)
Building the plugin
mkdir build
cd build
cmake ..
make
- Copy
ffmpeg_encoder_plugin.dvcp from ./build to the following directory depending on the CPU architecture and installation location of DaVinci Resolve.
- Mac x86-64:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/
- Mac x86-64 (App Store):
~/Library/Containers/com.blackmagic-design.DaVinciResolveAppStore/Data/Library/Application Support/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/
- Mac Arm64:
/Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/MacOS/
- Mac Arm64 (App Store):
~/Library/Containers/com.blackmagic-design.DaVinciResolveAppStore/Data/Library/Application Support/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/MacOS/
DaVinci Resolve is a trademark of Blackmagic Design Pty. Ltd.
评论