#2425 while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. sending frames to consumers:

2001:b400* Posted at: 3 hours ago 👁8

while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. sending frames to consumers: Generic error in an external library


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

1 Replies

这个错误通常与视频编码参数设置有关,尤其是在使用“视频慢速”功能时。请按以下步骤排查:

  1. 立即解决方案:

    • 在主界面第5行,取消勾选“视频慢速”,然后重新处理视频。
  2. 如果必须使用“视频慢速”功能,请调整高级设置:

    • 点击主界面第7行的 “设置更多参数” 或菜单栏的 工具 -> 选项 -> 高级选项
    • “视频输出控制” 区域,尝试以下调整:

      • 视频输出质量控制 (CRF):将数值从默认的 23 改为 18(提高质量,降低压缩率)。
      • 输出视频压缩率 (Preset):从 fast 改为 mediumslow
      • 视频编码器:尝试从 libx264 切换到 libx265(如果兼容性允许)。
  3. 检查输入视频:

    • 确保输入视频文件本身没有损坏。可以尝试用其他播放器(如VLC)正常播放。
    • 将视频文件重命名为简短的英文名(如 test.mp4),并移动到没有中文字符和空格的路径下(如 D:/test.mp4)再尝试处理。
  4. 清理缓存后重试:

    • 在主界面第1行,务必勾选“清理已生成”,然后重新开始任务。

如果以上步骤均无效,请提供 D:/win-pyvideotrans-v3.92/logs/ 目录下最新的日志文件(以日期命名的 .log 文件),以便进一步分析。

请查看更多参考文档:

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