#1425 RuntimeError: size= 44800KiB time=00:04:20.66 bitrate=1407.9kbits/s speed=25.3x

5.180* Posted at: 2 hours ago 👁6

预处理阶段出错:运行时错误:size= 44800KiB time=00:04:20.66 bitrate=1407.9kbits/s speed=25.3x:
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', 'G:/Y沅芷太极/新建文件夹/太极缠丝练气修真秘术43集/11.杨氏太极拳内家要点详解.mp4', '-vn', '-ac', '2', '-c:a', 'pcm_s16le', 'G:/win-videotrans-v3.83/tmp38436/b46206e84c/zh-cn.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 251, in prepare
File "videotrans\task\trans_create.py", line 590, in _split_audio_byraw
File "videotrans\util\help_ffmpeg.py", line 319, in runffmpeg
RuntimeError: size= 44800KiB time=00:04:20.66 bitrate=1407.9kbits/s speed=25.3x


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

1 Replies

这个错误是 FFmpeg 在提取视频音频时失败导致的。根据错误信息,问题可能出现在以下几个方面:

  1. 文件路径问题:您的视频文件路径 "G:/Y沅芷太极/新建文件夹/太极缠丝练气修真秘术43集/11.杨氏太极拳内家要点详解.mp4" 包含中文字符,这可能导致 FFmpeg 处理异常。
  2. 视频文件损坏或编码异常:该视频文件可能存在编码问题或部分损坏。

解决方案:

  1. 重命名并移动文件

    • 将视频文件移动到纯英文路径下,如 "G:/video/"
    • 将文件名改为纯英文,如 "G:/video/tai_chi.mp4"
  2. 检查视频文件完整性

    • 尝试用其他播放器播放该视频,确认文件是否正常
    • 如果文件损坏,请重新下载或修复
  3. 转换视频格式

    • 使用格式工厂等工具将视频重新编码为标准的 MP4 (h264) 格式
    • 确保音频编码为 AAC
  4. 清理缓存重试

    • 在主界面勾选"清理已生成"复选框
    • 重新选择处理后的视频文件

如果以上方法仍无法解决,请提供 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