Package Details: ffmpeg-full 7.1-1

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: 1.66
First Submitted: 2013-01-24 11:17 (UTC)
Last Updated: 2024-11-07 22:45 (UTC)

Required by (1909)

Sources (10)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 55 Next › Last »

boesi commented on 2023-11-18 10:51 (UTC) (edited on 2023-11-18 10:52 (UTC) by boesi)

@dbermond Thanks, that helped. I had the package ffnvcodec-headers-git (version 8.2.15) installed. Is there any way to find this solution myself? ffnvcodec-headers is a make dependency for ffmpeg-full - how do I find out that the wrong version is installed on my system?

dbermond commented on 2023-11-17 16:57 (UTC)

@boesi The package is building fine. The error you're getting looks like to be related to ffnvcodec-headers. Make sure to have an up-to-date Arch Linux system with the latest version of the mentioned package (latest version currently is 12.1.14.0-1).

boesi commented on 2023-11-17 04:17 (UTC)

Installation fails for me:

In file included from libavutil/hwcontext_cuda.c:27:
libavutil/hwcontext_cuda.c: In function 'cuda_context_init':
libavutil/hwcontext_cuda.c:365:28: error: 'CudaFunctions' has no member named 'cuCtxGetCurrent'; did you mean 'cuCtxPopCurrent'?
  36n5 |         ret = CHECK_CU(cu->cuCtxGetCurrent(&hwctx->cuda_ctx));
      |                            ^~~~~~~~~~~~~~~
libavutil/cuda_check.h:65:114: note: in definition of macro 'FF_CUDA_CHECK_DL'
   65 | #define FF_CUDA_CHECK_DL(avclass, cudl, x) ff_cuda_check(avclass, cudl->cuGetErrorName, cudl->cuGetErrorString, (x), #x)
      |                                                                                                                  ^
libavutil/hwcontext_cuda.c:365:15: note: in expansion of macro 'CHECK_CU'
  365 |         ret = CHECK_CU(cu->cuCtxGetCurrent(&hwctx->cuda_ctx));
      |               ^~~~~~~~
make: *** [ffbuild/common.mak:81: libavutil/hwcontext_cuda.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ffmpeg-full-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ffmpeg-full - exit status 4

I suspect I have some library in the wrong version or need to reinstall one. But which one?

Thanks for your help.

dbermond commented on 2023-09-25 21:50 (UTC)

@qdii The nvenc "issue" has been discussed several times already. For a more detailed discussion, see the ffmpeg-full-git package and scroll back the comments to some years ago.

qdii commented on 2023-09-17 07:09 (UTC)

Build phase breaks for me:

$ makepkg -f
==> Making package: ffmpeg-full 6.0-4 (dim. 17 sept. 2023 09:03:27)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ffmpeg-6.0.tar.xz
  -> Found ffmpeg-6.0.tar.xz.asc
  -> Found 010-ffmpeg-add-svt-hevc-geb24a06.patch
  -> Found 030-ffmpeg-add-svt-vp9-gaaa8140.patch
  -> Found 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
  -> Found 060-ffmpeg-fix-segfault-with-avisynthplus.patch
  -> Found 070-ffmpeg-binutils2.41-fix.patch
  -> Found LICENSE
==> Validating source files with sha256sums...
    ffmpeg-6.0.tar.xz ... Passed
    ffmpeg-6.0.tar.xz.asc ... Skipped
    010-ffmpeg-add-svt-hevc-geb24a06.patch ... Passed
    030-ffmpeg-add-svt-vp9-gaaa8140.patch ... Passed
    040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch ... Passed
    060-ffmpeg-fix-segfault-with-avisynthplus.patch ... Passed
    070-ffmpeg-binutils2.41-fix.patch ... Passed
    LICENSE ... Passed
==> Verifying source file signatures with gpg...
    ffmpeg-6.0.tar.xz ... Passed
==> Extracting sources...
  -> Extracting ffmpeg-6.0.tar.xz with bsdtar
==> Starting prepare()...
patching file configure
Hunk #4 succeeded at 6687 (offset 6 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1128 (offset 2 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 814 (offset 2 lines).
patching file libavcodec/libsvt_hevc.c
patching file configure
Hunk #2 succeeded at 1848 (offset 1 line).
Hunk #3 succeeded at 3391 (offset 2 lines).
Hunk #4 succeeded at 6728 (offset 10 lines).
patching file libavcodec/Makefile
patching file libavcodec/allcodecs.c
patching file libavcodec/libsvt_vp9.c
patching file libavformat/avformat.h
patching file libavformat/utils.c
patching file libavformat/avisynth.c
patching file libavcodec/x86/mathops.h
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  -> Running ffmpeg configure script...
fgrep: warning: fgrep is obsolescent; using grep -F
fgrep: warning: fgrep is obsolescent; using grep -F
ERROR: nvenc requested but not found

I'm not sure where nvenc is supposed to come from, but it is not (no longer?) included in extra/nvidia-utils.

A workaround is to edit the PKGBUILD file and replace --enable-nvenc with --disable-nvenc. Of course this disables NVENC, but if you don't need it then it's fine.

It could also be my system being broken, in which case please ignore this comment :)

hrehfeld commented on 2023-09-02 13:11 (UTC) (edited on 2023-09-02 13:12 (UTC) by hrehfeld)

Can you provide including versions? Packages like mpv-full that require certain versions of lib* that only ffmpeg-git provides could then depend on just ffmpeg and e.g. libavutil.so>=58.11.100

provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
          'libavutil.so' 'libpostproc.so' 'libswscale.so' 'libswresample.so'

See https://aur.archlinux.org/packages/mpv-full?all_deps=1#comment-931987

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 in ffmpeg-full-git 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 19:45 (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 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.

JunioCalu commented on 2023-08-13 19:43 (UTC) (edited on 2023-08-13 19:43 (UTC) by JunioCalu)

Live ingest error report:

ffmpeg -f live_flv -listen 1 -i rtmp://0.0.0.0:1950/live/stream

RTMP_Connect0, failed to connect socket. 111 (Connection refused)

dbermond commented on 2023-08-12 13:39 (UTC)

@Nanoshift Fixed. This is a ffmpeg issue with binutils 2.41. Thanks for reporting.