If you have problems with nvcc, consider adding this line in build()
step before caling configure:
export PATH="$PATH:/opt/cuda/bin"
Git Clone URL: | https://aur.archlinux.org/ffmpeg-full.git (read-only, click to copy) |
---|---|
Package Base: | ffmpeg-full |
Description: | Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac) |
Upstream URL: | https://www.ffmpeg.org/ |
Keywords: | audio codec convert cuda cuvid decklink encoder fdk-aac fdkaac hwaccel libnpp media nvenc svt video |
Licenses: | LicenseRef-nonfree-and-unredistributable |
Conflicts: | ffmpeg |
Provides: | ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so |
Submitter: | rpolzer |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 136 |
Popularity: | 0.28 |
First Submitted: | 2013-01-24 11:17 (UTC) |
Last Updated: | 2025-01-08 22:31 (UTC) |
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 55 Next › Last »
If you have problems with nvcc, consider adding this line in build()
step before caling configure:
export PATH="$PATH:/opt/cuda/bin"
If anyone else on KDE ends up with broken JXL images, installing kimageformats-git should fix it
@dbermond I am getting this error:
$ makepkg -s
==> Making package: ffmpeg-full 5.1-2 (Sun 07 Aug 2022 07:15:15 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading ffmpeg-5.1.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9767k 100 9767k 0 0 5458k 0 0:00:01 0:00:01 --:--:-- 5456k
-> Downloading ffmpeg-5.1.tar.xz.asc...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 520 100 520 0 0 1309 0 --:--:-- --:--:-- --:--:-- 1309
-> Downloading 010-ffmpeg-add-svt-hevc-gb62f72e.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25348 100 25348 0 0 672k 0 --:--:-- --:--:-- --:--:-- 687k
-> Downloading 030-ffmpeg-add-svt-vp9-gd9ef3cc.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25805 100 25805 0 0 785k 0 --:--:-- --:--:-- --:--:-- 812k
-> Found 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
-> Found 060-ffmpeg-fix-segfault-with-avisynthplus.patch
-> Downloading 070-ffmpeg-fix-v4l2-memory-leak.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 671 0 671 0 0 878 0 --:--:-- --:--:-- --:--:-- 878
-> Found LICENSE
==> Validating source files with sha256sums...
ffmpeg-5.1.tar.xz ... Passed
ffmpeg-5.1.tar.xz.asc ... Skipped
010-ffmpeg-add-svt-hevc-gb62f72e.patch ... Passed
030-ffmpeg-add-svt-vp9-gd9ef3cc.patch ... Passed
040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch ... Passed
060-ffmpeg-fix-segfault-with-avisynthplus.patch ... Passed
070-ffmpeg-fix-v4l2-memory-leak.patch ... Passed
LICENSE ... Passed
==> Verifying source file signatures with gpg...
ffmpeg-5.1.tar.xz ... Passed
==> Extracting sources...
-> Extracting ffmpeg-5.1.tar.xz with bsdtar
==> Starting prepare()...
patching file configure
Hunk #3 succeeded at 3389 (offset 6 lines).
Hunk #4 succeeded at 6697 (offset 8 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1104 (offset 3 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 796 (offset 2 lines).
patching file libavcodec/libsvt_hevc.c
patching file configure
Hunk #2 succeeded at 1860 (offset 1 line).
Hunk #3 succeeded at 3383 (offset 8 lines).
Hunk #4 succeeded at 6669 (offset 11 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1099 (offset 3 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 781 (offset 2 lines).
patching file libavcodec/libsvt_vp9.c
patching file libavformat/avformat.h
patching file libavformat/utils.c
patching file libavformat/avisynth.c
patching file libavdevice/v4l2.c
==> Starting build()...
-> Running ffmpeg configure script...
ERROR: failed checking for nvcc.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
Aborting...
EDIT:
Need to import public key which is found from FFMPEG website: $ curl https://ffmpeg.org/ffmpeg-devel.asc | gpg --import
I also had to install reinstall CUDA and needed to do a reboot to fix the "nvcc" error.
FFMPEG-FULL is compiling now.
@frankenstein20 I've posted an answer to your comment in the libjxl-git AUR webpage.
git clone "https://aur.archlinux.org/ffmpeg-full.git", open the PKGBUILD in a text editor, remove 'libjxl-git', remove --enable-libjxl \, cd ffmpeg-full, makepkg -si
the org.jpeg.jpegxl.jar is missing for my system and libjxl-git will not build. @dbermond: can you help me? I think your fix could help me a s well
@Nanoshift libjxl-git has a soname bump in comparison with the corresponding repository package. So, currently libjxl-git will break all your software that depends on repository libjxl. If you wish the latest ffmpeg 5.1 while maintaining support for your software that depends on repository libjxl, you can manually disable libjxl from the PKGBUILD. Otherwise, stick with repository ffmpeg.
libjxl-git breaks jxl image loading on my system. Sticking with 5.0.1-2 for now.
@Eddy8 The celt package was recently dropped from the official repositories. I have created an AUR package to satisfy the dependency.
Pinned Comments
dbermond commented on 2024-06-24 15:59 (UTC)
@LordSIGSEGV avoid creating files not tracked by pacman in the system reserved directories, specially symlinks to shared libraries, as this have the potential to completely break your system. I have already notified the quirc maintainer in the aur web page of the package in April-2024. While this issue is not solved in quirc, I recommend to use quirc-git, which currently has a better packaging and does not suffer from this problem.