The software is running from a path containing a space and possibly other non-alphanumeric characters (C:/Users/Mr.Dai/Desktop/New folder). The New folder directory name contains a space, which commonly causes file path parsing failures in the underlying FFmpeg/command-line calls, leading to the "Video file selection required" error.
Additionally, if you are trying to select a video file but the selection is not registering, the most likely causes are:
- Non-English / special-character path: Your
root_dir is C:/Users/Mr.Dai/Desktop/New folder. The space in New folder and the dot in Mr.Dai are not ideal. Please move the entire software folder and your video files to a simple path with only English letters and digits, e.g. D:/pyVideoTrans. - File not actually selected: Click the "Select audio or video" button again and make sure a file is actually chosen. The "Start" button stays disabled and shows this error until at least one valid file is selected.
- Unsupported or corrupted file: Confirm the file plays normally in a media player and uses a common format (mp4/mkv/avi/mov/wav/mp3).
Steps to fix:
- Fully close the software.
- Move the entire pyVideoTrans folder to a simple all-English path such as
D:/pyVideoTrans (no spaces, no dots). - Move your source video files to a simple path too, e.g.
D:/videos/001.mp4. - Relaunch
sp.exe and select the video again.
If the problem persists, provide the latest log file from the logs/ folder (copy the last ~30 lines) for further analysis.
请查阅相关文档: