m1guelpf / auto-subtitle

Automatically generate and overlay subtitles for any video.
MIT License
1.49k stars 236 forks source link

ffmpeg error #45

Open VasilyBakshaev opened 1 year ago

VasilyBakshaev commented 1 year ago

Hi! I've got ffmpeg error

(base) vasily@Vasilys-MacBook-Pro ~ % auto_subtitle /Users/vasily/video_77.mp4 -o subtitled/
100%|████████████████████████████████████████| 461M/461M [15:25<00:00, 523kiB/s]
Extracting audio from video_77...
Generating subtitles for video_77... This might take a while.
Detected language: Nynorsk
 99%|███████████████████████████████████▌| 282718/285718 [08:43<00:05, 540.21frames/s]
Adding subtitles to video_77...
Traceback (most recent call last):
  File "/Users/vasily/miniconda3/bin/auto_subtitle", line 8, in <module>
    sys.exit(main())
  File "/Users/vasily/miniconda3/lib/python3.10/site-packages/auto_subtitle/cli.py", line 58, in main
    ffmpeg.concat(
  File "/Users/vasily/miniconda3/lib/python3.10/site-packages/ffmpeg/_run.py", line 325, in run
    raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)

I've successfully installed ffmpeg via brew install ffmpeg.

Do you have any ideas how I can fix it?

levfo commented 1 year ago

I am having this same error.

Huhnicorn commented 1 year ago

same

Kavan27 commented 1 year ago

I fixed it by fixing the path, I had /videos/video.mp4 changed it to videos/video.mp4

326037785 commented 6 months ago

I fixed it by fixing the path, I had /videos/video.mp4 changed it to videos/video.mp4

It did works, thx!!!guy!!