question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors about `ffmpeg`

See original GitHub issue

It report errors:

D:\home λ auto_subtitle High.Fidelity.2000.BluRay.1080p.DTS.x264-CHD.sample.mkv --model tiny -o sub/
Extracting audio from High.Fidelity.2000.BluRay.1080p.DTS.x264-CHD.sample...
Generating subtitles for High.Fidelity.2000.BluRay.1080p.DTS.x264-CHD.sample... This might take a while.
Detected language: english
Adding subtitles to High.Fidelity.2000.BluRay.1080p.DTS.x264-CHD.sample...
Traceback (most recent call last):
  File "C:\Users\scillidan\scoop\apps\python\current\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\scillidan\scoop\apps\python\current\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\scillidan\scoop\apps\python\current\Scripts\auto_subtitle.exe\__main__.py", line 7, in <module>
  File "C:\Users\scillidan\scoop\apps\python\current\lib\site-packages\auto_subtitle\cli.py", line 51, in main
    stderr = ffmpeg.concat(
  File "C:\Users\scillidan\scoop\apps\python\current\lib\site-packages\ffmpeg\_run.py", line 325, in run
    raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)

My ffmpeg are there:

C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\ffmpeg.exe
C:\Users\scillidan\scoop\shims\ffmpeg.exe
C:\Users\scillidan\scoop\apps\jellyfin\current\system\ffmpeg.exe

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
scillidancommented, Oct 9, 2022

Thanks, Man. I reinstall it and the dependencies, from source. It works now 😃

Z: λ auto_subtitle in.mp4 --model tiny -o sub/ --output_srt true
Extracting audio from in...
Generating subtitles for in... This might take a while.
Detected language: english
Adding subtitles to in...
Saved subtitled video to Z:\sub\in.mp4.
1reaction
mozrt2commented, Sep 30, 2022

Same error for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors - FFmpeg Wiki
This message can occur when the -map option is used to reference an input that does not exist. For example, if you have...
Read more >
How can I find out what this ffmpeg error code means?
I'm using the function avcodec_decode_video2. On an encoding change in the stream, it returns -1094995529. The documentation only states: On ...
Read more >
error in convert video with ffmpeg - Super User
The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output...
Read more >
Fix FFmpeg Errors: Libs/Files not Found not Working - WinXDVD
FFmpeg Errors during Compiling: ... Solution: In general cases, these errors happen because of the lack of libraries. Please first confirm the lacked...
Read more >
[Config Support]: ffmpeg error following update to latest HA ...
Getting ffmpeg error in logs for addon. Version. 3.1. Frigate config file. mqtt: host: 192.168XX port: 1883 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found