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

raise Error('ffmpeg', out, err) ffmpeg._run.Error: ffmpeg error (see stderr output for detail) #92

Open
Chapster5 opened this issue Jul 20, 2024 · 0 comments

Comments

@Chapster5
Copy link

Hi all,

First up I am in no way clued up with Python it's took me the best part of 2 hours to even get this far with intalling python on windows and FFMPEG and downgrading Numpy as it wouldn't find 2.0.0 apparently. I installed FFMPEG using

pip install ffmpeg-python

That says that it's been satisifed but python couldn't find it so I had to take an FFMPEG installating from a media server I have and copy and paste FFMPEG.exe along with its DLL files into system32 on windows. Now I am getting as far as below and can't seem to get any further. Not sure what I have to do now I have even edited "cli.py" with the below github suggested fix and that hasn't worked either:

f91096d

Could anyone shed any light on what I am doing wrong please?

Thank you!!

C:\Users\Admin>auto_subtitle /F:/TV Shows/Benidorm S01-S10 720p WEB-DL H265 BONE/Season 9/Benidorm S09E01 720p WEB-DL H265 BONE.mp4 --model tiny --srt_only True
100%|█████████████████████████████████████| 72.1M/72.1M [00:05<00:00, 15.1MiB/s]
Extracting audio from TV...
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\auto_subtitle.exe\__main__.py", line 7, in <module>
  File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\auto_subtitle\cli.py", line 49, in main
    audios = get_audio(args.pop("video"))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\auto_subtitle\cli.py", line 93, in get_audio
    ).run(quiet=True, overwrite_output=True)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\ffmpeg\_run.py", line 325, in run
    raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
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

1 participant