#6250 opening input: Invalid data found when processing input opening input file D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24

2602:fd6f* Posted at: 5 hours ago

opening input: Invalid data found when processing input opening input file D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24040/a92e8af67a/end-edit.srt. opening input files: Invalid data found when processing input
Traceback (most recent call last):
File "videotrans\util\_ffmpeg_runner.py", line 49, in runffmpeg
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-i', 'D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24040/a92e8af67a/end-edit.srt', 'D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24040/a92e8af67a/end.ass']' returned non-zero exit status 3199971767.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 149, in run
File "videotrans\task\_stage_assemble.py", line 26, in assembling
File "videotrans\task\_stage_assemble.py", line 154, in _join_video_audio_srt
File "videotrans\task\_stage_subtitle.py", line 70, in _process_subtitles
File "videotrans\util\_srt_ass.py", line 31, in set_ass_font
File "videotrans\util\_ffmpeg_runner.py", line 78, in runffmpeg
videotrans.configure.excepts.FFmpegError: opening input: Invalid data found when processing input opening input file D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24040/a92e8af67a/end-edit.srt. opening input files: Invalid data found when processing input

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/video/tiktok-1766039479502.mp4,
输出结果保存到文件夹: D:/video/_video_out/tiktok-1766039479502-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24040/a92e8af67a
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:CAMB AI, model_name: , 发音语言: 越南语, 断句方式:LLM重新断句
翻译渠道:CAMB AI,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:


=
system:Windows-10-10.0.22631-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

核心原因:end-edit.srt 文件为空或不符合 SRT 规范,导致 FFmpeg 无法将其转换为硬字幕所需的 ASS 文件。在 v4.08 版本中,未选择配音角色时容易触发此类目标语言字幕找不到或为空的错误。

解决方案:

  1. 请先确认软件左上角版本号是否为 v4.08-0802(更新日期 2026-08-02)。如果不是,请从官网下载最新的 v4.08-0802 补丁包覆盖到软件目录,或重新下载完整包解压。
  2. 检查临时文件 D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/24040/a92e8af67a/end-edit.srt,用文本编辑器打开,确认是否包含有效的 SRT 内容(行号、时间轴、字幕文本)。若文件为空或时间轴格式错误,则需重新执行任务。
  3. 若确认字幕文件有效但仍报错,请勾选主界面的“清理已生成”后重新运行,清除缓存后重试。
  4. 临时规避:将“嵌入硬字幕”改为“不嵌入字幕”或“嵌入软字幕”,或为视频选择一个配音角色(如 Edge-TTS 免费角色)后再试。

请查阅相关文档:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource