Hello,

> 2022/02/03 午後9:07、桃源老師 <[email protected]>のメール:
>
> Hello,
>
> I experienced funny ffmpeg compille error "ERROR: libvmaf >= 2.0.0 not found 
> using pkg-config".  The reason why I feel funny is that ffmpeg commit of 
> "06a54a4ec73ea6eb8cec41b7af75367bafb075e0(Date: Sat Jan 22 10:32:34 2022 
> +0100)" can configure and make correctly, but current git head can't 
> configure.  I suppose something wrong was happened after 2022/01/22.
>
> I'm trying to build ffmpeg on macOS 12.2.
>
> The seems to error portion on config.log is:
>
> /var/folders/1d/qk_hczkn68xfv_7gdbkmhwx40000gn/T//ffconf.DmkkrFIx/test.c:3:44:
>  error: use of undeclared identifier 'vmaf_init'
> long check_vmaf_init(void) { return (long) vmaf_init; }
>                                           ^
> 1 error generated.
> ERROR: libvmaf >= 2.0.0 not found using pkg-config
>
>
> Any help is appreciated...

I found that the fact was happened on:

commit: 3d29724c008d8f27fecf85757152789b074e8ef9
commit title: avfilter/vf_libvmaf: update filter for libvmaf v2.0.0
commit date: Mon, 24 Jan 2022 04:41:30 +0900 (11:41 -0800)

In that, configure of ffmpeg was changed as:

--- a/configure
+++ b/configure
@@ -3751,7 +3751,7 @@ vaguedenoiser_filter_deps="gpl"
 vflip_vulkan_filter_deps="vulkan spirv_compiler"
 vidstabdetect_filter_deps="libvidstab"
 vidstabtransform_filter_deps="libvidstab"
-libvmaf_filter_deps="libvmaf pthreads"
+libvmaf_filter_deps="libvmaf"
 zmq_filter_deps="libzmq"
 zoompan_filter_deps="swscale"
 zscale_filter_deps="libzimg const_nan"
@@ -6626,7 +6626,7 @@ enabled libtwolame        && require libtwolame twolame.h 
twolame_init -ltwolame
 enabled libuavs3d         && require_pkg_config libuavs3d "uavs3d >= 1.1.41" 
uavs3d.h uavs3d_decode
 enabled libv4l2           && require_pkg_config libv4l2 libv4l2 libv4l2.h 
v4l2_ioctl
 enabled libvidstab        && require_pkg_config libvidstab "vidstab >= 0.98" 
vid.stab/libvidstab.h vsMotionDetectInit
-enabled libvmaf           && require_pkg_config libvmaf "libvmaf >= 1.5.2" 
libvmaf.h compute_vmaf
+enabled libvmaf           && require_pkg_config libvmaf "libvmaf >= 2.0.0" 
libvmaf.h vmaf_init
 enabled libvo_amrwbenc    && require libvo_amrwbenc vo-amrwbenc/enc_if.h 
E_IF_init -lvo-amrwbenc
 enabled libvorbis         && require_pkg_config libvorbis vorbis 
vorbis/codec.h vorbis_info_init &&
                              require_pkg_config libvorbisenc vorbisenc 
vorbis/vorbisenc.h vorbis_encode_init

Here,  I can find out "vmaf_init", might be cause of issue...


// Miya

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to