Kind of a weird situation here. I use a software package called OpenCV which installs a dependency called FFMpeg located at the following path.
So, whenever I run the command
ffmpeg, it runs the program located at that address.
However, I don't want to use this build of
ffmpeg, but rather another build located at the following path.
Not only do I want
ffmpeg to point to the right one, I also want Python subprocess calls to point to the right
ffmpeg, so just using bash aliases won't work. I know there's ways around Python's subprocess function that make it respect aliases, but the problem is that I'm using a 3rd party module that makes the subprocess call to FFMpeg, hence I need the
ffmpeg command to refer to
/usr/local/bin/ffmpeg for all intents and purposes.
I tried using a symlink but that didn't do anything.
Thanks for any assistance!