The problem with Davinci I encountered was that very common encodings like x264 or x265 don’t work with the community edition and I can’t justify getting the pro version from an economic standpoint

vapoursynth
It's basically video editing in Python, that can be piped directly to ffmpeg or whatever encoder you want.
...It's finicky. And poorly documented.
It's not fast and does a lot on CPU, but it's extremely powerful. As an example, I have a script for transcoding high ISO footage that, frankly, blows Davinci's filters out of the water. And I have another for fixing up an old DVD that I just couldn't have done with Davinci.