Package Details: ffmpeg-amd-full-git 7.1.r114795.g0e4dfa4709-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/
Keywords: audio codec convert encoder media svt video
Licenses: custom: nonfree and unredistributable
Conflicts: ffmpeg
Provides: ffmpeg, ffmpeg-full, ffmpeg-git, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: clap22
Maintainer: nathanielcwm
Last Packager: nathanielcwm
Votes: 12
Popularity: 0.000027
First Submitted: 2018-11-20 15:20 (UTC)
Last Updated: 2024-04-10 23:13 (UTC)

Required by (1829)

Sources (7)

Pinned Comments

saburouta commented on 2023-04-26 18:45 (UTC)

I adopted this package to keep it from falling off, but I haven't had the chance to update it yet.

I think only patches 40 and 60 still work. I'm not sure the other even need to be updated. I've been building with just 40 and 60.

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10

morosa commented on 2019-04-22 17:43 (UTC)

/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 (UTC) (edited on 2019-04-19 17:12 (UTC) by qss)

@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 (UTC) (edited on 2019-04-14 06:27 (UTC) by beroal)

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 (UTC)

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

clap22 commented on 2018-12-30 08:07 (UTC)

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

pyroclast commented on 2018-12-30 04:56 (UTC)

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 (UTC)

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 (UTC) (edited on 2018-11-24 19:25 (UTC) by clap22)

@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

digitalone commented on 2018-11-24 17:56 (UTC) (edited on 2018-11-24 17:58 (UTC) by digitalone)

Hello, thanks for your work. I'm not an expert, I have an AMD card that belongs to Sea Island family and I'm using radeon drivers (tried also amdgpu, but gpu decoding is buggy, tested on mpv and chromium-vaapi-bin). I'd like to try your mpv-amd package and I'm supposed to install this first. Which benefits will I get in doing this? Is it worth it? How much will it take to compile this package?

clap22 commented on 2018-11-20 15:36 (UTC)

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