#4231 videotrans.util.help_ffmpeg._FFprobeInternalError: [mov,mp4,m4a,3gp,3g2,mj2 @ 000002590a300300] moov atom not found D:/w

240e:39e* Posted at: 2 hours ago 👁6

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 265, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', 'D:/win-pyvideotrans-v3.99-420/tmp/13132/2f6b3d3f79/novoice.mp4']' returned non-zero exit status 1.

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

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 113, in run
File "videotrans\task\trans_create.py", line 759, in align
File "videotrans\util\help_ffmpeg.py", line 428, in get_video_duration
File "videotrans\util\help_ffmpeg.py", line 417, in _get_ms_from_media
File "videotrans\util\help_ffmpeg.py", line 290, in runffprobe
File "videotrans\util\help_ffmpeg.py", line 282, in _run_ffprobe_internal
videotrans.util.help_ffmpeg._FFprobeInternalError: [mov,mp4,m4a,3gp,3g2,mj2 @ 000002590a300300] moov atom not found D:/win-pyvideotrans-v3.99-420/tmp/13132/2f6b3d3f79/novoice.mp4: Invalid data found when processing input


=
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在处理临时视频文件时出错,错误信息 moov atom not found 表明该MP4文件在生成过程中损坏或未完成编码,导致无法读取时长和元数据。

解决方案:

  1. 检查存储空间:确认 D: 盘有足够剩余空间(建议至少5GB),并检查 D:/win-pyvideotrans-v3.99-420/tmp/ 目录是否能正常写入文件。
  2. 强制串行处理:在菜单栏 工具/选项 -> 高级选项 中,勾选 “批量翻译时强制串行”,避免多任务并发时资源耗尽导致中间文件损坏。
  3. 清理并重试:选中主界面上方的 “清理已生成” 复选框,然后重新开始翻译。
  4. 更换输入视频格式:如果视频不是标准 H.264 编码的MP4文件,请先用格式转换工具(如格式工厂)转换成 H.264 MP4格式再尝试。
  5. 升级到最新版:若尚未使用 v3.99,请更新。该版本已修复部分Temp文件写入问题。

请查阅相关文档:

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

Similar issues already exist