#3124 TaskCfg(cache_folder='E:/pyvideotrans/tmp/704/7ca98579bc', target_dir='E:/123/n-mp4', remove_noise=False, is_separate=Fa

111.14* Posted at: 15 hours ago 👁9

预处理阶段出错 操作失败,请稍后重试('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/704/7ca98579bc', 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/704/7ca98579bc/ja.wav', source_wav_output='E:/123/n-mp4/ja.m4a', target_wav='E:/pyvideotrans/tmp/704/7ca98579bc/target.wav', target_wav_output='E:/123/n-mp4/zh-cn.m4a', subtitles='', novoice_mp4='E:/pyvideotrans/tmp/704/7ca98579bc/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='7ca98579bc', 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

这是由于软件内置的 ffprobe 工具无法正常读取视频文件信息导致的。错误代码 3221225501 通常与 Windows 系统环境或视频文件本身有关。

  1. 检查视频文件路径:确保视频文件路径 E:/n.mp4 存在,且路径中不包含中文或特殊字符。当前路径符合规范。
  2. 检查视频文件完整性:尝试用其他播放器(如 VLC)打开 E:/n.mp4,确认视频文件未损坏且可以正常播放。
  3. 使用外部 FFmpeg:软件内置的 ffmpeg/ffprobe 可能与您的系统环境冲突。

    • 前往 FFmpeg 官网 下载 Windows 版本(例如 ffmpeg-release-essentials.7z)。
    • 解压后,找到 bin 文件夹下的 ffprobe.exe
    • 将其复制到 pyVideoTrans 软件根目录的 ffmpeg 文件夹内(即 E:/pyvideotrans/ffmpeg/),覆盖原有的 ffprobe.exe 文件。
  4. 重启软件并重试:覆盖文件后,完全关闭 pyVideoTrans 再重新启动,然后再次处理视频。

如果以上步骤无效,可能是视频编码过于特殊。请尝试使用格式转换工具(如 HandBrake 或 ShanaEncoder)将视频转换为标准的 H.264/AAC 编码的 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