#4530 videotrans.util.help_ffmpeg._FFprobeInternalError: [mov,mp4,m4a,3gp,3g2,mj2 @ 0000021a1665ecc0] moov atom not found D:/p

125.71* Posted at: 10 hours ago 👁14

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:/pyvideotrans/tmp/2756/e086ff9e55/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 446, in get_video_duration
File "videotrans\util\help_ffmpeg.py", line 435, 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 @ 0000021a1665ecc0] moov atom not found D:/pyvideotrans/tmp/2756/e086ff9e55/novoice.mp4: Invalid data found when processing input


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

1 Replies

这是由于 ffmpeg 在处理视频时生成的临时文件 novoice.mp4 损坏或未完成(moov atom not found),通常由磁盘空间不足、意外中断或原始视频本身问题导致。

解决方案:

  1. 清理临时文件:关闭软件,删除 D:\pyvideotrans\tmp 文件夹下的所有内容,然后重新运行任务。
  2. 检查磁盘空间:确保 D: 盘有足够剩余空间(建议 >10GB)。
  3. 检查原始视频:用播放器(如 VLC/MPC)打开原视频,确认其可正常播放且不含损坏。
  4. 避免中途操作:处理过程中不要随意关闭软件或强制终止进程。
  5. 检查高级选项:菜单 -> 工具/选项 -> 高级选项 -> 视频合成cuda硬解码 如果已勾选,尝试取消勾选(硬解码有时会导致临时文件生成异常)。

如果问题依旧,请提供 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.

Related resource

Similar issues already exist