tmoroney / auto-subs

Generate subtitles using OpenAI Whisper in Davinci Resolve editing software.
MIT License
466 stars 27 forks source link

[Errno 2] No such file or directory: 'ffmpeg' #58

Open uiosagapetos opened 1 month ago

uiosagapetos commented 1 month ago

This is the output in the console when I try to generate subs from macOS Sonoma 14.5.

I've checked all the installation requirements more than once. It seems to be an issue in the path of ffmpeg.

Anyone got the same issue and solved? thanks in advance!

The script is awesome!!!

TonyPfau commented 1 month ago

following, have yet to get anything to run, numpy not found, went back below2.0 on numpy but no idea if that got fixed because then no directory ffmpeg...hope someone has a fix. from console “[Errno 2] No such file or directory: 'ffmpeg”. on mac i9 latest sonoma latest DR v19 5 hour head scratching😝

BobbyRaduloff commented 2 weeks ago

the script assumes ffmpeg is installed through homebrew i.e. path is /opt/homebrew/bin/ffmpeg.

change it manually in the script if your ffmpeg is somewhere else. you can check with which ffmpeg command.