#5847 opening input: Invalid data found when processing input opening input file E:\桌面\新建 文本文档.srt. opening input files: Inval

103.219* Posted at: 11 hours ago

opening input: Invalid data found when processing input opening input file E:\桌面\新建 文本文档.srt. opening input files: Invalid data found when processing input


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:E:/py/win-pyvideotrans-v4.02-0615

1 Replies

这是由文件路径中的中文字符和空格导致的。FFmpeg 在 Windows 上对包含中文、空格和特殊符号的路径兼容性较差,直接导致输入解析失败。

  1. .srt 字幕文件移动到全英文字符、无空格的简单路径中,例如 D:/temp/sub.srt
  2. 请确认你使用的是“批量为字幕配音”或“批量翻译srt字幕”功能,这些功能支持 SRT 输入;若你是在“翻译视频和音频”时选择了 SRT 文件,则应改为选择视频文件。
  3. 建议将软件升级到最新版本 v4.05-0711(当前版本 v4.03 较旧),新版本对此类路径兼容性有所改进。
  4. 若问题仍存在,请提供 logs/ 目录下最新的日志文件(复制最后30行),以便进一步定位。

请查阅相关文档:

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