Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg run error #71

Open
cricketlova opened this issue Feb 10, 2024 · 1 comment
Open

ffmpeg run error #71

cricketlova opened this issue Feb 10, 2024 · 1 comment

Comments

@cricketlova
Copy link

not sure what this means on mac

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/auto_subtitle", line 8, in
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/auto_subtitle/cli.py", line 49, in main
audios = get_audio(args.pop("video"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/auto_subtitle/cli.py", line 84, in get_audio
).run(quiet=True, overwrite_output=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/ffmpeg/_run.py", line 325, in run
raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)

@rapgoph
Copy link

rapgoph commented Mar 14, 2024

I had the same error. Instead, I just added "--srt_only True" to make it work. Something like this...

auto_subtitle /path/to/video.mp4 ---model medium --srt_only True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants