#4555 TaskCfgVTT(is_cuda=True, uuid='c3273564b3', cache_folder='E:/pyvideotrans/tmp/39812/c3273564b3', target_dir='C:/Users/56

2408:8214* Posted at: 4 hours ago 👁10

videotrans.util.help_ffmpeg._FFprobeInternalError: [mov,mp4,m4a,3gp,3g2,mj2 @ 0000027979f8e580] moov atom not found E:/pyvideotrans/tmp/39812/c3273564b3/novoice.mp4: Invalid data found when processing input
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', 'E:/pyvideotrans/tmp/39812/c3273564b3/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\job.py", line 248, in run
File "videotrans\task\trans_create.py", line 770, 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 @ 0000027979f8e580] moov atom not found E:/pyvideotrans/tmp/39812/c3273564b3/novoice.mp4: Invalid data found when processing input
TaskCfgVTT(is_cuda=True, uuid='c3273564b3', cache_folder='E:/pyvideotrans/tmp/39812/c3273564b3', target_dir='C:/Users/56309/Videos/4K Video Downloader+/_video_out/Build a 3D Book in After Effects with Physics-Animated Letters-mp4', source_language='英语', source_language_code='en', source_sub='C:/Users/56309/Videos/4K Video Downloader+/_video_out/Build a 3D Book in After Effects with Physics-Animated Letters-mp4/en.srt', source_wav='E:/pyvideotrans/tmp/39812/c3273564b3/en.wav', source_wav_output='C:/Users/56309/Videos/4K Video Downloader+/_video_out/Build a 3D Book in After Effects with Physics-Animated Letters-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='C:/Users/56309/Videos/4K Video Downloader+/_video_out/Build a 3D Book in After Effects with Physics-Animated Letters-mp4/zh-cn.srt', target_wav='E:/pyvideotrans/tmp/39812/c3273564b3/target.wav', target_wav_output='C:/Users/56309/Videos/4K Video Downloader+/_video_out/Build a 3D Book in After Effects with Physics-Animated Letters-mp4/zh-cn.m4a', name='C:/Users/56309/Videos/4K Video Downloader+/Build a 3D Book in After Effects with Physics-Animated Letters.mp4', noextname='Build a 3D Book in After Effects with Physics-Animated Letters', basename='Build a 3D Book in After Effects with Physics-Animated Letters.mp4', ext='mp4', dirname='C:/Users/56309/Videos/4K Video Downloader+', shound_del_name=None, translate_type=3, tts_type=0, volume='+20%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunyang(Male/CN)', voice_autorate=False, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='medium', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/56309/Videos/4K Video Downloader+/_video_out/Build a 3D Book in After Effects with Physics-Animated Letters-mp4/Build a 3D Book in After Effects with Physics-Animated Letters.mp4', novoice_mp4='E:/pyvideotrans/tmp/39812/c3273564b3/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='E:/pyvideotrans/tmp/39812/c3273564b3/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=0, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False, loop_backaudio=0, backaudio_volume=0.8)


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

1 Replies

moov atom not found 表示 ffmpeg 在处理视频时生成的临时无声音视频文件损坏或不完整,导致 ffprobe 无法读取时长。这通常由以下原因之一引起:

  1. 文件路径过长或包含特殊字符:你的原始视频路径为 C:/Users/56309/Videos/4K Video Downloader+/...,路径中含 + 号和较长名称,Windows 对命令行路径长度有限制(约260字符),容易导致 ffmpeg 截断或操作失败。
  2. 磁盘空间不足:临时目录位于 E 盘,若空间不足,ffmpeg 写入过程会中断,生成不完整文件。

解决方法

  1. 缩短并简化路径:将原始视频文件移动到一个简短、不含特殊符号的英文路径下,例如 D:\videos\test.mp4
  2. 清理磁盘空间:确保 E 盘至少留有 5-10GB 可用空间。
  3. 强制重新处理:在软件主界面勾选「清理已生成」选项,再重新开始任务。

请查阅相关文档:

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