Package Details: ffmpeg-full-git 7.1.r115391.g63697d3350-1

Git Clone URL: (read-only, click to copy)
Package Base: ffmpeg-full-git
Description: Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac; git version)
Upstream URL:
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, ffmpeg-full, ffmpeg-git,,,,,,,,
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 19
Popularity: 0.25
First Submitted: 2015-12-27 19:22 (UTC)
Last Updated: 2024-05-26 14:44 (UTC)

Required by (1858)

Sources (8)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

kentslaney commented on 2024-06-02 08:15 (UTC) (edited on 2024-06-02 08:43 (UTC) by kentslaney)

@dbermond Oh, my mistake on the AUR package. I'm going to copy/paste over to ffmpeg-full if you don't mind, similar problems have been bothering me for a while now and fwiw the script should be robust to changes in the linked file path. (libavutil/hwcontext_cuda.o and ffnvcodec) I can delete my previous comment on this thread if it matters.

There's nothing wrong with the package, my mistake was that I had previously created a manual build in /usr/share/lib so the version included was out of date. I know there were at least a couple comments on the non-git version with the same problem.

No pkgbuild patches necessary. Thanks for the repo.

Re AUR helpers: this doesn't install the package, it just helps diagnose the problem by outputting something like this to STDOUT:

# 1 "/usr/include/ffnvcodec/dynlink_loader.h" 1 3 4
# 33 "/usr/include/ffnvcodec/dynlink_loader.h" 3 4
# 1 "/usr/include/ffnvcodec/dynlink_cuda.h" 1 3 4
# 31 "/usr/include/ffnvcodec/dynlink_cuda.h" 3 4
# 32 "/usr/include/ffnvcodec/dynlink_cuda.h" 2 3 4
# 44 "/usr/include/ffnvcodec/dynlink_cuda.h" 3 4
# 416 "/usr/include/ffnvcodec/dynlink_cuda.h" 3 4
# 34 "/usr/include/ffnvcodec/dynlink_loader.h" 2 3 4
# 1 "/usr/include/ffnvcodec/dynlink_nvcuvid.h" 1 3 4
# 38 "/usr/include/ffnvcodec/dynlink_nvcuvid.h" 3 4

(though not with the correct path if the include path is wrong)

dbermond commented on 2024-06-02 04:07 (UTC)

@kentslaney First of all, AUR helpers are not supported, use makepkg. Second, this package is not ffmpeg-full, but ffmpeg-full-git. That being said, I cannot reproduce your issue. The package is building perfectly fine for me.

kentslaney commented on 2024-06-01 23:29 (UTC) (edited on 2024-06-02 08:35 (UTC) by kentslaney)

libavutil/hwcontext_cuda.c:365:28: error: ‘CudaFunctions’ has no member named ‘cuCtxGetCurrent’; did you mean ‘cuCtxPopCurrent’?

results from an out-of-date ffnvcodec distribution. You can find where ffnvcodec is getting included from via

yay -G ffmpeg-full-git
cd ~/.cache/yay/ffmpeg-full-git
rm -fr src
makepkg -o
cd src/*/
mv Makefile Makefile.orig
echo "install:" > Makefile
cd ../..
makepkg -ef
cd src/*/
mv Makefile.orig Makefile
mv ffbuild/common.mak ffbuild/common.mak.orig
echo "CC = cpp" > ffbuild/common.mak
cat ffbuild/common.mak.orig >> ffbuild/common.mak
sed -i 's/\$(COMPILE_C)/\$\(subst \$\(\) \$\(\)-c\$\(\) \$\(\)-o\$\(\) \$\(\)\$@\$\(\) \$\(\),\$\(\) \$\(\),\$\(COMPILE_C\)\)/' ffbuild/common.mak
make libavutil/hwcontext_cuda.o 2>/dev/null | grep ffnvcodec | head
mv ffbuild/common.mak.orig ffbuild/common.mak

dbermond commented on 2023-11-15 00:18 (UTC)

@sjuxax Thanks for noticing this. Package updated.

sjuxax commented on 2023-11-11 10:16 (UTC)

configure requires additional options to supply the venerable drawtext filter:

diff --git a/PKGBUILD b/PKGBUILD
index 1c7c3bc..81ccf3a 100644
@@ -205,8 +207,10 @@ build() {
         --enable-libfdk-aac \
         --enable-libflite \
         --enable-fontconfig \
+        --enable-libfontconfig \
         --enable-libfreetype \
         --enable-libfribidi \
+        --enable-libharfbuzz \
         --enable-libglslang \
         --enable-libgme \
         --enable-libgsm \

EndlessEden commented on 2023-10-03 09:03 (UTC)

@dbermond -- update, after trying to resolve this further the bug is not cuda/cuda-tools(toolkit/sdk) related, but related to nvidia-open-dkms(driver) as per this:

Im going to try a few different branches before rolling back, but still upstream bug

dbermond commented on 2023-10-01 13:52 (UTC)

@EndlessEden Fixed. Thanks for reporting.

EndlessEden commented on 2023-10-01 02:26 (UTC) (edited on 2023-10-01 02:32 (UTC) by EndlessEden)

@dbermond -- recent changes have broken something with nvenc/cuda (its not missing headers issue; rebooted several times, etc)

(ffmpeg-full)config.log reports: "/tmp/ffconf.v33vQ6Wj/test.c:3:54: error: 'NV_ENC_PRESET_HQ_GUID' undeclared (first use in this function); did you mean 'NV_ENC_PRESET_P7_GUID'?"

while ffmpeg-full-git supports current cuda version, it fails to build as upstream hasnt resolved issues with the changes:

"'libavutil/hwcontext_cuda.c:365:28: error: ‘CudaFunctions’ has no member named ‘cuCtxGetCurrent’; did you mean ‘cuCtxPopCurrent’?'"

dbermond commented on 2023-08-14 15:57 (UTC)

@JunioCalu This is not needed, and the package builds fine without it. This is an user issue and have been discussed several times already. Please scroll back the comments to some years ago to see it. Please remember that AUR helpers are not supported, and that you should use makepkg.

JunioCalu commented on 2023-08-13 17:47 (UTC)

Add this to the script to fix the below error:

export PATH="$PATH:/opt/cuda/bin/"

-> 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 mailing list or IRC #ffmpeg on Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.