#3190 RuntimeError: size= 30976KiB time=00:16:37.11 bitrate= 254.5kbits/s speed= 487x elapsed=0:00:02.04

2409:8a3c* Posted at: 10 hours ago 👁11

预处理阶段出错:运行时错误:size= 30976KiB time=00:16:37.11 bitrate= 254.5kbits/s speed= 487x elapsed=0:00:02.04:
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:/win-videotrans-v3.83/tmp1780/8ee1814828/ja.wav', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'highpass=f=80,afftdn=nf=-25,loudnorm,volume=1.5', 'C:/Users/Administrator/Desktop/_video_out/n0496/shibie.wav']' returned non-zero exit status 1.

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: size= 63KiB time=00:00:02.09 bitrate= 244.3kbits/s speed=2.06x elapsed=0:00:01.01

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:/win-videotrans-v3.83/tmp1780/8ee1814828/ja.wav', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'C:/Users/Administrator/Desktop/_video_out/n0496/shibie.wav']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 63, in run
File "videotrans\task\trans_create.py", line 254, 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: size= 30976KiB time=00:16:37.11 bitrate= 254.5kbits/s speed= 487x elapsed=0:00:02.04


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

1 Replies

这是由于 FFmpeg 在处理音频文件时失败导致的。错误发生在预处理阶段,软件尝试将音频转换为 16kHz、单声道、PCM 16位格式时,FFmpeg 命令执行返回了非零状态码(exit status 1)。

解决方案:

  1. 检查音频文件:确认源文件 E:/win-videotrans-v3.83/tmp1780/8ee1814828/ja.wav 是否存在且未被其他程序占用。
  2. 检查输出路径权限:确保输出目录 C:/Users/Administrator/Desktop/_video_out/n0496/ 存在,并且软件有写入权限(避免使用需要管理员权限的路径)。
  3. 关闭音频增强滤镜:此错误可能与音频滤镜(-af 参数中的 highpass, afftdn, loudnorm, volume)不兼容有关。在软件中,进入“菜单” -> “工具” -> “高级选项” -> “通用设置”,找到“音频预处理滤镜”选项,将其清空(留空),然后保存并重启软件,重新尝试处理。
  4. 检查 FFmpeg 完整性:如果你使用的是 Windows 预打包版,请确保 ffmpeg 文件夹完整且未被误删。如果是源码部署,请确认系统环境变量中的 FFmpeg 版本正常。
  5. 简化处理路径:尝试将视频文件移动到更简单的路径下(例如 D:/video.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