https://github.com/OpenMediaVa…ter%40%7B1day%7D...master
Will show what little has changed, easy to see and undo.
If it were me I would keep ffmpeg in the default location (/var....) and use the startup method to point to it. The ffmpeg you get with debian via apt-get is not as good (IMHO) as the one supplied with the app.
This would mean deleting all rm commands in the script that relate to ffmpeg.
I am home now on dinner break so can go into much detail but will be around after 5pm uk time.