Error Message:
ffmpeg: Executable not found on machine.
Solution:
Just comment out the following code in Python27\Scripts\autosub_app.py:
if not which("ffmpeg"):
print "ffmpeg: Executable not found on machine."
raise Exception("Dependency not found: ffmpeg")
This file may not be in this directory, you can see the directory that reflects the autosub.py file in the error message.
As for why the error is reported, the which command detects whether there is a correct output after inputting the which parameter on the command line, here to check whether ffmpeg is installed successfully.
However, here seems to only check ffmpeg in the python root directory. If there is no ffmpeg in the python root directory, an error will be reported. As for why, I don’t want to toss it anymore.
Another problem is that if you copy ffmpeg to the python root directory before, you must delete it. Otherwise, after commenting out raise, another error will be reported. It seems that he would prefer to use ffmpeg in the python root directory.
Pro-test is available, as shown in the figure
Similar Posts:
- When ffmpeg is used to push streaming, there may be an error: unknown encoder ‘libx264’
- Message: ‘geckodriver’ executable needs to be in PATH. [Solved]
- Ffmpeg operation not permitted error resolution process record
- [Solved] Linux Execute File Error: no such file or directory (bit mismatch)
- EM13C Add cluster Error: ADF_FACES-60096 [How to Solve]
- [Solved] python AudioSegment Read mp3 files Error: Python AudioSegment winError 2 The system cannot find the file specified
- Python calls shell script: oserror: [errno 8] exec format err
- Ubuntu16.04: How to Solve “no java virtual machine was found after searching the following locations:” Error
- Imageio: ‘ffmpeg-win32-v3.2.4.exe’ was not found on your computer; downloading it now.
- [Solved] The paramiko module failed to upload the file: paramiko.ssh_exception.SSHException: Channel closed.