Skip to content

The system cannot find the specified file #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
YeisonVelez11 opened this issue Sep 18, 2019 · 1 comment
Open

The system cannot find the specified file #6

YeisonVelez11 opened this issue Sep 18, 2019 · 1 comment

Comments

@YeisonVelez11
Copy link

I am using python 3.x and never find the file. I am sure that my file is in the correct directory. what am I doing wrong?

imagen

imagen

@artperrin
Copy link

Hi,
This issue is quite old but as I faced the same problem recently, I'll post my answer:

The file Windows doesn't find is probably the ffmpeg executable, not your audio file. In the 101st line of the script, in the convert_to_wav() function, a subprocess calls ffmpeg to convert the data to a .wav file. Here the argument is litteraly ffmpeg, meaning that the ffmpeg executable must be in your PATH.
From here you have two solutions:

  • add ffmpeg to your PATH (here is a tutorial on how to do that on Windows),
  • or modify the first argument of the subprocess function from ffmpeg to /your/path/to/ffmpeg/executable/.

I hope it will help you or anyone having the same issue !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants