The error "Command not found: 'ffprobe'" indicates that the FFmpeg software is not installed or not accessible on your system. FFmpeg is a critical dependency for pyVideoTrans to process video and audio files.
Since you are using the source code version on Windows, you need to install FFmpeg manually. Here are the steps:
Download FFmpeg:
- Go to the official FFmpeg download page:
https://ffmpeg.org/download.html - For Windows, download the "Windows builds from gyan.dev" link.
- Choose the "release essentials" build (e.g.,
ffmpeg-release-essentials.zip).
Install FFmpeg:
- Extract the downloaded ZIP file to a simple location, for example:
C:\ffmpeg - Inside the extracted folder (e.g.,
C:\ffmpeg\bin), you will find ffmpeg.exe, ffprobe.exe, and ffplay.exe.
Add FFmpeg to your System PATH:
- Press
Win + S, type "environment variables", and select "Edit the system environment variables". - Click the "Environment Variables..." button.
- In the "System variables" section, find and select the
Path variable, then click "Edit...". - Click "New" and add the path to the
bin folder you extracted (e.g., C:\ffmpeg\bin). - Click "OK" on all windows to close them.
Verify Installation:
- Open a new Command Prompt (important to reload the PATH).
- Type
ffmpeg -version and press Enter. If you see version information, FFmpeg is correctly installed.
Restart pyVideoTrans:
- Close and restart your pyVideoTrans application. The error should be resolved.
If you continue to face issues, please ensure your video file path does not contain special characters or is too long. Try moving the video to a simple location like D:\test.mp4 and processing it from there.