Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes nvidia hwaccel compilation. nv-codec-headers need pkgconfig files installed the same place as other libs. Need --enable-nvdec and --enable-ffnvcodec to build all. (fixes #183, #187)
Works around the git ffmpeg version bug #197 and #104. https://github.com/FFmpeg/FFmpeg/blob/master/ffbuild/version.sh#L6
It
Adds
--small
option. This makes --enable-small ffmpeg config option not the default and disables building manpages. Including this option optimizes ffmpeg executable size rather than speed. It also removes certain metadata, like the descriptions of the codecs (ie,ffmpeg -codecs
gives only the name with this option enabled). IMHO, this should not be the default, but this option makes it possible anyway.Makes the install folder under linux ~/.local if it exists, /usr/local if it exists, and /usr only if neither does. The first two are preferred because they will not overwrite the system packages if installed, but will become the new default ffmpeg on a properly configured machine.
Installs the manpages (except if they are not built, with option --small). Consolidates the install code so it isn't written twice. Only uses sudo if installing to a system path.
Updates documentation for user-facing changes.
Tested in Linux Mint 21.1 (based on Ubuntu 20.04).