#3121 TaskCfg(cache_folder='E:/win-pyvideotrans-v3.92/tmp/8204/5ea26db357', target_dir='C:/Users/Administrator/Desktop/_video_

111.14* Posted at: 16 hours ago 👁8

预处理阶段出错 操作失败,请稍后重试('Unknown error (empty stderr)',)
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 599, in _run_ffprobe_internal
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', 'C:/Users/Administrator/Desktop/n1353_2009sp_03_tg.mp4']' returned non-zero exit status 3221225501.

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

Traceback (most recent call last):
File "videotrans\task\job.py", line 67, in run
File "videotrans\task\trans_create.py", line 203, in prepare
File "videotrans\util\help_ffmpeg.py", line 653, in get_video_info
File "videotrans\util\help_ffmpeg.py", line 625, in runffprobe
File "videotrans\util\help_ffmpeg.py", line 616, in _run_ffprobe_internal
videotrans.util.help_ffmpeg._FFprobeInternalError: Unknown error (empty stderr)

TaskCfg(cache_folder='E:/win-pyvideotrans-v3.92/tmp/8204/5ea26db357', target_dir='C:/Users/Administrator/Desktop/_video_out/n1353_2009sp_03_tg-mp4', remove_noise=False, is_separate=False, detect_language='ja', subtitle_language=None, source_language='日语', target_language='简体中文', source_language_code='ja', target_language_code='zh-cn', source_sub='C:/Users/Administrator/Desktop/_video_out/n1353_2009sp_03_tg-mp4/ja.srt', target_sub='C:/Users/Administrator/Desktop/_video_out/n1353_2009sp_03_tg-mp4/zh-cn.srt', source_wav='E:/win-pyvideotrans-v3.92/tmp/8204/5ea26db357/ja.wav', source_wav_output='C:/Users/Administrator/Desktop/_video_out/n1353_2009sp_03_tg-mp4/ja.m4a', target_wav='E:/win-pyvideotrans-v3.92/tmp/8204/5ea26db357/target.wav', target_wav_output='C:/Users/Administrator/Desktop/_video_out/n1353_2009sp_03_tg-mp4/zh-cn.m4a', subtitles='', novoice_mp4='E:/win-pyvideotrans-v3.92/tmp/8204/5ea26db357/novoice.mp4', noextname='n1353_2009sp_03_tg', shibie_audio=None, targetdir_mp4='C:/Users/Administrator/Desktop/_video_out/n1353_2009sp_03_tg-mp4/n1353_2009sp_03_tg.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=2, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/Administrator/Desktop/n1353_2009sp_03_tg.mp4', basename='n1353_2009sp_03_tg.mp4', ext='mp4', dirname='C:/Users/Administrator/Desktop', shound_del_name=None, uuid='5ea26db357', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)


=
system:Windows-10-10.0.22000-SP0
version:v3.92
frozen:True
language:zh
root_dir:E:/win-pyvideotrans-v3.92

1 Replies

这是由于 FFmpeg/FFprobe 无法处理输入视频文件导致的。错误代码 3221225501 通常与系统环境、视频文件损坏或路径问题有关。

  1. 检查视频文件:确认 C:/Users/Administrator/Desktop/n1353_2009sp_03_tg.mp4 文件是否存在且未损坏。尝试用其他播放器(如 VLC)打开,或使用格式工厂等工具将其转换为标准 MP4 格式(如 H.264 编码)后重试。
  2. 检查 FFmpeg 完整性

    • 确保软件是从官方渠道下载的完整版(而非补丁包),且解压路径(E:/win-pyvideotrans-v3.92)不含中文和空格。
    • 检查 E:/win-pyvideotrans-v3.92/ffmpeg/ 目录下是否存在 ffprobe.exe 文件。
  3. 检查系统依赖:Windows 系统可能缺少必要的运行库。请安装 Microsoft Visual C++ Redistributable 并重启电脑。

  4. 简化路径与文件名:将视频文件移动到更简单的路径(如 D:\test.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.

Related resource