Hey I looked into all of the provided solutions and did not find anything usableor up to date. I realy liked the Xabe approach.
For me the biggest problem was downloading ffmpeg based on platform. After I had it donwload I used it with cli wrap to execute functions same as if you would have used it via terminal
If it helps I released my implementation for the cross platform downloader
https://gist.github.com/Dominent/0c70566cde6d3178cec6adf7305a7e82