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

Warn if ffmpeg lacks codecs #4852

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

WithoutPants
Copy link
Collaborator

Fixes regression introduced in #4688 where it was no longer possible to use an ffmpeg binary if it didn't have support for certain codecs.

New behaviour is:

  • if ffmpeg path is specified, use that always and log if it is missing codec support
  • if ffmpeg is not specified, try to resolve it from config directory, $PATH and $HOME/.stash. It will use the first one it finds that has all of the codec support, falling back to the first one if none of them have support.

Fixes #4814

Prefer ffmpeg with codec support if path not explicitly set.
@WithoutPants WithoutPants added the bug Something isn't working label May 20, 2024
@WithoutPants WithoutPants added this to the Version 0.26.0 milestone May 20, 2024
@WithoutPants WithoutPants merged commit 769540b into stashapp:develop May 20, 2024
2 checks passed
halkeye pushed a commit to halkeye/stash that referenced this pull request Sep 1, 2024
Prefer ffmpeg with codec support if path not explicitly set.
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

Successfully merging this pull request may close these issues.

[Bug Report] ffmpeg & ffprobe not used if libwebp support is not available
1 participant