>>30990455Finished writing a script to do it:
https://pastebin.com/dxXHXfQMwritten in bash; needs ffmpeg, ffprobe, bc and coreutils(or similar); tested on arch linux and freebsd.
As I already said in
>>31021528 ffmpeg really isn't the right tool to do this (shellscript is probably also the wrong language).
The script is insanely slow and inefficient and doesn't have a lot of error handling, so it could also simply not run.
I only know how to view soundposts not make them, so if anyone wants to make a soundpost with it then go for it.