Opened 4 months ago

Last modified 2 months ago

#10774 new defect

use of undeclared identifier 'compute_vmaf' when building ffmpeg 4

Reported by: bevanjkay Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: bevanjkay Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
ffmpeg 4 calls the compute_vmaf() API that has been deprecated in libvmaf 3.0.0

Build failure:

clang: warning: argument unused during compilation: '-L/opt/homebrew/Cellar/libvmaf/3.0.0/lib' [-Wunused-command-line-argument]
/private/tmp/ffconf.zAECDQkx/test.c:3:47: error: use of undeclared identifier 'compute_vmaf'
long check_compute_vmaf(void) { return (long) compute_vmaf; }
                                              ^
1 error generated.
ERROR: libvmaf >= 1.5.2 not found using pkg-config

Attachments (2)

config.log (501.9 KB ) - added by bevanjkay 4 months ago.
ffmpeg-4.4.4-libvmaf-2.0.0.patch (34.1 KB ) - added by Ștefan Talpalaru 2 months ago.
ffmpeg-4.4.4-libvmaf-2.0.0.patch

Download all attachments as: .zip

Change History (3)

by bevanjkay, 4 months ago

Attachment: config.log added

by Ștefan Talpalaru, 2 months ago

ffmpeg-4.4.4-libvmaf-2.0.0.patch

comment:1 by Ștefan Talpalaru, 2 months ago

I just attached a backport to ffmpeg-4.4.4 of this patch from December 2021: https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220119/70fd3e3e/attachment.obj

Note: See TracTickets for help on using tickets.