From 4aabb704e86f4cec551b96ed4464329c392155cc354194cab6ea6209ad5d5330 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 16 Mar 2023 21:59:01 +0000 Subject: [PATCH 1/2] Accepting request 1072485 from home:onlyJak0b:Stable When using libvmaf with ffmpeg, you always get errors/warnings like "no such built-in model" and "could not load libvmaf model" because the model is not actually built into the library. As mentioned in https://github.com/Netflix/vmaf/issues/989, xxd is required to include the model. OBS-URL: https://build.opensuse.org/request/show/1072485 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vmaf?expand=0&rev=20 --- vmaf.changes | 5 +++++ vmaf.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/vmaf.changes b/vmaf.changes index 1185b63..926b070 100644 --- a/vmaf.changes +++ b/vmaf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 16 21:06:47 UTC 2023 - Jakob Lorenz + +- Fix "no such built-in model" due to missing build dependency + ------------------------------------------------------------------- Wed Nov 9 10:26:11 UTC 2022 - Jan Engelhardt diff --git a/vmaf.spec b/vmaf.spec index 02d37e3..8a2b660 100644 --- a/vmaf.spec +++ b/vmaf.spec @@ -1,7 +1,7 @@ # # spec file for package vmaf # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,7 @@ BuildRequires: gcc-c++ BuildRequires: meson >= 0.47 BuildRequires: nasm BuildRequires: pkg-config +BuildRequires: vim Provides: bundled(libsvm) = 3.18 %description From 6361a39c431f23cc5c447b02417ebfb8664709803c807483a38040d8ecf2a10f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 16 Mar 2023 22:02:34 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vmaf?expand=0&rev=21 --- vmaf.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vmaf.spec b/vmaf.spec index 8a2b660..916bad4 100644 --- a/vmaf.spec +++ b/vmaf.spec @@ -35,6 +35,7 @@ BuildRequires: gcc-c++ BuildRequires: meson >= 0.47 BuildRequires: nasm BuildRequires: pkg-config +# Need /usr/bin/xxd for build BuildRequires: vim Provides: bundled(libsvm) = 3.18