#3065 TaskCfg(cache_folder='E:/win-pyvideotrans-v3.92/tmp/1712/8fc385c12c', target_dir='E:/win-pyvideotrans-v3.92/output/recog

2409:8a3c* Posted at: 12 hours ago 👁8

预处理阶段出错 Unknown error (empty stderr)
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 364, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'C:/Users/Administrator/Desktop/3.mp3', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'E:/win-pyvideotrans-v3.92/tmp/1712/8fc385c12c/3-1770121149.5201802.wav']' returned non-zero exit status 3221225501.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 67, in run
File "videotrans\task\_speech2text.py", line 55, in prepare
File "videotrans\util\help_ffmpeg.py", line 783, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 410, in runffmpeg
RuntimeError: Unknown error (empty stderr)

TaskCfg(cache_folder='E:/win-pyvideotrans-v3.92/tmp/1712/8fc385c12c', target_dir='E:/win-pyvideotrans-v3.92/output/recogn', remove_noise=True, is_separate=False, detect_language='ja', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='E:/win-pyvideotrans-v3.92/output/recogn/3.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='3', shibie_audio='E:/win-pyvideotrans-v3.92/tmp/1712/8fc385c12c/3-1770121149.5201802.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=0, model_name='tiny', split_type=0, voice_autorate=False, video_autorate=False, cuda=True, name='C:/Users/Administrator/Desktop/3.mp3', basename='3.mp3', ext='mp3', dirname='C:/Users/Administrator/Desktop', shound_del_name=None, uuid='8fc385c12c', remove_silent_mid=False, align_sub_audio=True, enable_diariz=True, 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 在处理音频文件时发生严重错误(退出码 3221225501)导致的。此错误通常与系统环境、FFmpeg 版本或音频文件本身有关。

解决方案:

  1. 检查 FFmpeg 完整性:确保您使用的是完整版软件包,且 ffmpeg/ 目录下的文件未被误删或损坏。如果下载的是补丁包,请重新下载完整版。
  2. 检查音频文件:尝试使用其他音频/视频文件进行测试,以排除源文件损坏或编码异常的可能性。
  3. 检查系统环境:该错误码可能指向系统级别的兼容性问题。请确保您的 Windows 系统已安装最新的 VC++ 运行库。

  4. 尝试手动转换:在命令行中,尝试手动运行 FFmpeg 命令来转换音频,观察具体错误信息:

    ffmpeg -hide_banner -ignore_unknown -threads 0 -y -i "C:/Users/Administrator/Desktop/3.mp3" -ac 1 -ar 16000 -c:a pcm_s16le "test_output.wav"
  5. 更新软件版本:您当前使用的是 v3.92 版本,请考虑更新到最新版本(如 v3.95),其中可能已修复相关兼容性问题。

请查阅相关文档:

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