#4294 RuntimeError: 7f399ef109 split no voice error:while opening encoder - maybe incorrect parameters such as bit_rate, rate,

240e:39e* Posted at: 4 hours ago 👁13

7f399ef109 split no voice error:while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. sending frames to consumers: Generic error in an external library
Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 119, in run
File "videotrans\task\trans_create.py", line 822, in assembling
File "videotrans\task\trans_create.py", line 1300, in _join_video_audio_srt
File "videotrans\util\help_misc.py", line 299, in is_novoice_mp4
RuntimeError: 7f399ef109 split no voice error: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.22631-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.99-420

1 Replies

这是由于 ffmpeg 编码器参数错误导致,通常与硬件编码兼容性问题有关。请尝试以下步骤:

  1. 在菜单栏 工具/选项 -> 高级选项 -> 视频输出控制 中,勾选 强制软编码视频。这会让 ffmpeg 改用 CPU 软编码,避免硬件编码器参数不匹配,兼容性更好。
  2. 确认原始视频的分辨率(宽、高)均为偶数,若为奇数,可用其他工具转换后再处理,否则编码器可能无法打开。
  3. 尝试暂时不嵌入硬字幕,只生成配音和独立字幕文件,看问题是否消失。
    如果问题依旧,请提供软件安装目录下 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.

Related resource