agermanidis / autosub

[NO LONGER MAINTAINED] Command-line utility for auto-generating subtitles for any video file
MIT License
4.13k stars 1.64k forks source link

moov atom not found #20

Open bh4rtp opened 8 years ago

bh4rtp commented 8 years ago

The details show as follow.

allen@allen-vm:~$ autosub -S en-GB -D zh-CN SimplySolar.mp4 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x932caa0] moov atom not found SimplySolar.mp4: Invalid data found when processing input Traceback (most recent call last): File "/usr/local/bin/autosub", line 260, in sys.exit(main()) File "/usr/local/bin/autosub", line 194, in main audio_filename, audio_rate = extract_audio(args.source_path) File "/usr/local/bin/autosub", line 104, in extract_audio subprocess.check_output(command) File "/usr/lib/python2.7/subprocess.py", line 544, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '['ffmpeg', '-y', '-i', 'SimplySolar.mp4', '-ac', '1', '-ar', '16000', '-loglevel', 'error', '/tmp/tmpdlIVEL.wav']' returned non-zero exit status 1

kiemrong08 commented 8 years ago

You need to add the path of ffmpeg.exe (path of bin directory) in drive to PATH variable environtment in windows.