tmoroney / auto-subs

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

[WinError 2] The system cannot find the file specified #43

Open SihoChoii opened 4 months ago

SihoChoii commented 4 months ago

The console outputs this error while transcribing the audio [WinError 2] The system cannot find the file specified

AlmightyMek commented 4 months ago

Seeing the same as well

Using model -> [ small.en ]
MarkIn: 216000
Rendering Audio for Transcription...
Progress:  100 %
Audio Rendering Complete!
Transcribing Audio...
[WinError 2] The system cannot find the file specified
Zendore28 commented 4 months ago

I also have this problem... if anyone has found a fix please do share on how to fix this problem.

jayhyonhan commented 4 months ago

I SOLVED IT Don't use the "small" model I used the "base" model and it worked I think the file for that model is missing...

AlmightyMek commented 4 months ago

Didn't work for me

Using model -> [ base.en ]
MarkIn: 216000
Rendering Audio for Transcription...
Progress:  100 %
Audio Rendering Complete!
Transcribing Audio...

  0%|                                               | 0.00/139M [00:00<?, ?iB/s]
...
100%|#######################################| 139M/139M [00:12<00:00, 11.6MiB/s]
[WinError 2] The system cannot find the file specified
AlmightyMek commented 4 months ago

Figured this out.

I needed to uninstall ffmpeg via PIP and install it via choco and that seemed to resolve it for me,

jayhyonhan commented 4 months ago

Try using a different model then

Zendore28 commented 4 months ago

Okay thanks guys I got it to work

uriatar commented 4 months ago

i have this problem and i tried all the things you suggested but it didn't work for me. i would love to get a solution

chamberlyian commented 2 weeks ago

I believe I have found a solution. I added ffmpeg to the path on my windows environment variables. It is hard to describe but it worked for me. here's the video I used to help me: https://www.youtube.com/watch?v=6sim9aF3g2c if that doesn't work for you all then Idk but it worked for me on windows 10 and da vinci 19! Hope this helps