[FFmpeg-user] ERROR: libvmaf >= 2.0.0 not found using pkg-config
桃源老師
xanadu6291 at dream.jp
Fri Feb 4 09:50:35 EET 2022
Hello,
> 2022/02/04 午前0:43、桃源老師 <xanadu6291 at dream.jp>のメール:
>
> Hello,
>
>> 2022/02/04 午前0:19、Moritz Barsnick <barsnick at gmx.net>のメール:
>>
>> On Thu, Feb 03, 2022 at 21:07:08 +0900, 桃源老師 wrote:
>>> 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.
>>
>> So, what's your actual version of libvmaf? Because _after_ commit
>> 06a54a4ec73ea6eb8cec41b7af75367bafb075e0, the requirement was increased
>> to 2.0.0.
>
> I installed:
> roushinoMacBook-Pro-15:bin roushi$ ./vmaf --version
> 2.3.0
>
>> If you're using git anyway, you could do a "git bisect".
>
> I didn't know such a git option... Here is:
>
> roushinoMacBook-Pro-15:ffmpeg roushi$ git bisect start 3d29724c008d8f27fecf85757152789b074e8ef9 06a54a4ec73ea6eb8cec41b7af75367bafb075e0
> Already on 'master'
> Your branch is up to date with 'origin/master'.
> 3d29724c008d8f27fecf85757152789b074e8ef9 is the first bad commit
> commit 3d29724c008d8f27fecf85757152789b074e8ef9
> Author: Kyle Swanson <kswanson at netflix.com>
> Date: Fri Dec 24 12:43:50 2021 -0800
>
> avfilter/vf_libvmaf: update filter for libvmaf v2.0.0
>
> configure | 4 +-
> doc/filters.texi | 82 +++---
> libavfilter/version.h | 2 +-
> libavfilter/vf_libvmaf.c | 682 +++++++++++++++++++++++++++++++++++------------
> 4 files changed, 558 insertions(+), 212 deletions(-)
>
>>
>>> /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; }
>>
>> It seems to me that vmaf_init() had existed before, so I'm not sure why
>> this would happen.
>
> I'm afraid thet is it a bug of macOS...
I attached config.log with this message. Hope someone help me...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 499266 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20220204/61f15748/attachment.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4380 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20220204/61f15748/attachment.bin>
More information about the ffmpeg-user
mailing list