#4205 RuntimeError: f84469decf split no voice error:while opening encoder - maybe incorrect parameters such as bit_rate, rate,

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

f84469decf 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 parsing NAL unit #0. parsing NAL unit #0.
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: f84469decf 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 parsing NAL unit #0. parsing NAL unit #0.


=
system:Windows-10-10.0.26100-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/sp

1 Replies

这是由于视频编码参数不兼容或文件路径问题导致的。错误信息表明在分离无声视频(split no voice)时,ffmpeg 无法打开编码器,可能因为比特率、帧率、宽度或高度等参数不正确,或NAL单元解析错误。

解决方案:

  1. 检查并简化文件路径和名称

    • 确保视频文件的完整路径(从盘符到文件名)不超过200个字符
    • 将视频文件移动到更浅的目录(例如 D:\videos)。
    • 将视频文件重命名为简短且仅包含英文字母和数字的名称(例如 test.mp4),避免使用中文、空格、表情符号或特殊字符
  2. 检查软件安装路径

    • 确保 pyVideoTrans 软件本身也安装在非系统盘、路径简短且不含中文或特殊符号的目录下(例如 D:\pyVideoTrans)。
  3. 调整视频输出设置(高级选项)

    • 打开软件,点击顶部菜单栏的 工具/选项 -> 高级选项
    • 【视频输出控制】 区域,尝试以下调整:

      • 强制软编码视频? 选项勾选。这会强制 ffmpeg 使用软件编解码,虽然速度较慢,但兼容性更好,不易出错。
      • 视频合成cuda硬解码 选项取消勾选
  4. 重新处理视频

    • 完成以上调整后,在主界面左上角勾选 清理已生成 复选框,然后重新选择视频文件进行处理。

如果以上步骤仍无法解决问题,可能是原始视频文件本身编码异常。可以尝试使用其他工具(如格式工厂)将视频重新编码为标准的 H.264 (libx264) 编码的 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