#4204 RuntimeError: 0b349b8fb0 split no voice error:while opening encoder - maybe incorrect parameters such as bit_rate, rate,

240e:39e* Posted at: 17 hours ago 👁18

0b349b8fb0 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: 0b349b8fb0 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.26100-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/sp

1 Replies

该错误是由于视频编码参数(如比特率、帧率、宽度或高度)不正确,导致在分离无声视频时无法打开编码器。这通常与视频文件本身的编码格式或路径问题有关。

解决方案:

  1. 检查文件路径和名称:确保视频文件的路径和文件名只包含英文和数字,没有中文、空格或特殊符号。路径总长度不宜过长(建议少于200字符)。将视频移动到浅层目录(如 D:\videos)并重命名为简短英文名。
  2. 检查视频格式:确保视频是兼容性好的 H.264 (libx264) 编码的 MP4 文件。如果视频格式特殊,可先用“工具集”中的“音视频格式转换”功能将其转换为标准MP4格式。
  3. 调整高级设置:在菜单栏点击 工具/选项 -> 高级选项,在“视频输出控制”部分进行以下尝试:

    • 勾选 强制软编码视频?
    • 输出视频压缩率 改为 mediumslow
    • 264/265编码 改为 264
  4. 清理缓存后重试:在主界面左上角勾选 清理已生成,然后重新处理视频。

如果上述步骤无效,可能是视频文件本身已损坏,请尝试使用其他视频文件。

请查阅相关文档:

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