Package Details: ffmpeg-amd-full-git 4.2.r92502.gd290bb0c54-2

Git Clone URL: https://aur.archlinux.org/ffmpeg-amd-full-git.git (read-only)
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: clap22
Last Packager: clap22
Votes: 5
Popularity: 0.476561
First Submitted: 2018-11-20 15:20
Last Updated: 2019-04-20 22:44

Dependencies (95)

Required by (919)

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 »

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?

morosa commented on 2019-04-22 17:43

/usr/lib/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib/libgbm.so.1)

qss commented on 2019-04-19 17:09

@beroal, its because ffmpeg source-code updates and ffmpeg developers exclude '--enable-libndi_newtek' from it. If you don't wanna wait just remove that from PKGBUILD and run makepkg again.

@clap22, i have an idea how PKGBUILD can be improved:

 desired_options='   
--enable-libndi_newtek
--disable-mbedtls
--enable-libmysofa
and-so-on
'

aval_opt=""
for i in $desired_options; do
    if $(cat configure | grep -q --regexp="$(echo $i | sed 's/.*enable-//g' | sed 's/.*disable-//g')")
    then aval_opt+="$i "
    else msg2 " !!! Warning !!! Unavailable option DETECTED: $i"; fi
done

printf '%s\n' '  -> Running ffmpeg configure script...'

./configure \
    --prefix='/usr' \
    --extra-cflags="$_cflags" \
    --extra-ldflags="$_ldflags" \
    $aval_opt

beroal commented on 2019-04-14 06:27

I can't build this package because of the "libndi_newtek" option. ==> Making package: ffmpeg-amd-full-git 4.2.r93565.g0ad0533e91-1 (Sun 14 Apr 2019 09:26:12 AM EEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating ffmpeg git repo... Fetching origin -> Found LICENSE ==> Validating source files with sha256sums... ffmpeg ... Skipped LICENSE ... Passed ==> Extracting sources... -> Creating working copy of ffmpeg git repo... Reset branch 'makepkg' ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... -> Running ffmpeg configure script... Unknown option "--enable-libndi_newtek". See ./configure --help for available options. ==> ERROR: A failure occurred in build(). Aborting...

pyroclast commented on 2018-12-30 15:38

@clap22 Workaround was successful, build and install went without issue. Thank you!

clap22 commented on 2018-12-30 08:07

@pyroclast For now manually build libmysofa-git as a workaround, I'll update this soon.

pyroclast commented on 2018-12-30 04:56

Thank you for putting this together! However, I am having trouble installing. I have the generic ffmpeg package installed but get this error when trying to replace it:

CC libavfilter/af_sofalizer.o libavfilter/af_sofalizer.c: In function ‘preload_sofa’: libavfilter/af_sofalizer.c:164:32: error: implicit declaration of function ‘mysofa_neighborhood_init_withstepdefine’; did you mean ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration] s->sofa.neighborhood = mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mysofa_neighborhood_init libavfilter/af_sofalizer.c:164:30: warning: assignment to ‘struct MYSOFA_NEIGHBORHOOD ’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] s->sofa.neighborhood = mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf, ^ cc1: some warnings being treated as errors make: ** [ffbuild/common.mak:60: libavfilter/af_sofalizer.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build ffmpeg-amd-full-git package(s)

Any thoughts on this?

digitalone commented on 2018-11-25 08:04

Hi, I can't use amdgpu because gpu decoding is buggy with it on my card. There's also another reason, I usually connect the laptop to my HD TV to watch something and I noticed that formats below 60 Hz are forced to limited color space on the TV (it's a TV restriction, not depending on the card). Since I mostly watch 50 Hz contents I have set my card to output with limited levels rather than full. I can do that with radeon driver, but not with amdgpu (it misses the option under xrandr).

I need to use radeon driver, so I think I will give your packages a try only if I get a big improve in reproduction speed, otherwise I could stay with upstream configuration. What do you think? Did you get a big improve with your packages in terms of content reproduction?

My gpu can handle H264 1080p60 without any issue, but if I need to add some filters from CPU decoding it may start to lag. I can't handle 50 Hz yadif deinterlacing with CPU on mpv (but it works on VDPAU GPU decoding).

clap22 commented on 2018-11-24 19:20

@digitalone I have a recent card (RX580) so I'll just guess from what I've read. It is worth trying this and mpv-amd but I think your best shot is still with amdgpu instead of radeon driver. Also, I'd build last mesa-git to get latest updates and fixes for your gpu. Soon I might release my personal mesa-amd-git that removes all drivers except AMD needed ones and software rendering as fallback, I'm still learning my way around the AUR, not a expert also :)

There is also a lot of tweaking you can do in mpv.conf, if you need help with that post in mpv-amd and I'll try to help you.

If none of that works your last hope would be latest AMD development kernel (AUR linux-amd-wip-git).

Compilation for all those takes a considerable time depending on your hardware, but you can setup ccache and the subsequent compilations will be really fast.

edit: for chromium-vaapi you might need an additional fix for scrambled colors, try starting it with this env var: allow_rgb10_configs=false chromium