Package Details: ffmpeg-amd-full 7.0.2-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.143466
First Submitted: 2020-04-15 07:09 (UTC)
Last Updated: 2024-08-22 12:32 (UTC)

Required by (1885)

Sources (9)

Latest Comments

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

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

OzzyHelix commented on 2024-07-07 21:08 (UTC) (edited on 2024-07-07 21:09 (UTC) by OzzyHelix)

your package breaks spectacle KDE's screenshot tool could not activate remote peer 'org.kde.spectacle': startup job failed after running it in the terminal I get spectacle: error while loading shared libraries: libplacebo.so.338: cannot open shared object file: no such file or directory

d3oblongo commented on 2024-07-05 14:54 (UTC)

Hi @nathanielcwm, thanks for the recommendation, but I have the latest obs package provided by the distro, obs-studio-git give me a dependency problem, and I'm having problems to build obs by myself. I'm just amazed that they just break backward compatibility on the new version... Thanks anyway...

nathanielcwm commented on 2024-07-05 14:27 (UTC)

OBS is looking for FFmpeg 6.x. Update your OBS

d3oblongo commented on 2024-07-04 15:40 (UTC)

Hi all, another details with this package. If you try to use OBS with it it fails with the message obs: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or directory. Try create a symbolic link to the /usr/lib/libavcodec.so and all the other mismatch libraries but do not work... Thanks!

d3oblongo commented on 2024-07-02 15:27 (UTC)

Hi all, I could see the patch and all the other efforts to fix this. I give it a second try and it works!!!. The package was built and installed successfully. Thanks for that... But now I have a problem mpv and smplayer can't be installed. This package says that it provides ffmpeg, but for some reason when I go to install them, it says that it is in conflict with this package and install the non-amd version. Should I report this here or on the mpv package? Thanks again have a nice day/night...

d3oblongo commented on 2024-06-29 15:39 (UTC)

Hi, I can't build this package. I get this error:

libavcodec/libxeve.c: In function ‘get_conf’:
libavcodec/libxeve.c:199:27: error: incompatible types when assigning to type ‘XEVE_RATIONAL’ {aka ‘struct _XEVE_RATIONAL’} from type ‘long int’
  199 |         cdsc->param.fps = lrintf(av_q2d(avctx->framerate));
      |                           ^~~~~~
libavcodec/libxeve.c: In function ‘libxeve_encode’:
libavcodec/libxeve.c:484:40: error: incompatible types when assigning to type ‘int’ from type ‘XEVE_RATIONAL’ {aka ‘struct _XEVE_RATIONAL’}
  484 |                 avpkt->time_base.den = xectx->cdsc.param.fps;
      |                                        ^~~~~
CC  libavcodec/lscrdec.o
make: *** [ffbuild/common.mak:81: libavcodec/libxeve.o] Error 1
make: *** Waiting for unfinished jobs....
CC  libavcodec/lsp.o
STRIP   libavutil/x86/tx_float.o
skipping strip -x libavutil/x86/tx_float.o
==> ERROR: A failure occurred in build().
    Aborting...

My version of xeve is 0.5.1-1. Thanks!

Ranguvar commented on 2024-06-22 04:31 (UTC)

Thank you for the updated PKGBUILD, Nathaniel! Do you plan to add libdvdnav/libdvdread and replace gnutls with mbedtls2, as [extra] did? If so, you may also need export PKG_CONFIG_PATH='/usr/lib/mbedtls2/pkgconfig in build().

@OzzyHelix: Try gpg --keyserver pgp.mit.edu --recv-keys FCF986EA15E6E293A5644F10B4322F04D67658D8 You'll still need to gpg --edit-key and set trust.