ffmpeg_setpath is a Python library to automatically set the system paths of ffmpeg.
pip install ffmpeg-setpath