1
the easiest way to debug this is to create a script file with that code (that you’ve found in the “which” function) and run it against the path to your ffmpeg executable. You may have some user rights issues or maybe the path is not correctly formatted…
Clearly the executable file cannot be found or accessed.
Source:stackexchange.com