Yea @abcfy2 same issues on my end when building either ffmpeg full git packages with or without AMD. Fails on the same patch. I'll poke around a bit in the meantime.
Search Criteria
Package Details: ffmpeg-amd-full-git 8.2.r123608.g92d06a8027-1
Package Actions
| 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, including libfdk-aac; git version) |
| Upstream URL: | https://ffmpeg.org/ |
| Keywords: | audio codec convert encoder media svt video |
| Licenses: | LicenseRef-nonfree-and-unredistributable |
| Conflicts: | ffmpeg |
| Provides: | ffmpeg, ffmpeg-full, ffmpeg-full-git, ffmpeg-git, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libswresample.so, libswscale.so |
| Submitter: | clap22 |
| Maintainer: | nathanielcwm |
| Last Packager: | nathanielcwm |
| Votes: | 15 |
| Popularity: | 0.000263 |
| First Submitted: | 2018-11-20 15:20 (UTC) |
| Last Updated: | 2026-03-24 18:14 (UTC) |
Dependencies (131)
- alsa-lib
- aom (aom-vmaf-gitAUR, aom-av1-lavish-gitAUR, aom-psy101-gitAUR, aom-gitAUR, aom-gitAUR)
- aribb24 (aribb24-gitAUR)
- avisynthplus (avisynthplus-gitAUR)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- celtAUR (celt-gitAUR)
- chromaprint-fftwAUR (chromaprint-fftw-llvmAUR)
- codec2 (codec2-gitAUR, codec2-lpcnetAUR)
- dav1d (dav1d-gitAUR)
- davs2AUR (davs2-gitAUR)
- flite1AUR
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoledAUR, freetype2-qdoled-gen3AUR, freetype2-woledAUR, freetype2-gitAUR, freetype2-macosAUR)
- frei0r-plugins (frei0r-plugins-gitAUR)
- fribidi (fribidi-gitAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- glslang (glslang-gitAUR)
- gnutls (gnutls-gitAUR)
- Show 111 more dependencies...
Required by (2397)
- 0wgram (requires ffmpeg)
- 2h4u (requires ffmpeg) (make)
- 3ncode-git (requires ffmpeg)
- 48tools (requires ffmpeg)
- 64gram-desktop (requires ffmpeg)
- aaa-bin (requires ffmpeg)
- aaxtomp3 (requires ffmpeg)
- aaxtomp3-git (requires ffmpeg)
- ab-av1 (requires ffmpeg)
- ab-download-manager-wayland-git (requires ffmpeg) (optional)
- abyss-engine-git (requires ffmpeg)
- aconcat (requires ffmpeg)
- adlmidi (requires ffmpeg) (optional)
- adlmidi-git (requires ffmpeg) (optional)
- aegisub-arch1t3cht (requires ffmpeg)
- aegisub-arch1t3cht-git (requires ffmpeg)
- aegisub-arch1t3cht-qt5-git (requires ffmpeg)
- aegisub-arch1t3cht-xdg-git (requires ffmpeg)
- aegisub-japan7-git (requires ffmpeg)
- aether (requires ffmpeg)
- Show 2377 more...
Sources (9)
- 010-ffmpeg-add-svt-hevc.patch
- 020-ffmpeg-add-svt-hevc-docs-g4181c9e.patch
- 030-ffmpeg-add-svt-vp9.patch
- 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
- 060-ffmpeg-whisper.cpp-fix-pkgconfig.patch
- git+https://git.ffmpeg.org/ffmpeg.git
- git+https://github.com/lensfun/lensfun.git
- https://github.com/ggml-org/whisper.cpp/archive/v1.8.3/whisper.cpp-1.8.3.tar.gz
- LICENSE
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »
ArchBoxHero commented on 2021-04-14 21:44 (UTC)
abcfy2 commented on 2021-04-14 08:50 (UTC)
paching files failed:
patching file libavfilter/vf_libvmaf.c
patching file configure
Hunk #1 succeeded at 289 (offset 1 line).
Hunk #2 succeeded at 1821 with fuzz 1 (offset 2 lines).
Hunk #3 succeeded at 3293 (offset 20 lines).
Hunk #4 succeeded at 6501 (offset 21 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1070 (offset 24 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 765 (offset 18 lines).
patching file libavcodec/libsvt_hevc.c
patching file doc/encoders.texi
Hunk #1 succeeded at 1888 (offset 248 lines).
patching file doc/general_contents.texi
Hunk #1 succeeded at 267 with fuzz 2 (offset 24 lines).
patching file configure
Hunk #1 succeeded at 286 (offset 2 lines).
Hunk #2 succeeded at 1805 (offset 4 lines).
Hunk #3 succeeded at 3287 (offset 22 lines).
Hunk #4 succeeded at 6473 (offset 35 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1065 (offset 17 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 758 (offset 12 lines).
patching file libavcodec/avcodec.h
patching file libavcodec/libsvt_vp9.c
patching file libavformat/dashenc.c
Hunk #1 succeeded at 2271 (offset 1 line).
Hunk #2 succeeded at 2360 (offset 1 line).
Hunk #3 succeeded at 2452 (offset 1 line).
patching file libavformat/ivfenc.c
Hunk #1 succeeded at 81 with fuzz 1.
patching file libavformat/matroskaenc.c
Hunk #2 succeeded at 2111 (offset 24 lines).
Hunk #3 succeeded at 2310 (offset 33 lines).
Hunk #4 succeeded at 2321 (offset 33 lines).
Hunk #5 succeeded at 2340 (offset 33 lines).
Hunk #6 FAILED at 2329.
Hunk #7 succeeded at 2431 (offset 38 lines).
Hunk #8 succeeded at 2462 (offset 38 lines).
Hunk #9 succeeded at 2808 (offset 41 lines).
1 out of 9 hunks FAILED -- saving rejects to file libavformat/matroskaenc.c.rej
patching file libavformat/movenc.c
Hunk #1 succeeded at 5967 (offset 114 lines).
Hunk #2 succeeded at 7190 (offset 141 lines).
==> 错误: 在 prepare() 中发生一个错误。
正在放弃...
生成时出错: ffmpeg-amd-full-git
abcfy2 commented on 2021-02-06 15:05 (UTC)
Manjaro unstable build failed:
CC libavfilter/vf_lumakey.o
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:302:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
302 | DEPRECATED LF_EXPORT lfMount *lf_mount_new ();
| ^~~~~~~~~~
/usr/include/lensfun/lensfun.h:311:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
311 | LF_EXPORT lfMount *lf_mount_create();
| ^~~~~~~~~
/usr/include/lensfun/lensfun.h:464:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
464 | DEPRECATED LF_EXPORT lfCamera *lf_camera_new ();
| ^~~~~~~~~~
/usr/include/lensfun/lensfun.h:474:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
474 | LF_EXPORT lfCamera *lf_camera_create ();
| ^~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:1550:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
1550 | DEPRECATED LF_EXPORT lfLens *lf_lens_new ();
| ^~~~~~~~~~
/usr/include/lensfun/lensfun.h:1560:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
1560 | LF_EXPORT lfLens *lf_lens_create ();
| ^~~~~~~~~
libavfilter/vf_lensfun.c: In function ‘config_props’:
libavfilter/vf_lensfun.c:225:59: error: incompatible type for argument 1 of ‘lf_modifier_create’
225 | lensfun->modifier = lf_modifier_create(lensfun->lens,
| ~~~~~~~^~~~~~
| |
| lfLens *
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3076:11: note: expected ‘float’ but argument is of type ‘lfLens *’
3076 | float imgcrop, int imgwidth, int imgheight, lfPixelFormat pixel_format, bool reverse);
| ~~~~~~^~~~~~~
libavfilter/vf_lensfun.c:225:33: error: too many arguments to function ‘lf_modifier_create’
225 | lensfun->modifier = lf_modifier_create(lensfun->lens,
| ^~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3075:23: note: declared here
3075 | LF_EXPORT lfModifier *lf_modifier_create (
| ^~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:231:84: error: incompatible type for argument 2 of ‘lf_modifier_enable_vignetting_correction’
231 | lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture, lensfun->focus_distance);
| ~~~~~~~^~~~~~~~~~
| |
| float
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3098:41: note: expected ‘const lfLens *’ but argument is of type ‘float’
3098 | lfModifier *modifier, const lfLens* lens, float focal, float aperture, float distance);
| ~~~~~~~~~~~~~~^~~~
libavfilter/vf_lensfun.c:231:17: error: too few arguments to function ‘lf_modifier_enable_vignetting_correction’
231 | lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture, lensfun->focus_distance);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3097:15: note: declared here
3097 | LF_EXPORT int lf_modifier_enable_vignetting_correction (
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:233:17: error: too few arguments to function ‘lf_modifier_enable_distortion_correction’
233 | lf_modifier_enable_distortion_correction(lensfun->modifier);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3091:15: note: declared here
3091 | LF_EXPORT int lf_modifier_enable_distortion_correction (lfModifier *modifier, const lfLens* lens, float focal);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:234:83: warning: passing argument 2 of ‘lf_modifier_enable_projection_transform’ makes pointer from integer without a cast [-Wint-conversion]
234 | lf_modifier_enable_projection_transform(lensfun->modifier, lensfun->target_geometry);
| ~~~~~~~^~~~~~~~~~~~~~~~~
| |
| int
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3102:41: note: expected ‘const lfLens *’ but argument is of type ‘int’
3102 | lfModifier *modifier, const lfLens* lens, float focal, lfLensType target_projection);
| ~~~~~~~~~~~~~~^~~~
libavfilter/vf_lensfun.c:234:17: error: too few arguments to function ‘lf_modifier_enable_projection_transform’
234 | lf_modifier_enable_projection_transform(lensfun->modifier, lensfun->target_geometry);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3101:17: note: declared here
3101 | LF_EXPORT cbool lf_modifier_enable_projection_transform (
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:238:17: error: too few arguments to function ‘lf_modifier_enable_tca_correction’
238 | lf_modifier_enable_tca_correction(lensfun->modifier);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3094:15: note: declared here
3094 | LF_EXPORT int lf_modifier_enable_tca_correction (lfModifier *modifier, const lfLens* lens, float focal);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC libavfilter/vf_lut.o
make: *** [ffbuild/common.mak:67: libavfilter/vf_lensfun.o] Error 1
make: *** Waiting for unfinished jobs....
CC libavfilter/vf_lut2.o
==> ERROR: A failure occurred in build().
Aborting...
akrai commented on 2021-01-04 12:37 (UTC)
Yeah. don't worry, the bug report is open in the ffmpeg site, so not this package's fault
nathanielcwm commented on 2021-01-04 12:31 (UTC) (edited on 2021-01-04 12:32 (UTC) by nathanielcwm)
https://www.phoronix.com/scan.php?page=news_item&px=FFmpeg-AMD-AMF-Vulkan
This dates back to 2019 but this phoronix article states that ffmpeg on linux only implements amf for avc.
Edit: Just checked and there have been no relevant commits to amf support since it was implemented for linux.
nathanielcwm commented on 2021-01-04 12:20 (UTC) (edited on 2021-01-04 12:29 (UTC) by nathanielcwm)
https://trac.ffmpeg.org/wiki/HWAccelIntro
Oh yeah according to the documentation amf is only supported on Windows.
Supposedly AMF support was added to Linux ffmpeg in 4.3 tho.
Could you check your inbox @Akrai?
akrai commented on 2021-01-04 12:06 (UTC)
Looks like no support to hevc_amf from ffmpeg on linux, or maybe from AMD drivers
nathanielcwm commented on 2021-01-04 12:06 (UTC)
Sorry i've and am going to be busy until around the end of January so i can't really help pursue this issue until then.
nathanielcwm commented on 2021-01-04 12:03 (UTC)
Is it an issue with the official ffmpeg package?
akrai commented on 2020-12-31 11:13 (UTC)
Yes, it works with AVC even with the official ffmpeg package
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.