#5126 TaskCfgVTT(uuid='62fc7bcd9e', name='C:/Users/86181/Desktop/工作文件/学生视频/wql/微信视频2026-06-11_190904_954.mp4', dirname='C:/Use

218.201* Posted at: 2 hours ago

Command not found: ffmpeg. Ensure FFmpeg is installed and in your PATH.[faster-whisper(本地内置), Google(免费), Edge-TTS(免费)]
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 266, in _run_ffprobe_internal
File "subprocess.py", line 503, in run
File "subprocess.py", line 971, in init
File "subprocess.py", line 1456, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 45, in run
File "videotrans\task\trans_create.py", line 178, in prepare
File "videotrans\util\help_ffmpeg.py", line 300, in get_video_info
File "videotrans\util\help_ffmpeg.py", line 288, in runffprobe
File "videotrans\util\help_ffmpeg.py", line 277, in _run_ffprobe_internal
videotrans.configure.excepts.FFmpegError: Command not found: ffmpeg. Ensure FFmpeg is installed and in your PATH.
TaskCfgVTT(uuid='62fc7bcd9e', name='C:/Users/86181/Desktop/工作文件/学生视频/wql/微信视频2026-06-11_190904_954.mp4', dirname='C:/Users/86181/Desktop/工作文件/学生视频/wql', noextname='微信视频2026-06-11_190904_954', basename='微信视频2026-06-11_190904_954.mp4', ext='mp4', target_dir='C:/Users/86181/Desktop/工作文件/学生视频/wql的翻译视频/微信视频2026-06-11_190904_954-mp4', cache_folder='C:/Users/86181/Desktop/tmp/38760/62fc7bcd9e', is_cuda=False, source_language='英语', source_language_code='en', source_sub='C:/Users/86181/Desktop/工作文件/学生视频/wql的翻译视频/微信视频2026-06-11_190904_954-mp4/en.srt', source_wav='C:/Users/86181/Desktop/tmp/38760/62fc7bcd9e/en.wav', source_wav_output='C:/Users/86181/Desktop/工作文件/学生视频/wql的翻译视频/微信视频2026-06-11_190904_954-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='C:/Users/86181/Desktop/工作文件/学生视频/wql的翻译视频/微信视频2026-06-11_190904_954-mp4/zh-cn.srt', target_wav='C:/Users/86181/Desktop/tmp/38760/62fc7bcd9e/target.wav', target_wav_output='C:/Users/86181/Desktop/工作文件/学生视频/wql的翻译视频/微信视频2026-06-11_190904_954-mp4/zh-cn.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='distil-large-v3.5', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/86181/Desktop/工作文件/学生视频/wql的翻译视频/微信视频2026-06-11_190904_954-mp4/微信视频2026-06-11_190904_954.mp4', novoice_mp4='C:/Users/86181/Desktop/tmp/38760/62fc7bcd9e/novoice.mp4', is_separate=True, embed_bgm=True, instrument=None, vocal=None, clear_cache=True, background_music='', subtitle_type=3, only_out_mp4=False, recogn2pass=True, output_srt=2, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.02
frozen:True
language:zh
root_dir:C:/Users/86181/Desktop

1 Replies

核心原因

这是由于 FFmpeg 未找到。Windows 预打包版的 FFmpeg 集成在软件目录中,但您的解压路径包含中文和空格(如 C:/Users/86181/Desktop/工作文件/...),导致程序无法正确加载 FFmpeg 组件。

解决方案

  1. 重新解压软件:将整个 pyVideoTrans 文件夹移动到纯英文路径下,例如 D:\pyvideotrans,并确保路径中不含任何中文、空格或特殊符号(包括桌面路径通常也建议避免)。
  2. 检查 ffmpeg 目录:确认解压后的文件夹内包含 ffmpeg/ 子目录,其中有 ffmpeg.exeffprobe.exe 等文件。如果缺少,请重新下载完整包并覆盖解压。
  3. 关闭杀毒软件:部分安全软件会误删 ffmpeg 文件,请将软件目录加入信任区。
  4. 重新启动:移动后双击 sp.exe 启动即可。如果仍报错,可删除 videotrans/ 下的 params.jsoncfg.json 等配置文件(注意备份密钥),然后再次启动。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update. Dondate: ko-fi.com/jianchang512

Related resource