Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-10-24 15:13:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and      /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffmpeg-4"

Sat Oct 24 15:13:03 2020 rev:34 rq:842612 version:4.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes        2020-10-18 
16:19:07.376429446 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3463/ffmpeg-4.changes      
2020-10-24 15:13:09.787930163 +0200
@@ -1,0 +2,6 @@
+Mon Oct 19 06:42:32 UTC 2020 - Jan Engelhardt <jeng...@inai.de>
+
+- Enable VMAF. This can be used to compute VMAF/PSNR/SSIM.
+- Add vmaf-trim-usr-local.patch .
+
+-------------------------------------------------------------------

New:
----
  vmaf-trim-usr-local.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ffmpeg-4.spec ++++++
--- /var/tmp/diff_new_pack.f8ZWr6/_old  2020-10-24 15:13:15.439937214 +0200
+++ /var/tmp/diff_new_pack.f8ZWr6/_new  2020-10-24 15:13:15.443937220 +0200
@@ -116,6 +116,7 @@
 Patch5:         soversion.patch
 Patch6:         ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch
 Patch7:         0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch
+Patch8:         vmaf-trim-usr-local.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
@@ -163,6 +164,7 @@
 BuildRequires:  pkgconfig(libva) >= 0.35.0
 BuildRequires:  pkgconfig(libva-drm)
 BuildRequires:  pkgconfig(libva-x11)
+BuildRequires:  pkgconfig(libvmaf) >= 1.3.9
 BuildRequires:  pkgconfig(libwebp) >= 0.4
 BuildRequires:  pkgconfig(libxml-2.0)
 %if %{with zmq}
@@ -668,6 +670,7 @@
 %if %{with vidstab}
        --enable-libvidstab \
 %endif
+       --enable-libvmaf \
        --enable-libvorbis \
        --enable-libv4l2 \
        --enable-libvpx \
@@ -696,6 +699,7 @@
 %endif
        --enable-vaapi \
        --enable-vdpau \
+       --enable-version3 \
 %if %{with fdk_aac_dlopen}
        --enable-libfdk-aac-dlopen \
        --enable-nonfree \


++++++ vmaf-trim-usr-local.patch ++++++
---
 libavfilter/vf_libvmaf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ffmpeg-4.3.1/libavfilter/vf_libvmaf.c
===================================================================
--- ffmpeg-4.3.1.orig/libavfilter/vf_libvmaf.c
+++ ffmpeg-4.3.1/libavfilter/vf_libvmaf.c
@@ -72,7 +72,7 @@ typedef struct LIBVMAFContext {
 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
 
 static const AVOption libvmaf_options[] = {
-    {"model_path",  "Set the model to be used for computing vmaf.",            
         OFFSET(model_path), AV_OPT_TYPE_STRING, 
{.str="/usr/local/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS},
+    {"model_path",  "Set the model to be used for computing vmaf.",            
         OFFSET(model_path), AV_OPT_TYPE_STRING, 
{.str="/usr/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS},
     {"log_path",  "Set the file path to be used to store logs.",               
         OFFSET(log_path), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
     {"log_fmt",  "Set the format of the log (xml or json).",                   
         OFFSET(log_fmt), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
     {"enable_transform",  "Enables transform for computing vmaf.",             
         OFFSET(enable_transform), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},

Reply via email to