Package Details: ffmpeg-amd-full 7.1.1-1

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: LicenseRef-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: 13
Popularity: 0.000519
First Submitted: 2020-04-15 07:09 (UTC)
Last Updated: 2025-03-14 16:54 (UTC)

Required by (2021)

Sources (10)

Latest Comments

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

Djehuty commented on 2025-07-12 17:56 (UTC) (edited on 2025-07-12 18:04 (UTC) by Djehuty)

When I try to update the ffmpeg-amd-full package, I get the following error when building: libavfilter/vf_lcevc.c: In function ‘send_frame’: libavfilter/vf_lcevc.c:142:78: error: passing argument 4 of ‘LCEVC_SendDecoderEnhancementData’ creates an integer from a pointer without a cast [-Wint-conversion] 142 | coderEnhancementData(lcevc->decoder, in->pts, 0, sd->data, sd->size); | ~~^~~~~~ | | | uint8_t * (also known as unsigned char *) In the file included from libavfilter/vf_lcevc.c:23: /usr/include/LCEVC/lcevc_dec.h:757:61: note: expected ‘uint32_t’ (also known as ‘unsigned int’) but argument is of type ‘uint8_t *’ (also known as ‘unsigned char *’) 757 | uint32_t byteSize ); | ~~~~~~~~~^~~~~~~~ libavfilter/vf_lcevc.c:142:15: error: too many arguments to function ‘LCEVC_SendDecoderEnhancementData’; expected 4, have 5 142 | res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, sd->data, sd->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ /usr/include/LCEVC/lcevc_dec.h:754:18: note: declared here 754 | LCEVC_ReturnCode LCEVC_SendDecoderEnhancementData( LCEVC_DecoderHandle decHandle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavfilter/vf_lcevc.c:151:58: error: incompatible type for argument 3 of ‘LCEVC_SendDecoderBase’ 151 | s = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in); | ^ | | | int /usr/include/LCEVC/lcevc_dec.h:779:61: note: expected ‘LCEVC_PictureHandle’ but argument is of type ‘int’ 779 | LCEVC_PictureHandle base, | ~~~~~~~~~~~~~~~~~~~~^~~~ libavfilter/vf_lcevc.c:151:61: error: incompatible type for argument 4 of ‘LCEVC_SendDecoderBase’ 151 | LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in); | ^~~~~~~ | | | LCEVC_PictureHandle /usr/include/LCEVC/lcevc_dec.h:780:50: note: expected ‘uint32_t’ (also known as ‘unsigned int’) but argument is of type ‘LCEVC_PictureHandle’ 780 | uint32_t timeoutUs, | ~~~~~~~~~^~~~~~~~~ libavfilter/vf_lcevc.c:151:70: error: passing argument 5 of ‘LCEVC_SendDecoderBase’ creates a pointer from an integer without a cast [-Wint-conversion] 151 | _SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in); | ^~ | | | int /usr/include/LCEVC/lcevc_dec.h:781:47: note: expected ‘void *’ but argument is of type ‘int’ 781 | void* userData ); | ~~~~~~^~~~~~~~ libavfilter/vf_lcevc.c:151:11: error: too many arguments to function ‘LCEVC_SendDecoderBase’; expected 5, have 6 151 | res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in); | ^~~~~~~~~~~~~~~~~~~~~ ~~ /usr/include/LCEVC/lcevc_dec.h:777:18: note: declared here 777 | LCEVC_ReturnCode LCEVC_SendDecoderBase( LCEVC_DecoderHandle decHandle, | ^~~~~~~~~~~~~~~~~~~~~ make: *** [ffbuild/common.mak:81: libavfilter/vf_lcevc.o] Error 1 ==> ERROR: A failure occurred in build(). Cancelling... error: could not build 'ffmpeg-amd-full-7.1.1-1': error: could not build the following packages: ffmpeg-amd-full-7.1.1-1

nathanielcwm commented on 2025-03-14 16:54 (UTC)

Apologies for the delay in patching.

veganvelociraptr commented on 2025-03-14 08:15 (UTC)

Thank you @OzzyHelix, that worked. I hope the patch will be added to the package soon.

OzzyHelix commented on 2025-03-13 20:39 (UTC)

I was having trouble building it this patch seems to help https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/.gitlab/workflows/linux/ffmpeg_n7_fix.patch

veganvelociraptr commented on 2025-03-11 09:14 (UTC) (edited on 2025-03-11 09:20 (UTC) by veganvelociraptr)

Error when building:

CC libavcodec/libwebpenc_animencoder.o libavcodec/libsvtav1.c: In function 'eb_enc_init': libavcodec/libsvtav1.c:438:15: error: too many arguments to function 'svt_av1_enc_init_handle' 438 | svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/libsvtav1.c:25: /usr/include/svt-av1/EbSvtAv1Enc.h:967:20: note: declared here 967 | EB_API EbErrorType svt_av1_enc_init_handle( | ^~~~~~~~~~~~~~~~~~~~~~~ make: *** [ffbuild/common.mak:81: libavcodec/libsvtav1.o] Error 1 make: *** Waiting for unfinished jobs.... STRIP libavutil/x86/tx_float.o skipping strip -x libavutil/x86/tx_float.o ==> ERROR: A failure occurred in build(). Aborting...

gao commented on 2024-11-16 09:10 (UTC) (edited on 2024-11-16 09:28 (UTC) by gao)

Okey, I installed vvenc from Aur and fixed.

[yay/paru] -S vvenc

Maybe need to add a dependency


There is a error

==> Starting build()...
  -> Running ffmpeg configure script...
ERROR: libvvenc >= 1.6.1 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.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'ffmpeg-amd-full-7.1-1':
error: packages failed to build: ffmpeg-amd-full-7.1-1

How to fix

Ranguvar commented on 2024-10-19 21:34 (UTC)

Note that ffmpeg 7.1 is being tested in [extra-staging] with x265 4.0. They removed the VAAPI AV1 Mesa performance cherry picks and added dependency on glslang with --enable-libglslang.

boesi commented on 2024-07-08 03:23 (UTC)

I get errors when I use the codecs hevc_amf or h264_amf.

$ ffmpeg -i input.mkv -c:v hevc_amf output.mkv
ffmpeg version 7.0.1 Copyright (c) 2000-2024 the FFmpeg developers
[...]
[hevc_amf @ 0x5d0a728cdd80] CreateComponent(AMFVideoEncoderHW_HEVC) failed with error 11
[vost#0:0/hevc_amf @ 0x5d0a72918f00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x5d0a72916fc0] Error sending frames to consumers: Encoder not found
[vf#0:0 @ 0x5d0a72916fc0] Task finished with error code: -1129203192 (Encoder not found)
[vf#0:0 @ 0x5d0a72916fc0] Terminating thread with return code -1129203192 (Encoder not found)
[vost#0:0/hevc_amf @ 0x5d0a72918f00] Could not open encoder before EOF
[vost#0:0/hevc_amf @ 0x5d0a72918f00] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_amf @ 0x5d0a72918f00] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0x5d0a728d4b00] 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=       0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
$ ffmpeg -i input.mkv -c:v h264_amf output.mkv
ffmpeg version 7.0.1 Copyright (c) 2000-2024 the FFmpeg developers
[...]
[h264_amf @ 0x5ef2980dbd80] CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 11
[vost#0:0/h264_amf @ 0x5ef298126f00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x5ef298124fc0] Error sending frames to consumers: Encoder not found
[vf#0:0 @ 0x5ef298124fc0] Task finished with error code: -1129203192 (Encoder not found)
[vf#0:0 @ 0x5ef298124fc0] Terminating thread with return code -1129203192 (Encoder not found)
[vost#0:0/h264_amf @ 0x5ef298126f00] Could not open encoder before EOF
[vost#0:0/h264_amf @ 0x5ef298126f00] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_amf @ 0x5ef298126f00] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0x5ef2980e2b00] 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=       0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!

Other codecs work. I have a Ryzen 5 2400G and no additional GPU. I think a library is missing, but which one?

OzzyHelix commented on 2024-07-08 00:45 (UTC)

I'm stupid I just needed to rebuild the package