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 crashes if chapter start and end times are the same #1

Closed
digitalec opened this issue Nov 19, 2021 · 1 comment
Closed

ffmpeg crashes if chapter start and end times are the same #1

digitalec opened this issue Nov 19, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@digitalec
Copy link
Owner

digitalec commented Nov 19, 2021

With ffmpeg loglevel not set to quiet: -to value smaller than -ss; aborting.

Full traceback:

Traceback (most recent call last):
  File "/home/digitalec/.local/bin/sonus", line 8, in <module>
    sys.exit(main.main())
  File "/home/digitalec/.local/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/digitalec/.local/lib/python3.9/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/digitalec/.local/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/digitalec/.local/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/digitalec/.local/lib/python3.9/site-packages/sonus/main.py", line 106, in main
    chapterizer.main(tmpdir.name, output_path)
  File "/home/digitalec/.local/lib/python3.9/site-packages/sonus/chapterizer.py", line 176, in main
    split_chapters(timings, tmpdir)
  File "/home/digitalec/.local/lib/python3.9/site-packages/sonus/chapterizer.py", line 105, in split_chapters
    ffmpeg.run(stream)
  File "/home/digitalec/.local/lib/python3.9/site-packages/ffmpeg/_run.py", line 325, in run
    raise Error('ffmpeg', out, err)
ffmpeg._run.Error: ffmpeg error (see stderr output for detail)
@digitalec digitalec added the bug Something isn't working label Nov 19, 2021
@digitalec digitalec self-assigned this Nov 19, 2021
@digitalec
Copy link
Owner Author

Fixed in 0.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant