#5181 TaskCfgVTT(uuid='8703532931', name='C:/Users/Administrator/Desktop/Stop.mp4', dirname='C:/Users/Administrator/Desktop',

103.151* Posted at: 1 day ago

Unknown error (empty stderr)[阿里百炼 Qwen3-ASR, DeepSeek, Edge-TTS(免费)]
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 266, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', 'C:/Users/Administrator/Desktop/Stop.mp4']' returned non-zero exit status 1.

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 281, in _run_ffprobe_internal
videotrans.configure.excepts.FFmpegError: Unknown error (empty stderr)
TaskCfgVTT(uuid='8703532931', name='C:/Users/Administrator/Desktop/Stop.mp4', dirname='C:/Users/Administrator/Desktop', noextname='Stop', basename='Stop.mp4', ext='mp4', target_dir='Stop-mp4', cache_folder='F:/BaiduNetdiskDownload/win-pyvideotrans-v4.02-0612/tmp/15400/8703532931', is_cuda=False, source_language='英语', source_language_code='en', source_sub='Stop-mp4/en.srt', source_wav='F:/BaiduNetdiskDownload/win-pyvideotrans-v4.02-0612/tmp/15400/8703532931/en.wav', source_wav_output='Stop-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='Stop-mp4/zh-cn.srt', target_wav='F:/BaiduNetdiskDownload/win-pyvideotrans-v4.02-0612/tmp/15400/8703532931/target.wav', target_wav_output='Stop-mp4/zh-cn.m4a', translate_type=4, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunjian(Male/CN)', voice_autorate=True, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=7, model_name='tiny', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=1, fix_punc=0, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='Stop-mp4/Stop.mp4', novoice_mp4='F:/BaiduNetdiskDownload/win-pyvideotrans-v4.02-0612/tmp/15400/8703532931/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal=None, clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, 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:F:/BaiduNetdiskDownload/win-pyvideotrans-v4.02-0612

1 Replies

ffprobe 无法读取视频文件 Stop.mp4,导致准备阶段失败。原因是该文件可能损坏、编码格式不兼容,或软件自带的 ffprobe 组件出现问题。

解决步骤:

  1. 检查视频文件:用其他播放器(如 PotPlayer、VLC)尝试播放 Stop.mp4。如果无法播放,说明文件已损坏,需重新获取或转换。
  2. 切换视频格式:使用格式工厂或 FFmpeg 将视频转码为标准 h.264 编码的 mp4(如 ffmpeg -i input.mp4 -c:v libx264 -c:a aac output.mp4),再导入软件。
  3. 验证 ffmpeg 组件:进入软件根目录下的 ffmpeg 文件夹,按住 Shift 右键选择“在此处打开 PowerShell/CMD”,输入 .\ffprobe.exe -version 检查是否能正常输出版本信息。若失败,则需重新下载完整版压缩包并覆盖。
  4. 移动文件路径:将视频复制到软件所在的 F: 盘下(例如 F:\videos\Stop.mp4),再次尝试,排除盘符权限问题。

请查阅相关文档:

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