#1417 RuntimeError: Unknown error (empty stderr)

218.19* Posted at: 3 hours ago 👁6

预处理阶段出错:运行时错误:Unknown error (empty stderr):
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 274, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'E:/VR/0815/18VR_Ace_In_Bloom.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'highpass=f=80,afftdn=nf=-25,loudnorm,volume=1.5', 'd:/win-videotrans/output/tmp9232/speech2text/18VR_Ace_In_Bloom-1762883170.8384163.wav']' returned non-zero exit status 3221225781.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 656, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 319, in runffmpeg
RuntimeError: Unknown error (empty stderr)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 274, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'E:/VR/0815/18VR_Ace_In_Bloom.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'd:/win-videotrans/output/tmp9232/speech2text/18VR_Ace_In_Bloom-1762883170.8384163.wav']' returned non-zero exit status 3221225781.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 65, in run
File "videotrans\task\_speech2text.py", line 47, in prepare
File "videotrans\util\help_ffmpeg.py", line 660, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 319, in runffmpeg
RuntimeError: Unknown error (empty stderr)


=
system:Windows-10-10.0.26200-SP0
version:v3.84
frozen:True
language:zh
root_dir:D:/win-videotrans

1 Replies

这个错误是 FFmpeg 在处理视频文件时崩溃导致的。错误代码 3221225781 通常与内存访问冲突或系统兼容性问题有关。

请按以下步骤排查:

  1. 检查视频文件路径:确保视频路径 E:/VR/0815/18VR_Ace_In_Bloom.mp4 不包含特殊字符,且路径长度适中。建议将视频移动到较浅的英文路径下。
  2. 验证视频文件完整性:该视频文件可能已损坏或编码异常。请尝试用其他播放器播放,或使用其他工具转换格式。
  3. 禁用音频处理滤镜

    • 在软件根目录找到并打开 videotrans/cfg.json 文件
    • 查找 "denoise" 参数,将其值改为 false
    • 保存文件后重启软件
  4. 更换输出目录:当前输出目录 d:/win-videotrans/output/ 可能存在权限问题。尝试更换到其他磁盘分区。
  5. 更新显卡驱动:过时的显卡驱动有时会影响视频处理。

如果以上方法无效,请提供 videotrans/logs/ 目录下的完整日志文件以便进一步分析。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions