Package Details: ffmpeg-amd-full 6.1.1-3

Git Clone URL: https://aur.archlinux.org/ffmpeg-amd-full.git (read-only, click to copy)
Package Base: ffmpeg-amd-full
Description: Complete solution to record, convert and stream audio and video (all possible features for AMD)
Upstream URL: https://www.ffmpeg.org/
Keywords: audio codec convert encoder media svt video
Licenses: custom: nonfree and unredistributable
Conflicts: ffmpeg
Provides: ffmpeg, ffmpeg-full, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: nathanielcwm
Maintainer: nathanielcwm
Last Packager: nathanielcwm
Votes: 12
Popularity: 1.05
First Submitted: 2020-04-15 07:09 (UTC)
Last Updated: 2024-03-20 17:45 (UTC)

Dependencies (112)

Required by (1823)

Sources (10)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

j1simon commented on 2023-12-28 09:44 (UTC)

If you remove lensfun (the stable version also fails), it compiles without problems.

j1simon commented on 2023-12-28 07:31 (UTC)

It doesn't compile:

....
==> Iniciando build()...
  -> Running ffmpeg configure script...
ERROR: lensfun not found using pkg-config

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.
....

The last part of ffbuild/config.log:

....
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1 -I/usr/include/lilv-0 -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/sratom-0 -I/usr/include/zix-0 -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/bs2b -I/usr/include/libdrm -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DHWY_SHARED_DEFINE -I/usr/include/lensfun -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o /tmp/ffconf.Hj2kqs1y/test.o /tmp/ffconf.Hj2kqs1y/test.c
/tmp/ffconf.Hj2kqs1y/test.c: In function 'check_lf_db_new':
/tmp/ffconf.Hj2kqs1y/test.c:3:44: error: 'lf_db_new' undeclared (first use in this function)
    3 | long check_lf_db_new(void) { return (long) lf_db_new; }
      |                                            ^~~~~~~~~
/tmp/ffconf.Hj2kqs1y/test.c:3:44: note: each undeclared identifier is reported only once for each function it appears in
ERROR: lensfun not found using pkg-config

zertyz commented on 2023-10-28 20:08 (UTC)

I happen to be facing another compilation issue: makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.

My system is a Garuda Linux, just updated.

I had to add '--disable-htmlpages' to the configure options to build the package.

nathanielcwm commented on 2023-10-23 06:08 (UTC)

The patch to fix compilation is now integrated. Sorry for the delay.

Milor123: Your GPU does not have AV1 hwenc, that feature is only found on RDNA 3 GPUs (RX7000/Some Zen 4 APUs)

Sir-Photch commented on 2023-10-16 17:04 (UTC)

can you integrate the patch for libavcodec into the pkgbuild?

Milor123 commented on 2023-10-12 21:44 (UTC) (edited on 2023-10-12 21:46 (UTC) by Milor123)

Error while encoding in AV1 in my GPU Rx 6750 XT, should it work in my GPU? Input:

vk_pro ffmpeg -i "21.mov" -c:v av1_amf "21_AV1AMF.mp4"

Output:

Stream mapping:
  Stream #0:0 -> #0:0 (dnxhd (native) -> av1 (av1_amf))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[av1_amf @ 0x55e45f980d80] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[vost#0:0/av1_amf @ 0x55e45fb98880] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error while filtering: Encoder not found
[out#0/mp4 @ 0x55e45f986e00] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A    
Conversion failed!

using the others encoders AMF work but not with AV1

 ffmpeg -encoders | grep amf
ffmpeg version N-112450-gab95338a20 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.1 (GCC) 20230801
  configuration: .....
  libavutil      58. 27.100 / 58. 27.100
  libavcodec     60. 30.102 / 60. 30.102
  libavformat    60. 15.100 / 60. 15.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9. 11.100 /  9. 11.100
  libswscale      7.  4.100 /  7.  4.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
 V....D av1_amf              AMD AMF AV1 encoder (codec av1)
 V....D h264_amf             AMD AMF H.264 Encoder (codec h264)
 V....D hevc_amf             AMD AMF HEVC encoder (codec hevc)

what should i do guys? Thank u very much!

OJaksch commented on 2023-09-19 14:51 (UTC)

Patch available and working:
https://www.linuxquestions.org/questions/slackware-14/regression-on-current-with-ffmpeg-4175727691/

matthewjh1991 commented on 2023-09-08 15:44 (UTC)

Don't know what's going on, but can't get the compile to go through not sure if user error or not to be honest. Looks to fail at line 125 in the some mathops header.


LD      libswresample/libswresample.so.4
LD      libavcodec/libavcodec.so.60
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
libavcodec/x86/mathops.h: Assembler messages:
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [ffbuild/library.mak:119: libavcodec/libavcodec.so.60] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ffmpeg-amd-full-exit status 4
 -> Failed to install the following packages. Manual intervention is required:

brauliobo commented on 2023-07-09 02:00 (UTC)

Need to depend on librist

nathanielcwm commented on 2023-06-26 15:42 (UTC)

I'm back from my slumber! Sorry for being away for so long, but I had some real life events that I had to deal with.