A lua script for OBS Studio that automatically remuxes recordings made into a format compatible with DaVinci Resolve on Linux.
This is primarily done as a way to allow for the use of hardware encoding to record, and easy imports into Resolve afterwards.
You must have ffmpeg installed and in your PATH for this script to work.
OBS may freeze for a bit after hit stop a recording. This is expected behaviour. I have not figured out if this is possible to avoid. Do note that once you can use OBS again, the recording should have been successfully remuxed.
I also recommend taking a look at https://github.com/EdvinNilsson/ffmpeg_encoder_plugin for a useful plugin for resolve, which allows you to export directly to h.264, h.265, and AV1 formats.