Example Plugin
--------------
The 'Examples' folder contains a sample plugin for the x264 encoder in the folder named 'x264_encoder_plugin'.
1. Compile the x264 plugin from source (downloadable from
https://www.videolan.org/developers/x264.html)
2. Modify .mk.defs (for Mac/Linux) or plugin2015.vcxproj (for Windows) in x264_encoder_plugin to point to the location of x264 install path.
3. From the x264_encoder_plugin folder, build the plugin via 'make' on Mac/Linux, or using Visual Studio on Windows.
After the plugin has been successfully built, the target plugin library will be placed in the build folder. Package the plugin binary as per the naming convention above.
For example:
* Mac: x264_encoder_plugin.dvcp.bundle/Contents/MacOS-x86-64/x264_encoder_plugin.dvcp
* Linux: x264_encoder_plugin.dvcp.bundle/Contents/Linux-x86-64/x264_encoder_plugin.dvcp
* Windows: x264_encoder_plugin.dvcp.bundle/Contents/Win64/x264_encoder_plugin.dvcp
To activate the plugin in Resolve, copy 'x264_encoder_plugin.dvcp.bundle' folder to Application Support folder, into the 'IOPlugins' subfolder. The exact location is as follows:
* Mac: /Library/Application Support/Blackmagic Design/DaVinci Resolve/IOPlugins
* Linux: /opt/resolve/IOPlugins
* Windows: %ProgramData%\Blackmagic Design\DaVinci Resolve\Support\IOPlugins
Once the plugin folder is installed, start Resolve and create a timeline with clips. Go to the Deliver page. In the format list, the list of containers supported by the plugin should show up. If a plugin supported container format (or QuickTime) is chosen, codecs supported by the plugin should be visible in the codecs list. Upon selecting the plugin codec, the corresponding UI widgets will be shown in the render settings.
Updated May 5, 2020.