#3123 TaskCfg(cache_folder='E:/pyvideotrans/tmp/1508/f881d91be1', target_dir='E:/123/n-mp4', remove_noise=False, is_separate=F

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', 'E:/n.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:/pyvideotrans/tmp/1508/f881d91be1', target_dir='E:/123/n-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='E:/123/n-mp4/ja.srt', target_sub='E:/123/n-mp4/zh-cn.srt', source_wav='E:/pyvideotrans/tmp/1508/f881d91be1/ja.wav', source_wav_output='E:/123/n-mp4/ja.m4a', target_wav='E:/pyvideotrans/tmp/1508/f881d91be1/target.wav', target_wav_output='E:/123/n-mp4/zh-cn.m4a', subtitles='', novoice_mp4='E:/pyvideotrans/tmp/1508/f881d91be1/novoice.mp4', noextname='n', shibie_audio=None, targetdir_mp4='E:/123/n-mp4/n.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=False, cuda=False, name='E:/n.mp4', basename='n.mp4', ext='mp4', dirname='E:/', shound_del_name=None, uuid='f881d91be1', 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:/pyvideotrans

1 Replies

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

  1. 检查视频文件:确认 E:/n.mp4 文件存在且可正常播放。尝试用其他播放器(如 VLC)打开,检查文件是否损坏。
  2. 检查文件路径:确保路径 E:/n.mp4 不包含任何中文字符或特殊符号。虽然 E:/ 看起来没问题,但请确认文件名 n.mp4 本身是纯英文/数字。
  3. 检查软件完整性:如果你使用的是 Windows 预打包版,请确认 ffmpeg 文件夹存在于软件根目录 E:/pyvideotrans/ 下,并且 ffprobe.exe 文件存在。
  4. 尝试转换视频格式:使用其他工具(如格式工厂)将 n.mp4 转换为标准的 H.264/AAC 编码的 MP4 文件,然后使用新文件进行处理。
  5. 以管理员身份运行:尝试右键点击 sp.exe,选择“以管理员身份运行”,然后重新处理视频。

请查阅相关文档:

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