Package Details: ffmpeg-amd-full-git 4.3.r95223.ga27c0781dd-1

Git Clone URL: https://aur.archlinux.org/ffmpeg-amd-full-git.git (read-only, click to copy)
Package Base: ffmpeg-amd-full-git
Description: Complete solution to record, convert and stream audio and video (all possible features for AMD; git version)
Upstream URL: https://www.ffmpeg.org/
Licenses: custom: nonfree and unredistributable
Conflicts: ffmpeg
Provides: ffmpeg, ffmpeg-full, ffmpeg-git, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavresample.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: clap22
Maintainer: ReekyMarko
Last Packager: ReekyMarko
Votes: 5
Popularity: 0.049930
First Submitted: 2018-11-20 15:20
Last Updated: 2019-10-06 10:33

Dependencies (95)

Required by (954)

Sources (2)

Pinned Comments

clap22 commented on 2018-11-20 15:36

NOTE: This package was created because the presence of nvidia and intel stuff breaks some stuff, at least on my AMD setup. Also packages like cuda are HUGE (1gb+) and unneeded. You can also install this mpv https://aur.archlinux.org/packages/mpv-amd-full-git package with the same idea, plus vulkan support over libshaderc.

Based on https://aur.archlinux.org/packages/ffmpeg-full-git by dbermond

Latest Comments

1 2 Next › Last »

JackuellnHdyde commented on 2019-10-23 11:36

@ReekyMarko:

For me using amdgpu-pro weren't a problem so far, since I just needed this version of ffmpeg to be run on a headless machine. Additionally I'm not interested in AMD AMF anymore, since the progress will probably take quite some time and I want some hardware encoder that actually works - now. It were an ... interesting experience, but I will stick with VAAPI if I can and if I'm able to either make use of cropping or remove black bars that VAAPI seems to add. (compared with x265)

If I'm trying AMF again I will shoot you a message if no one else asked for it. Greets

ReekyMarko commented on 2019-10-23 08:19

@JackuellnHdyde Thanks for your investigation. If you notice before me that the support was added, drop a message here to let me know. I could make you a co-maintainer for this package too.

To be honest, I'm not that interested in AMF until I can use it with the open source drivers. SwayWM (Wayland) freezes consistently with amdgpu-pro and I also like to support open source as much as possible.

JackuellnHdyde commented on 2019-10-22 22:35

@ReekyMarko

You're right, after more testing I realized what you already found out yourself. I'm not very familiar with all this stuff and just reading into it currently and expected I just had to init the device like I would do with VAAPI and it took me some time to find out that I didn't used wrong cmd args. It seems the full implementation will happen next year or at least AMD will provide a better API. At least we now know how to add the support when time has come.

Edit: I found some more explanation about why it might or will not work for some of us anyway. You need at least VCE3.4 to make H264_AMF i.e. work, like described here: https://github.com/obsproject/obs-amd-encoder/wiki/Hardware-Support#Devices-5 There's also a reddit thread about this topic for those interested: https://www.reddit.com/r/Amd/comments/8eirp4/ffmpeg_40_released_includes_amf_hardware_encoding/

ReekyMarko commented on 2019-10-22 19:33

@JackuellnHdyde I've now built ffmpeg with amf support, installed all drivers and the dependencies you mentioned. Trying to encode a video with a command like this:

ffmpeg -i video.avi -crf 18 -c:v h264_amf -c:a copy video.mkv

Results in the following error:

[h264_amf @ 0x564d188e5a00] AMF failed to initialise on the given Vulkan device: 1.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

Apparently only vulkan initialization is implemented from what I've read around online. I have vulkan-radeon and vulkan-amdgpu-pro installed. Do you have any workaround for this? I would rather not push the updated PKGBUILD until it's deemed working.

ReekyMarko commented on 2019-10-15 10:36

@JackuellnHdyde thanks for the heads up. I will try to build it today or tomorrow and see how it goes. I've never used amdgpu-pro so it might get interesting. How can I test that AMF works? Does mpv support it?

JackuellnHdyde commented on 2019-10-15 10:32

@ReekyMarko: Hello, I wanted to ask if it is possible to add support for AMD AMF? I already altered the PKGBUILD and it seems to work with AUR dependencies "amf-amdgpu-pro" and "amf-headers-git". Afaik the amf driver is needed to be able to initialize the device and the amf headers are needed to be able to build ffmpeg with "-enable-amf" flag according to ffmpeg docs. (see: https://www.ffmpeg.org/general.html#AMD-AMF_002fVCE)

ReekyMarko commented on 2019-10-04 10:52

You might want to remove --enable-omx-rpi. This is for the Raspberry Pi and I had to remove it to get it to build on my PC. Doubt it has much to do with AMD setups.

CaffeinatedTech commented on 2019-08-26 00:52

Build is failing.

In file included from libavcodec/omx.c:29:
libavcodec/omx.c: In function ‘omx_encode_frame’:
libavcodec/omx.c:807:44: error: ‘OMX_IndexConfigBrcmVideoRequestIFrame’ undeclared (first use in this function); did you mean ‘OMX_IndexConfigVideoFramerate’?
  807 |             err = OMX_SetConfig(s->handle, OMX_IndexConfigBrcmVideoRequestIFrame, &config);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ReekyMarko commented on 2019-05-29 08:20

Anybody else have trouble with tensorflow? I'm getting this message when the ffmpeg build starts:

ERROR: libtensorflow not found

EDIT: I got it to build by adding this to configure:

--extra-cflags='-I/usr/include/tensorflow'

clap22 commented on 2019-04-22 18:27

@morosa You get that error when you do what exactly?