-
Notifications
You must be signed in to change notification settings - Fork 359
Nvidia and other fixes #200
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
Conversation
install manpages when built, use sudo only when needed, workaround ffmpeg version build due to .git dir, use local rather than system installation directories if they exist
Put --small before --static in the --help
I updated the readme, in an effort to make clear the optional dependencies that are needed to install all the codecs and filters, and how to install them. In doing so it helped to re-organize somewhat, putting general build instructions before docker build instructions, and including the Usage before the general (common) build instructions.
Thx, for your work. I will check it asap.
zCri
commented
Jun 27, 2023
I was just having issues building ffmpeg with nvenc, hopefully this works
Uh oh!
There was an error while loading. Please reload this page.
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
--smalloption. 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 -codecsgives 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).