commit ffmpeg-4 for openSUSE:Factory

2020-10-24 Thread root
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.changes2020-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 
+
+- 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},



commit ffmpeg-4 for openSUSE:Factory

2020-10-18 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-10-18 16:18:55

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3486 (New)


Package is "ffmpeg-4"

Sun Oct 18 16:18:55 2020 rev:33 rq:841753 version:4.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-07-28 
17:25:18.149902295 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3486/ffmpeg-4.changes  
2020-10-18 16:19:07.376429446 +0200
@@ -1,0 +2,6 @@
+Wed Oct 14 09:45:07 UTC 2020 - Jan Engelhardt 
+
+- Adjust soversion.patch to include a symlink [boo#1177667]
+- Add 0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch
+
+---

New:

  0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.xsYXDS/_old  2020-10-18 16:19:08.264429841 +0200
+++ /var/tmp/diff_new_pack.xsYXDS/_new  2020-10-18 16:19:08.268429843 +0200
@@ -115,6 +115,7 @@
 Patch4: ffmpeg-4.2-dlopen-fdk_aac.patch
 Patch5: soversion.patch
 Patch6: ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch
+Patch7: 0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
@@ -783,42 +784,51 @@
 %_bindir/*
 %_mandir/man1/ff*.1*
 %_datadir/ffmpeg/
+%_libdir/libavcodec.so.58
+%_libdir/libavdevice.so.58
+%_libdir/libavfilter.so.7
+%_libdir/libavformat.so.58
+%_libdir/libavresample.so.4
+%_libdir/libavutil.so.56
+%_libdir/libpostproc.so.55
+%_libdir/libswresample.so.3
+%_libdir/libswscale.so.5
 
 %files -n libavcodec58_91
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libavcodec.so.*
+%_libdir/libavcodec.so.58.91*
 
 %files -n libavdevice58_10
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libavdevice.so.*
+%_libdir/libavdevice.so.58.10*
 
 %files -n libavfilter7_85
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libavfilter.so.*
+%_libdir/libavfilter.so.7.85*
 
 %files -n libavformat58_45
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libavformat.so.*
+%_libdir/libavformat.so.58.45*
 
 %files -n libavresample4_0
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libavresample.so.*
+%_libdir/libavresample.so.4.0*
 
 %files -n libavutil56_51
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libavutil.so.*
+%_libdir/libavutil.so.56.51*
 
 %files -n libpostproc55_7
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libpostproc.so.*
+%_libdir/libpostproc.so.55.7*
 
 %files -n libswresample3_7
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libswresample.so.*
+%_libdir/libswresample.so.3.7*
 
 %files -n libswscale5_7
 %license COPYING.GPLv2 LICENSE.md
-%_libdir/libswscale.so.*
+%_libdir/libswscale.so.5.7*
 
 %files libavcodec-devel
 %dir %_includedir/ffmpeg/

++ 0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch ++
>From 7c59e1b0f285cd7c7b35fcd71f49c5fd52cf9315 Mon Sep 17 00:00:00 2001
From: Jun Zhao 
Date: Sun, 12 Jul 2020 13:48:48 +0800
Subject: [PATCH] lavf/srt: fix build fail when used the libsrt 1.4.1

libsrt changed the:
SRTO_SMOOTHER   -> SRTO_CONGESTION
SRTO_STRICTENC  -> SRTO_ENFORCEDENCRYPTION
and removed the front of deprecated options (SRTO_SMOOTHER/SRTO_STRICTENC)
in the header, it's lead to build fail

fix #8760

Signed-off-by: Jun Zhao 
---
 libavformat/libsrt.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 4de575b37c..4719ce0d4b 100644
--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -313,8 +313,12 @@ static int libsrt_set_options_pre(URLContext *h, int fd)
 (s->pbkeylen >= 0 && libsrt_setsockopt(h, fd, SRTO_PBKEYLEN, 
"SRTO_PBKEYLEN", >pbkeylen, sizeof(s->pbkeylen)) < 0) ||
 (s->passphrase && libsrt_setsockopt(h, fd, SRTO_PASSPHRASE, 
"SRTO_PASSPHRASE", s->passphrase, strlen(s->passphrase)) < 0) ||
 #if SRT_VERSION_VALUE >= 0x010302
+#if SRT_VERSION_VALUE >= 0x010401
+(s->enforced_encryption >= 0 && libsrt_setsockopt(h, fd, 
SRTO_ENFORCEDENCRYPTION, "SRTO_ENFORCEDENCRYPTION", >enforced_encryption, 
sizeof(s->enforced_encryption)) < 0) ||
+#else
 /* SRTO_STRICTENC == SRTO_ENFORCEDENCRYPTION (53), but for 
compatibility, we used SRTO_STRICTENC */
 (s->enforced_encryption >= 0 && libsrt_setsockopt(h, fd, 
SRTO_STRICTENC, "SRTO_STRICTENC", >enforced_encryption, 
sizeof(s->enforced_encryption)) < 0) ||
+#endif
 (s->kmrefreshrate >= 0 && libsrt_setsockopt(h, fd, SRTO_KMREFRESHRATE, 
"SRTO_KMREFRESHRATE", >kmrefreshrate, sizeof(s->kmrefreshrate)) < 0) ||
 (s->kmpreannounce >= 0 && libsrt_setsockopt(h, fd, 

commit ffmpeg-4 for openSUSE:Factory

2020-07-28 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-07-28 17:24:42

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3592 (New)


Package is "ffmpeg-4"

Tue Jul 28 17:24:42 2020 rev:32 rq:823004 version:4.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-07-21 
15:46:12.671985660 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3592/ffmpeg-4.changes  
2020-07-28 17:25:18.149902295 +0200
@@ -1,0 +2,6 @@
+Mon Jul 27 13:39:27 UTC 2020 - Hans-Peter Jansen 
+
+- Apply upstream fix to avoid segfaults in x86/yuv2rgb conversion
+  ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch
+
+---

New:

  ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.4OaTNp/_old  2020-07-28 17:25:21.949906605 +0200
+++ /var/tmp/diff_new_pack.4OaTNp/_new  2020-07-28 17:25:21.949906605 +0200
@@ -114,6 +114,7 @@
 Patch3: ffmpeg-codec-choice.diff
 Patch4: ffmpeg-4.2-dlopen-fdk_aac.patch
 Patch5: soversion.patch
+Patch6: ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel


++ ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch ++
From: James Almer 
Date: Mon, 13 Jul 2020 00:32:01 + (-0300)
Subject: x86/yuv2rgb: fix crashes when storing data on unaligned buffers
X-Git-Url: 
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a

x86/yuv2rgb: fix crashes when storing data on unaligned buffers

Regression since fc6a5883d6af8cae0e96af84dda0ad74b360a084 on SSSE3 enabled
CPUs.

Fixes ticket #8747

Signed-off-by: James Almer 
---

diff --git a/libswscale/x86/yuv_2_rgb.asm b/libswscale/x86/yuv_2_rgb.asm
index 575a84d921..003dff1f25 100644
--- a/libswscale/x86/yuv_2_rgb.asm
+++ b/libswscale/x86/yuv_2_rgb.asm
@@ -268,9 +268,9 @@ cglobal %1_420_%2%3, GPR_num, GPR_num, reg_num, parameters
 porm2, m7
 porm1, m6  ; g5  b5  r6  g6  b6  r7  g7  b7  r8  g8  b8  r9  
g9  b9  r10 g10
 porm2, m3  ; b10 r11 g11 b11 r12 g12 b12 r13 g13 b13 r14 g14 
b14 r15 g15 b15
-mova [imageq], m0
-mova [imageq + 16], m1
-mova [imageq + 32], m2
+movu [imageq], m0
+movu [imageq + 16], m1
+movu [imageq + 32], m2
 %endif ; mmsize = 16
 %else ; PACK RGB15/16/32
 packuswb m0, m1
@@ -300,10 +300,10 @@ cglobal %1_420_%2%3, GPR_num, GPR_num, reg_num, parameters
 punpckhwd m_green, m_red
 punpcklwd m5, m6
 punpckhwd m_alpha, m6
-mova [imageq + 0], m_blue
-mova [imageq + 8  * time_num], m_green
-mova [imageq + 16 * time_num], m5
-mova [imageq + 24 * time_num], m_alpha
+movu [imageq + 0], m_blue
+movu [imageq + 8  * time_num], m_green
+movu [imageq + 16 * time_num], m5
+movu [imageq + 24 * time_num], m_alpha
 %else ; PACK RGB15/16
 %define depth 2
 %if cpuflag(ssse3)
@@ -342,8 +342,8 @@ cglobal %1_420_%2%3, GPR_num, GPR_num, reg_num, parameters
 mova m2, m0
 punpcklbw m0, m1
 punpckhbw m2, m1
-mova [imageq], m0
-mova [imageq + 8 * time_num], m2
+movu [imageq], m0
+movu [imageq + 8 * time_num], m2
 %endif ; PACK RGB15/16
 %endif ; PACK RGB15/16/32
 



commit ffmpeg-4 for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-07-21 15:43:53

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3592 (New)


Package is "ffmpeg-4"

Tue Jul 21 15:43:53 2020 rev:31 rq:821475 version:4.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-07-15 
11:37:10.586344340 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3592/ffmpeg-4.changes  
2020-07-21 15:46:12.671985660 +0200
@@ -1,0 +2,5 @@
+Thu Jul 16 10:49:02 UTC 2020 - Alexander Reimelt 

+
+- Add librav1e support 
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.PK1wTb/_old  2020-07-21 15:46:14.179987525 +0200
+++ /var/tmp/diff_new_pack.PK1wTb/_new  2020-07-21 15:46:14.183987529 +0200
@@ -64,6 +64,7 @@
 %bcond_without srt
 %bcond_without codec2
 %bcond_without lv2
+%bcond_without librav1e
 %bcond_without rubberband
 %bcond_without soxr
 %bcond_without zmq
@@ -75,6 +76,7 @@
 %bcond_with srt
 %bcond_with codec2
 %bcond_with lv2
+%bcond_with librav1e
 %bcond_with rubberband
 %bcond_with soxr
 %bcond_with zmq
@@ -169,6 +171,9 @@
 %endif
 BuildRequires:  pkgconfig(ogg)
 BuildRequires:  pkgconfig(opus)
+%if %{with librav1e}
+BuildRequires:  pkgconfig(rav1e)
+%endif
 %if %{with rubberband}
 BuildRequires:  pkgconfig(rubberband)
 %endif
@@ -642,6 +647,9 @@
 %endif
--enable-libopus \
--enable-libpulse \
+%if %{with librav1e}
+   --enable-librav1e \
+%endif
 %if %{with rubberband}
--enable-librubberband \
 %endif

++ enable_encoders ++
--- /var/tmp/diff_new_pack.PK1wTb/_old  2020-07-21 15:46:14.251987614 +0200
+++ /var/tmp/diff_new_pack.PK1wTb/_new  2020-07-21 15:46:14.251987614 +0200
@@ -17,6 +17,7 @@
 libmp3lame # lame
 libopenjpeg # openjpeg
 libopus # opus
+librav1e # rav1e
 libschroedinger # schroedinger
 libspeex # speex
 libtheora # libtheora





commit ffmpeg-4 for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-07-15 11:32:30

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3060 (New)


Package is "ffmpeg-4"

Wed Jul 15 11:32:30 2020 rev:30 rq:820572 version:4.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-06-11 
10:01:00.926448926 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3060/ffmpeg-4.changes  
2020-07-15 11:37:10.586344340 +0200
@@ -1,0 +2,30 @@
+Sun Jul 12 16:08:10 UTC 2020 - Bjørn Lie 
+
+- Update to version 4.3.1:
+  * Stable bug fix release, mainly codecs and format fixes.
+
+---
+Sat Jul  4 22:09:51 UTC 2020 - Jan Engelhardt 
+
+- Add soversion.patch to workaround ELF ABI breakage.
+
+---
+Wed Jun 17 16:32:04 UTC 2020 - Jan Engelhardt 
+
+- Update to release 4.3
+  * A plethora of new video filters
+  * Intel QSV-accelerated VP9 decoding
+  * VDPAU VP9 hwaccel
+  * QSV-accelerated VP9 encoding
+  * AV1 frame merge bitstream filter
+  * AV1 Annex B demuxer
+  * Expanded styling support for 3GPP Timed Text Subtitles
+  * Support for muxing PCM and PGS in M2TS
+- Drop ffmpeg-prefer-dav1d-for-playback.patch
+  (solved differently)
+- Drop ffmpeg4_swscale_replace_illegal_vector_keyword.patch,
+  ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch,
+  929e5159bc13da374b83f5627879c607acce180b.patch
+  (merged)
+
+---

Old:

  929e5159bc13da374b83f5627879c607acce180b.patch
  ffmpeg-4.2.3.tar.xz
  ffmpeg-4.2.3.tar.xz.asc
  ffmpeg-prefer-dav1d-for-playback.patch
  ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
  ffmpeg4_swscale_replace_illegal_vector_keyword.patch

New:

  ffmpeg-4.3.1.tar.xz
  ffmpeg-4.3.1.tar.xz.asc
  soversion.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.pVyWlV/_old  2020-07-15 11:37:23.282357694 +0200
+++ /var/tmp/diff_new_pack.pVyWlV/_new  2020-07-15 11:37:23.286357698 +0200
@@ -92,7 +92,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.2.3
+Version:4.3.1
 Release:0
 Summary:Library for working with various multimedia formats
 License:GPL-3.0-or-later
@@ -107,17 +107,11 @@
 Source4:enable_decoders
 Source5:enable_encoders
 Source99:   baselibs.conf
-Patch2: ffmpeg-arm6l.diff
-Patch3: ffmpeg-new-coder-errors.diff
-Patch4: ffmpeg-codec-choice.diff
-Patch5: ffmpeg-prefer-dav1d-for-playback.patch
-Patch6: ffmpeg-4.2-dlopen-fdk_aac.patch
-# pending review upstream ML and issue#7861
-# http://ffmpeg.org/pipermail/ffmpeg-devel/2019-August/247759.html
-# https://trac.ffmpeg.org/ticket/7861
-Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
-Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
-Patch9: 929e5159bc13da374b83f5627879c607acce180b.patch
+Patch1: ffmpeg-arm6l.diff
+Patch2: ffmpeg-new-coder-errors.diff
+Patch3: ffmpeg-codec-choice.diff
+Patch4: ffmpeg-4.2-dlopen-fdk_aac.patch
+Patch5: soversion.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
@@ -243,15 +237,15 @@
 Obsoletes:  ffmpeg-tools < %version
 Provides:   ffmpeg = %version
 Obsoletes:  ffmpeg < %version
-Requires:   libavcodec58 = %version-%release
-Requires:   libavdevice58 = %version-%release
-Requires:   libavfilter7 = %version-%release
-Requires:   libavformat58 = %version-%release
-Requires:   libavresample4 = %version-%release
-Requires:   libavutil56 = %version-%release
-Requires:   libpostproc55 = %version-%release
-Requires:   libswresample3 = %version-%release
-Requires:   libswscale5 = %version-%release
+Requires:   libavcodec58_91 = %version-%release
+Requires:   libavdevice58_10 = %version-%release
+Requires:   libavfilter7_85 = %version-%release
+Requires:   libavformat58_45 = %version-%release
+Requires:   libavresample4_0 = %version-%release
+Requires:   libavutil56_51 = %version-%release
+Requires:   libpostproc55_7 = %version-%release
+Requires:   libswresample3_7 = %version-%release
+Requires:   libswscale5_7 = %version-%release
 
 %description
 FFmpeg is a multimedia framework, able to decode, encode,
@@ -262,20 +256,21 @@
 This build of ffmpeg is limited in the number of codecs supported.
 %endif
 
-%package -n libavcodec58
+%package -n libavcodec58_91
 Summary:FFmpeg 

commit ffmpeg-4 for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-06-11 10:00:44

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3606 (New)


Package is "ffmpeg-4"

Thu Jun 11 10:00:44 2020 rev:29 rq:811904 version:4.2.3

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-06-03 
20:29:12.092567872 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3606/ffmpeg-4.changes  
2020-06-11 10:01:00.926448926 +0200
@@ -1,0 +2,8 @@
+Fri Jun  5 16:21:42 UTC 2020 - Bjørn Lie 
+
+- Update to version 4.2.3:
+  * Stable bug fix release, mainly codecs and format fixes.
+- Drop 0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch: Fixed
+  upstream.
+
+---

Old:

  0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch
  ffmpeg-4.2.2.tar.xz
  ffmpeg-4.2.2.tar.xz.asc

New:

  ffmpeg-4.2.3.tar.xz
  ffmpeg-4.2.3.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.bCXpwb/_old  2020-06-11 10:01:02.278453280 +0200
+++ /var/tmp/diff_new_pack.bCXpwb/_new  2020-06-11 10:01:02.286453306 +0200
@@ -92,7 +92,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.2.2
+Version:4.2.3
 Release:0
 Summary:Library for working with various multimedia formats
 License:GPL-3.0-or-later
@@ -118,7 +118,6 @@
 Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
 Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
 Patch9: 929e5159bc13da374b83f5627879c607acce180b.patch
-Patch10:0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ ffmpeg-4.2.2.tar.xz -> ffmpeg-4.2.3.tar.xz ++
/work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.2.2.tar.xz 
/work/SRC/openSUSE:Factory/.ffmpeg-4.new.3606/ffmpeg-4.2.3.tar.xz differ: char 
25, line 1




commit ffmpeg-4 for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-06-03 20:28:57

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3606 (New)


Package is "ffmpeg-4"

Wed Jun  3 20:28:57 2020 rev:28 rq:809841 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-05-13 
22:55:10.462902711 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3606/ffmpeg-4.changes  
2020-06-03 20:29:12.092567872 +0200
@@ -1,0 +2,5 @@
+Thu May 28 06:48:37 UTC 2020 - Jiri Slaby 
+
+- libfdk-aac is now .so.2, not .so.1.
+
+---



Other differences:
--
++ ffmpeg-4.2-dlopen-fdk_aac.patch ++
--- /var/tmp/diff_new_pack.vt0Ghz/_old  2020-06-03 20:29:12.896570316 +0200
+++ /var/tmp/diff_new_pack.vt0Ghz/_new  2020-06-03 20:29:12.900570328 +0200
@@ -69,7 +69,7 @@
 +#define aacDecoder_DecodeFrame dl_aacDecoder_DecodeFrame
 +#define aacDecoder_GetStreamInfo dl_aacDecoder_GetStreamInfo
 +#define aacDecoder_Close dl_aacDecoder_Close
-+#define FDKAAC_LIB "libfdk-aac.so.1"
++#define FDKAAC_LIB "libfdk-aac.so.2"
 +static int loadLibFdkAac(AVCodecContext *avctx);
 +static int loadLibFdkAac(AVCodecContext *avctx) {
 +  void *libfdkaac = NULL;
@@ -136,7 +136,7 @@
 +#define aacEncEncode dl_aacEncEncode
 +#define aacEncInfo dl_aacEncInfo
 +#define aacEncClose dl_aacEncClose
-+#define FDKAAC_LIB "libfdk-aac.so.1"
++#define FDKAAC_LIB "libfdk-aac.so.2"
 +
 +static int loadLibFdkAac(AVCodecContext *avctx);
 +static int loadLibFdkAac(AVCodecContext *avctx) {





commit ffmpeg-4 for openSUSE:Factory

2020-05-13 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-05-13 22:55:09

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.2738 (New)


Package is "ffmpeg-4"

Wed May 13 22:55:09 2020 rev:27 rq:802662 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-04-07 
10:24:16.766026475 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.2738/ffmpeg-4.changes  
2020-05-13 22:55:10.462902711 +0200
@@ -1,0 +2,16 @@
+Mon May 11 09:40:09 UTC 2020 - Jan Engelhardt 
+
+- Throw out v4l2 m2m. This is likely the same case as boo#1041794.
+
+---
+Thu Apr 30 18:00:28 UTC 2020 - Matwey Kornilov 
+
+- Enable v4l2 m2m encoders and decoders
+
+---
+Wed Apr 29 12:16:11 UTC 2020 - Jan Engelhardt 
+
+- Add 0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch
+  [boo#1170767]
+
+---

New:

  0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.Y4gstl/_old  2020-05-13 22:55:11.254904256 +0200
+++ /var/tmp/diff_new_pack.Y4gstl/_new  2020-05-13 22:55:11.258904264 +0200
@@ -118,6 +118,7 @@
 Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
 Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
 Patch9: 929e5159bc13da374b83f5627879c607acce180b.patch
+Patch10:0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ 0001-avcodec-cbs_jpeg-Check-length-for-SOS.patch ++
>From 1812352d767ccf5431aa440123e2e260a4db2726 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer 
Date: Sat, 7 Mar 2020 15:42:58 +0100
Subject: [PATCH] avcodec/cbs_jpeg: Check length for SOS

Fixes: out of array access
Fixes: 
19734/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5673507031875584
Fixes: 
19353/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5703944462663680

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
---
 libavcodec/cbs_jpeg.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/cbs_jpeg.c b/libavcodec/cbs_jpeg.c
index 6bbce5f89b..89512a26bb 100644
--- a/libavcodec/cbs_jpeg.c
+++ b/libavcodec/cbs_jpeg.c
@@ -197,6 +197,9 @@ static int cbs_jpeg_split_fragment(CodedBitstreamContext 
*ctx,
 if (marker == JPEG_MARKER_SOS) {
 length = AV_RB16(frag->data + start);
 
+if (length > end - start)
+return AVERROR_INVALIDDATA;
+
 data_ref = NULL;
 data = av_malloc(end - start +
  AV_INPUT_BUFFER_PADDING_SIZE);
-- 
2.26.2

++ enable_decoders ++
--- /var/tmp/diff_new_pack.Y4gstl/_old  2020-05-13 22:55:11.338904420 +0200
+++ /var/tmp/diff_new_pack.Y4gstl/_new  2020-05-13 22:55:11.338904420 +0200
@@ -30,15 +30,15 @@
 libvpx_vp8 # libvpx
 libvpx_vp9 # libvpx
 mjpeg # mjpegtools
-mpeg1video
-mpeg2video
-#mpeg4
 mp1 # twolame/lame
 mp1float # twolame/lame
 mp2 # twolame
 mp2float # twolame
 mp3 # lame
 mp3float # lame
+mpeg1video
+mpeg2video
+#mpeg4
 opus # libopus
 pam # trivial
 pbm # trivial
@@ -99,6 +99,7 @@
 vp9 # libvpx
 webp # libwebp
 webvtt # trivial
+wrapped_avframe # passthrough
 xbm # trivial
 xwd # xwd
 y41p # trivial

++ enable_encoders ++
--- /var/tmp/diff_new_pack.Y4gstl/_old  2020-05-13 22:55:11.362904467 +0200
+++ /var/tmp/diff_new_pack.Y4gstl/_new  2020-05-13 22:55:11.366904475 +0200
@@ -27,10 +27,10 @@
 libwebp
 libwebp_anim
 mjpeg # mjpegtools
-mpeg1video
-mpeg2video
 mp2 # twolame
 mp2fixed # twolame
+mpeg1video
+mpeg2video
 opus # opus
 pam
 pbm # trivial
@@ -78,6 +78,7 @@
 v410 # trivial
 vorbis # libvorbis
 webvtt # trivial
+wrapped_avframe # passthrough
 xbm # (X11)
 xwd # xwd
 y41p # trivial





commit ffmpeg-4 for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-04-07 10:24:10

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3248 (New)


Package is "ffmpeg-4"

Tue Apr  7 10:24:10 2020 rev:26 rq:790242 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-03-31 
17:32:44.080277681 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3248/ffmpeg-4.changes  
2020-04-07 10:24:16.766026475 +0200
@@ -1,0 +2,7 @@
+Fri Mar 31 00:41:22 UTC 2020 - Ismail Dönmez 
+
+- Add Samba support for Factory (as this needs a fix in Samba itself)
+  Add --enable-libsmbclient to configure, add BR on pkgconfig(smbclient)
+- License is now GPLv3+ by default (--enable-version3)
+  
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.665M3w/_old  2020-04-07 10:24:17.694027506 +0200
+++ /var/tmp/diff_new_pack.665M3w/_new  2020-04-07 10:24:17.698027510 +0200
@@ -60,6 +60,7 @@
 %bcond_without libaom
 %bcond_without mysofa
 %bcond_without vidstab
+%bcond_without smbclient
 %bcond_without srt
 %bcond_without codec2
 %bcond_without lv2
@@ -70,6 +71,7 @@
 %bcond_with libaom
 %bcond_with mysofa
 %bcond_with vidstab
+%bcond_with smbclient
 %bcond_with srt
 %bcond_with codec2
 %bcond_with lv2
@@ -93,7 +95,7 @@
 Version:4.2.2
 Release:0
 Summary:Library for working with various multimedia formats
-License:LGPL-2.1-or-later AND GPL-2.0-or-later
+License:GPL-3.0-or-later
 Group:  Productivity/Multimedia/Video/Editors and Convertors
 URL:https://ffmpeg.org/
 
@@ -177,6 +179,9 @@
 BuildRequires:  pkgconfig(rubberband)
 %endif
 BuildRequires:  pkgconfig(sdl2)
+%if %{with smbclient}
+BuildRequires:  pkgconfig(smbclient)
+%endif
 %if %{with soxr}
 BuildRequires:  pkgconfig(soxr)
 %endif
@@ -598,6 +603,10 @@
--enable-shared \
--disable-static \
--enable-gpl \
+   --enable-version3 \
+%if %{with smbclient}
+   --enable-libsmbclient \
+%endif
--disable-openssl \
--enable-avresample \
--enable-gnutls \
@@ -687,11 +696,9 @@
 %if %{with opencore}
--enable-libopencore-amrnb \
--enable-libopencore-amrwb \
-   --enable-version3 \
 %endif
 %if %{with amrwb}
--enable-libvo-amrwbenc \
-   --enable-version3 \
 %endif
 %if %{with x264}
--enable-libx264 \





commit ffmpeg-4 for openSUSE:Factory

2020-03-31 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-03-31 17:32:34

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3160 (New)


Package is "ffmpeg-4"

Tue Mar 31 17:32:34 2020 rev:25 rq:789667 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-03-06 
21:25:33.973491494 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.3160/ffmpeg-4.changes  
2020-03-31 17:32:44.080277681 +0200
@@ -1,0 +2,13 @@
+Mon Mar 30 07:14:39 UTC 2020 - Tomáš Chvátal 
+
+- Always build the binary ffmpeg-4 even on Leap releases boo#1167628:
+  * The conflicts in place should allow users to decide if they
+want to use ffmpeg from ffmpeg package or ffmpeg-4 from this
+package
+
+---
+Mon Mar 16 13:30:41 UTC 2020 - Andreas Schwab 
+
+- Add -ffat-lto-objects to _lto_cflags to fix configure checks
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.MCVT2N/_old  2020-03-31 17:32:45.140278302 +0200
+++ /var/tmp/diff_new_pack.MCVT2N/_new  2020-03-31 17:32:45.140278302 +0200
@@ -56,13 +56,6 @@
 %bcond_withx265
 %bcond_withxvid
 
-# Full build or just support package on older codestream
-%if 0%{?suse_version} > 1500
-%bcond_without full_build
-%else
-%bcond_with full_build
-%endif
-
 %if 0%{?suse_version} > 1500
 %bcond_without libaom
 %bcond_without mysofa
@@ -582,6 +575,9 @@
 %ifarch %ix86 %arm
 %define _lto_cflags %nil
 %endif
+%if "%_lto_cflags" != ""
+%global _lto_cflags %_lto_cflags -ffat-lto-objects
+%endif
 CFLAGS="%optflags" \
 %if %suse_version > 1500
 %ifarch %ix86
@@ -735,14 +731,10 @@
 %install
 b="%buildroot"
 %make_install install-man
-%if %{with full_build}
 rm -Rf "$b/%_datadir/ffmpeg/examples"
 for i in %extratools; do
cp -a "tools/$i" "$b/%_bindir/"
 done
-%else
-rm -Rf "$b/%_bindir" "$b/%_mandir/man1" "$b/%_datadir/ffmpeg"
-%endif
 
 # Install private headers required by libav-tools
 for i in libavformat/options_table.h libavformat/os_support.h \
@@ -773,13 +765,11 @@
 %post   -n libswscale5 -p /sbin/ldconfig
 %postun -n libswscale5 -p /sbin/ldconfig
 
-%if %{with full_build}
 %files
 %doc Changelog CREDITS README.md
 %_bindir/*
 %_mandir/man1/ff*.1*
 %_datadir/ffmpeg/
-%endif
 
 %files -n libavcodec58
 %license COPYING.GPLv2 LICENSE.md





commit ffmpeg-4 for openSUSE:Factory

2020-03-06 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-03-06 21:25:03

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.26092 (New)


Package is "ffmpeg-4"

Fri Mar  6 21:25:03 2020 rev:24 rq:781304 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-01-24 
14:20:49.934612344 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.26092/ffmpeg-4.changes 
2020-03-06 21:25:33.973491494 +0100
@@ -1,0 +2,6 @@
+Tue Mar  3 13:07:51 UTC 2020 - Bjørn Lie 
+
+- Enable libmfx support for SLE 15 SP2 and Leap 15.2 via
+  conditional, libmfx is available there too now.
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.ePsHZR/_old  2020-03-06 21:25:35.185492164 +0100
+++ /var/tmp/diff_new_pack.ePsHZR/_new  2020-03-06 21:25:35.189492166 +0100
@@ -207,7 +207,7 @@
 BuildRequires:  pkgconfig(xcb-xfixes)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
-%if 0%{?suse_version} >= 1550
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
 %ifarch x86_64
 BuildRequires:  pkgconfig(libmfx)
 %endif
@@ -677,7 +677,7 @@
 %if %{with lv2}
--enable-lv2 \
 %endif
-%if 0%{?suse_version} >= 1550
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
 %ifarch x86_64
--enable-libmfx \
 %endif





commit ffmpeg-4 for openSUSE:Factory

2020-01-24 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-01-24 14:20:48

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.26092 (New)


Package is "ffmpeg-4"

Fri Jan 24 14:20:48 2020 rev:23 rq:766154 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-01-12 
23:19:17.218703019 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.26092/ffmpeg-4.changes 
2020-01-24 14:20:49.934612344 +0100
@@ -1,0 +2,6 @@
+Tue Jan 21 18:15:48 UTC 2020 - Bjørn Lie 
+
+- Update to version 4.2.2:
+  * Stable bug fix release, mainly codecs and format fixes.
+
+---

Old:

  ffmpeg-4.2.1.tar.xz
  ffmpeg-4.2.1.tar.xz.asc

New:

  ffmpeg-4.2.2.tar.xz
  ffmpeg-4.2.2.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.xXhnBV/_old  2020-01-24 14:20:50.718612619 +0100
+++ /var/tmp/diff_new_pack.xXhnBV/_new  2020-01-24 14:20:50.718612619 +0100
@@ -97,7 +97,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.2.1
+Version:4.2.2
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later

++ ffmpeg-4.2.1.tar.xz -> ffmpeg-4.2.2.tar.xz ++
/work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.2.1.tar.xz 
/work/SRC/openSUSE:Factory/.ffmpeg-4.new.26092/ffmpeg-4.2.2.tar.xz differ: char 
27, line 1




commit ffmpeg-4 for openSUSE:Factory

2020-01-12 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-01-12 23:18:29

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.6675 (New)


Package is "ffmpeg-4"

Sun Jan 12 23:18:29 2020 rev:22 rq:762875 version:4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2020-01-02 
14:40:48.532899168 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.6675/ffmpeg-4.changes  
2020-01-12 23:19:17.218703019 +0100
@@ -1,0 +2,6 @@
+Fri Jan 10 15:00:38 UTC 2020 - Ismail Dönmez 
+
+- Add 929e5159bc13da374b83f5627879c607acce180b.patch to fix
+  bad ID3v2 tag length.
+
+---

New:

  929e5159bc13da374b83f5627879c607acce180b.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.uCy6bV/_old  2020-01-12 23:19:19.334703801 +0100
+++ /var/tmp/diff_new_pack.uCy6bV/_new  2020-01-12 23:19:19.338703803 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ffmpeg-4
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -102,7 +102,7 @@
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
 Group:  Productivity/Multimedia/Video/Editors and Convertors
-Url:https://ffmpeg.org/
+URL:https://ffmpeg.org/
 
 #Freshcode-URL:http://freshcode.club/projects/ffmpeg
 #Git-Clone: git://source.ffmpeg.org/ffmpeg
@@ -122,6 +122,7 @@
 # https://trac.ffmpeg.org/ticket/7861
 Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
 Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
+Patch9: 929e5159bc13da374b83f5627879c607acce180b.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ 929e5159bc13da374b83f5627879c607acce180b.patch ++
>From 929e5159bc13da374b83f5627879c607acce180b Mon Sep 17 00:00:00 2001
From: Gilles Bouthenot 
Date: Wed, 8 Jan 2020 19:47:55 +0100
Subject: [PATCH] avformat/id3v2enc: fix bad ID3v2 tag length

---
 libavformat/id3v2enc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: ffmpeg-4.2.1/libavformat/id3v2enc.c
===
--- ffmpeg-4.2.1.orig/libavformat/id3v2enc.c
+++ ffmpeg-4.2.1/libavformat/id3v2enc.c
@@ -268,15 +268,15 @@ static int write_ctoc(AVFormatContext *s
 if ((ret = avio_open_dyn_buf(_bc)) < 0)
 goto fail;
 
-id3->len += avio_put_str(dyn_bc, "toc");
+avio_put_str(dyn_bc, "toc");
 avio_w8(dyn_bc, 0x03);
 avio_w8(dyn_bc, s->nb_chapters);
 for (int i = 0; i < s->nb_chapters; i++) {
 snprintf(name, 122, "ch%d", i);
-id3->len += avio_put_str(dyn_bc, name);
+avio_put_str(dyn_bc, name);
 }
 len = avio_close_dyn_buf(dyn_bc, _buf);
-id3->len += 16 + ID3v2_HEADER_SIZE;
+id3->len += len + ID3v2_HEADER_SIZE;
 
 avio_wb32(s->pb, MKBETAG('C', 'T', 'O', 'C'));
 avio_wb32(s->pb, len);
++ ffmpeg-4.2-dlopen-fdk_aac.patch ++
--- /var/tmp/diff_new_pack.uCy6bV/_old  2020-01-12 23:19:19.406703828 +0100
+++ /var/tmp/diff_new_pack.uCy6bV/_new  2020-01-12 23:19:19.406703828 +0100
@@ -1,7 +1,7 @@
-Index: ffmpeg-4.2/configure
+Index: ffmpeg-4.2.1/configure
 ===
 ffmpeg-4.2.orig/configure
-+++ ffmpeg-4.2/configure
+--- ffmpeg-4.2.1.orig/configure
 ffmpeg-4.2.1/configure
 @@ -232,6 +232,7 @@ External library support:
--enable-libdc1394   enable IIDC-1394 grabbing using libdc1394
 and libraw1394 [no]
@@ -26,10 +26,10 @@
  flite_extralibs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal 
-lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish 
-lflite_cmulex -lflite"
  enabled libflite  && require libflite "flite/flite.h" flite_init 
$flite_extralibs
  enabled fontconfig&& enable libfontconfig
-Index: ffmpeg-4.2/libavcodec/dlopen.h
+Index: ffmpeg-4.2.1/libavcodec/dlopen.h
 ===
 --- /dev/null
-+++ ffmpeg-4.2/libavcodec/dlopen.h
 ffmpeg-4.2.1/libavcodec/dlopen.h
 @@ -0,0 +1,12 @@
 +#ifndef LOCALINC_DLOPEN_H
 +#define LOCALINC_DLOPEN_H
@@ -43,10 +43,10 @@
 +  goto error;
 +
 +#endif
-Index: ffmpeg-4.2/libavcodec/libfdk-aacdec.c
+Index: ffmpeg-4.2.1/libavcodec/libfdk-aacdec.c
 

commit ffmpeg-4 for openSUSE:Factory

2020-01-02 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2020-01-02 14:40:43

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.6675 (New)


Package is "ffmpeg-4"

Thu Jan  2 14:40:43 2020 rev:21 rq:760194 version:4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-09-25 
01:56:42.253588357 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.6675/ffmpeg-4.changes  
2020-01-02 14:40:48.532899168 +0100
@@ -1,0 +2,5 @@
+Mon Dec 30 17:39:01 UTC 2019 - Stefan Brüns 
+
+- Drop unused liboil BuildRequires.
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.O9eYD5/_old  2020-01-02 14:40:49.220899440 +0100
+++ /var/tmp/diff_new_pack.O9eYD5/_new  2020-01-02 14:40:49.220899440 +0100
@@ -156,7 +156,6 @@
 BuildRequires:  pkgconfig(libdc1394-2)
 BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libgme)
-BuildRequires:  pkgconfig(liboil-0.3) >= 0.3.15
 BuildRequires:  pkgconfig(libopenjp2) >= 2.1.0
 BuildRequires:  pkgconfig(libopenjpeg)
 %if %{with openmpt}





commit ffmpeg-4 for openSUSE:Factory

2019-09-24 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-09-25 01:56:38

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.7948 (New)


Package is "ffmpeg-4"

Wed Sep 25 01:56:38 2019 rev:20 rq:732021 version:4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-09-19 
15:47:19.803336154 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.7948/ffmpeg-4.changes  
2019-09-25 01:56:42.253588357 +0200
@@ -1,0 +2,8 @@
+Wed Sep 18 20:08:06 UTC 2019 - Bjørn Lie 
+
+- Update to version 4.2.1:
+  * Stable bug fix release, mainly codecs and format fixes.
+- Drop upstream fixed patch:
+  0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch
+
+---

Old:

  0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch
  ffmpeg-4.2.tar.xz
  ffmpeg-4.2.tar.xz.asc

New:

  ffmpeg-4.2.1.tar.xz
  ffmpeg-4.2.1.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.azUjGD/_old  2019-09-25 01:56:43.033588255 +0200
+++ /var/tmp/diff_new_pack.azUjGD/_new  2019-09-25 01:56:43.033588255 +0200
@@ -26,17 +26,17 @@
 %define comparator %{-c:%{-c*}}%{!-c:%{error:Comparator not defined}} \
 %define conflicts_version %{-v:%{-v*}}%{!-v:%{error:Version not defined}} \
 \
-%{preamble_string} libavcodec-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libavdevice-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libavfilter-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libavformat-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libavresample-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libavutil-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libpostproc-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libswresample-devel %{comparator} %{conflicts_version} \
-%{preamble_string} libswscale-devel %{comparator} %{conflicts_version} \
-%{preamble_string} ffmpeg-private-devel %{comparator} %{conflicts_version} \
-%{nil}
+%preamble_string libavcodec-devel %comparator %conflicts_version \
+%preamble_string libavdevice-devel %comparator %conflicts_version \
+%preamble_string libavfilter-devel %comparator %conflicts_version \
+%preamble_string libavformat-devel %comparator %conflicts_version \
+%preamble_string libavresample-devel %comparator %conflicts_version \
+%preamble_string libavutil-devel %comparator %conflicts_version \
+%preamble_string libpostproc-devel %comparator %conflicts_version \
+%preamble_string libswresample-devel %comparator %conflicts_version \
+%preamble_string libswscale-devel %comparator %conflicts_version \
+%preamble_string ffmpeg-private-devel %comparator %conflicts_version \
+%nil
 
 # nvcodec headers only present after leap15
 %bcond_with nvcodec
@@ -97,7 +97,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.2
+Version:4.2.1
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -122,7 +122,6 @@
 # https://trac.ffmpeg.org/ticket/7861
 Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
 Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
-Patch9: 0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
@@ -242,8 +241,8 @@
 %if %{with x265}
 BuildRequires:  pkgconfig(x265)
 %endif
-Provides:   ffmpeg-tools = %{version}
-Obsoletes:  ffmpeg-tools < %{version}
+Provides:   ffmpeg-tools = %version
+Obsoletes:  ffmpeg-tools < %version
 Provides:   ffmpeg = %version
 Obsoletes:  ffmpeg < %version
 Requires:   libavcodec58 = %version-%release
@@ -292,11 +291,11 @@
 Group:  Development/Libraries/C and C++
 Provides:   libavcodec-devel = %version-%release
 Obsoletes:  libavcodec-devel < %version-%release
-Requires:   %{name}-libavresample-devel = %version-%release
-Requires:   %{name}-libavutil-devel = %version-%release
+Requires:   %name-libavresample-devel = %version-%release
+Requires:   %name-libavutil-devel = %version-%release
 Requires:   libavcodec58 = %version-%release
-%devel_conflicts -c < -v %{_major_version}
-%devel_conflicts -c >= -v %{_major_expected}
+%devel_conflicts -c < -v %_major_version
+%devel_conflicts -c >= -v %_major_expected
 
 %description libavcodec-devel
 The libavcodec library provides a generic encoding/decoding framework
@@ -326,17 +325,17 @@
 Conflicts:   

commit ffmpeg-4 for openSUSE:Factory

2019-09-19 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-09-19 15:47:08

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.7948 (New)


Package is "ffmpeg-4"

Thu Sep 19 15:47:08 2019 rev:19 rq:729720 version:4.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-08-27 
15:23:21.568781279 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.7948/ffmpeg-4.changes  
2019-09-19 15:47:19.803336154 +0200
@@ -1,0 +2,11 @@
+Tue Sep 10 08:30:36 UTC 2019 - Jan Engelhardt 
+
+- Add 0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch
+  [boo#1149839, CVE-2019-15942]
+
+---
+Wed Sep  4 12:05:35 UTC 2019 - Ismail Dönmez 
+
+- Make ffmpeg-4.2-dlopen-fdk_aac.patch less verbose
+
+---

New:

  0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.vJ03F2/_old  2019-09-19 15:47:22.199335667 +0200
+++ /var/tmp/diff_new_pack.vJ03F2/_new  2019-09-19 15:47:22.203335666 +0200
@@ -122,6 +122,7 @@
 # https://trac.ffmpeg.org/ticket/7861
 Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
 Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
+Patch9: 0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ 0001-avcodec-h2645_parse-zero-initialize-the-rbsp-buffer.patch ++
>From af70bfbeadc0c9b9215cf045ff2a6a31e8ac3a71 Mon Sep 17 00:00:00 2001
From: James Almer 
Date: Mon, 26 Aug 2019 00:54:20 -0300
Subject: [PATCH] avcodec/h2645_parse: zero initialize the rbsp buffer

Fixes ticket #8093

Reviewed-by: Andreas Rheinhardt 
Signed-off-by: James Almer 
---
 libavcodec/h2645_parse.c | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
index 24658b3dfa..307e8643e6 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -345,13 +345,18 @@ static int find_next_start_code(const uint8_t *buf, const 
uint8_t *next_avc)
 
 static void alloc_rbsp_buffer(H2645RBSP *rbsp, unsigned int size, int use_ref)
 {
+int min_size = size;
+
 if (size > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE)
 goto fail;
 size += AV_INPUT_BUFFER_PADDING_SIZE;
 
 if (rbsp->rbsp_buffer_alloc_size >= size &&
-(!rbsp->rbsp_buffer_ref || 
av_buffer_is_writable(rbsp->rbsp_buffer_ref)))
+(!rbsp->rbsp_buffer_ref || 
av_buffer_is_writable(rbsp->rbsp_buffer_ref))) {
+av_assert0(rbsp->rbsp_buffer);
+memset(rbsp->rbsp_buffer + min_size, 0, AV_INPUT_BUFFER_PADDING_SIZE);
 return;
+}
 
 size = FFMIN(size + size / 16 + 32, INT_MAX);
 
@@ -360,7 +365,7 @@ static void alloc_rbsp_buffer(H2645RBSP *rbsp, unsigned int 
size, int use_ref)
 else
 av_free(rbsp->rbsp_buffer);
 
-rbsp->rbsp_buffer = av_malloc(size);
+rbsp->rbsp_buffer = av_mallocz(size);
 if (!rbsp->rbsp_buffer)
 goto fail;
 rbsp->rbsp_buffer_alloc_size = size;
-- 
2.23.0

++ ffmpeg-4.2-dlopen-fdk_aac.patch ++
--- /var/tmp/diff_new_pack.vJ03F2/_old  2019-09-19 15:47:22.363335634 +0200
+++ /var/tmp/diff_new_pack.vJ03F2/_new  2019-09-19 15:47:22.367335633 +0200
@@ -30,7 +30,7 @@
 ===
 --- /dev/null
 +++ ffmpeg-4.2/libavcodec/dlopen.h
-@@ -0,0 +1,13 @@
+@@ -0,0 +1,12 @@
 +#ifndef LOCALINC_DLOPEN_H
 +#define LOCALINC_DLOPEN_H
 +#include 
@@ -38,7 +38,6 @@
 +#define str(x) #x
 +
 +#define dl_sym(func, args, lib) \
-+  fprintf(stderr, "dlsym " #func "\n"); \
 +  dl_##func = args dlsym(lib, #func); \
 +  if ((err = dlerror())) \
 +  goto error;





commit ffmpeg-4 for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-08-27 15:23:16

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.7948 (New)


Package is "ffmpeg-4"

Tue Aug 27 15:23:16 2019 rev:18 rq:725249 version:4.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-08-16 
15:30:43.161959748 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.7948/ffmpeg-4.changes  
2019-08-27 15:23:21.568781279 +0200
@@ -1,0 +2,19 @@
+Thu Aug 22 08:45:17 UTC 2019 - Ismail Dönmez 
+
+- Rename ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+  to ffmpeg-4.2-dlopen-fdk_aac.patch since we need dlopen only
+  for fdk_aac and looks like some other parts of the patch is
+  buggy.
+
+---
+Thu Aug 22 06:42:57 UTC 2019 - Ismail Dönmez 
+
+- Sync ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+  from upstream.
+
+---
+Sun Aug 18 09:43:38 UTC 2019 - Bjørn Lie 
+
+- Disable LTO for arm, fixes build.
+
+---

Old:

  ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch

New:

  ffmpeg-4.2-dlopen-fdk_aac.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.NybmXm/_old  2019-08-27 15:23:22.364780879 +0200
+++ /var/tmp/diff_new_pack.NybmXm/_new  2019-08-27 15:23:22.368780877 +0200
@@ -116,8 +116,7 @@
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
 Patch5: ffmpeg-prefer-dav1d-for-playback.patch
-# 
https://github.com/OpenMandrivaAssociation/ffmpeg/blob/master/ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
-Patch6: ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+Patch6: ffmpeg-4.2-dlopen-fdk_aac.patch
 # pending review upstream ML and issue#7861
 # http://ffmpeg.org/pipermail/ffmpeg-devel/2019-August/247759.html
 # https://trac.ffmpeg.org/ticket/7861
@@ -580,7 +579,7 @@
 %autopatch -p1
 
 %build
-%ifarch %ix86
+%ifarch %ix86 %arm
 %define _lto_cflags %{nil}
 %endif
 CFLAGS="%optflags" \

++ ffmpeg-4.2-dlopen-fdk_aac.patch ++
Index: ffmpeg-4.2/configure
===
--- ffmpeg-4.2.orig/configure
+++ ffmpeg-4.2/configure
@@ -232,6 +232,7 @@ External library support:
   --enable-libdc1394   enable IIDC-1394 grabbing using libdc1394
and libraw1394 [no]
   --enable-libfdk-aac  enable AAC de/encoding via libfdk-aac [no]
+  --enable-libfdk-aac-dlopen enable AAC de/encoding via dlopen()'ed libfdk-aac 
[no]
   --enable-libfliteenable flite (voice synthesis) support via libflite 
[no]
   --enable-libfontconfig   enable libfontconfig, useful for drawtext filter 
[no]
   --enable-libfreetype enable libfreetype, needed for drawtext filter [no]
@@ -1724,6 +1725,7 @@ EXTERNAL_LIBRARY_GPL_LIST="
 EXTERNAL_LIBRARY_NONFREE_LIST="
 decklink
 libfdk_aac
+libfdk_aac_dlopen
 openssl
 libtls
 "
@@ -6203,6 +6205,7 @@ enabled libdrm&& require_pkg
 enabled libfdk_aac&& { check_pkg_config libfdk_aac fdk-aac 
"fdk-aac/aacenc_lib.h" aacEncOpen ||
{ require libfdk_aac fdk-aac/aacenc_lib.h 
aacEncOpen -lfdk-aac &&
  warn "using libfdk without pkg-config"; } }
+enabled libfdk_aac_dlopen && enable libfdk_aac && add_cppflags 
"-I/usr/include/fdk-aac"
 flite_extralibs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal 
-lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish 
-lflite_cmulex -lflite"
 enabled libflite  && require libflite "flite/flite.h" flite_init 
$flite_extralibs
 enabled fontconfig&& enable libfontconfig
Index: ffmpeg-4.2/libavcodec/dlopen.h
===
--- /dev/null
+++ ffmpeg-4.2/libavcodec/dlopen.h
@@ -0,0 +1,13 @@
+#ifndef LOCALINC_DLOPEN_H
+#define LOCALINC_DLOPEN_H
+#include 
+#define num2str(x) str(x)
+#define str(x) #x
+
+#define dl_sym(func, args, lib) \
+   fprintf(stderr, "dlsym " #func "\n"); \
+   dl_##func = args dlsym(lib, #func); \
+   if ((err = dlerror())) \
+   goto error;
+
+#endif
Index: ffmpeg-4.2/libavcodec/libfdk-aacdec.c
===
--- ffmpeg-4.2.orig/libavcodec/libfdk-aacdec.c
+++ ffmpeg-4.2/libavcodec/libfdk-aacdec.c
@@ -37,6 +37,54 @@
 #define AAC_PCM_MAX_OUTPUT_CHANNELS AAC_PCM_OUTPUT_CHANNELS
 #endif
 
+#ifdef 

commit ffmpeg-4 for openSUSE:Factory

2019-08-16 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-08-16 15:30:39

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.22127 (New)


Package is "ffmpeg-4"

Fri Aug 16 15:30:39 2019 rev:17 rq:723353 version:4.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-08-07 
13:55:21.824856861 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.22127/ffmpeg-4.changes 
2019-08-16 15:30:43.161959748 +0200
@@ -1,0 +2,14 @@
+Wed Aug 14 15:39:22 UTC 2019 - Michel Normand 
+
+- avoid ppc64le build error upstream issue
+  https://trac.ffmpeg.org/ticket/7861
+  Add ffmpeg4_swscale_replace_illegal_vector_keyword.patch
+  Add ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
+
+---
+Mon Aug 12 16:51:30 UTC 2019 - Bjørn Lie 
+
+- Add ffmpeg-prefer-dav1d-for-playback.patch: Prefer using dav1d
+  for av1 playback over libaom.
+
+---

New:

  ffmpeg-prefer-dav1d-for-playback.patch
  ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
  ffmpeg4_swscale_replace_illegal_vector_keyword.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.Lvk5or/_old  2019-08-16 15:30:44.809959269 +0200
+++ /var/tmp/diff_new_pack.Lvk5or/_new  2019-08-16 15:30:44.817959266 +0200
@@ -115,8 +115,14 @@
 Patch2: ffmpeg-arm6l.diff
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
+Patch5: ffmpeg-prefer-dav1d-for-playback.patch
 # 
https://github.com/OpenMandrivaAssociation/ffmpeg/blob/master/ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
 Patch6: ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+# pending review upstream ML and issue#7861
+# http://ffmpeg.org/pipermail/ffmpeg-devel/2019-August/247759.html
+# https://trac.ffmpeg.org/ticket/7861
+Patch7: ffmpeg4_swscale_replace_illegal_vector_keyword.patch
+Patch8: ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel


++ ffmpeg-prefer-dav1d-for-playback.patch ++
--- ffmpeg/libavcodec/allcodecs.c   2019-03-18 20:18:37.438255620 +0100
+++ ffmpeg-patched/libavcodec/allcodecs.c   2019-03-18 21:35:10.699559247 
+0100
@@ -675,13 +675,13 @@
 extern AVCodec ff_pcm_mulaw_at_decoder;
 extern AVCodec ff_qdmc_at_decoder;
 extern AVCodec ff_qdm2_at_decoder;
+extern AVCodec ff_libdav1d_decoder;
 extern AVCodec ff_libaom_av1_decoder;
 extern AVCodec ff_libaom_av1_encoder;
 extern AVCodec ff_libaribb24_decoder;
 extern AVCodec ff_libcelt_decoder;
 extern AVCodec ff_libcodec2_encoder;
 extern AVCodec ff_libcodec2_decoder;
-extern AVCodec ff_libdav1d_decoder;
 extern AVCodec ff_libdavs2_decoder;
 extern AVCodec ff_libfdk_aac_encoder;
 extern AVCodec ff_libfdk_aac_decoder;

++ ffmpeg4_swscale_fix_altivec_vsx_recent_gcc.patch ++
>From daniel at octaforge.org  Tue Aug  6 18:55:37 2019
From: daniel at octaforge.org (Daniel Kolesa)
Date: Tue,  6 Aug 2019 17:55:37 +0200
Subject: [FFmpeg-devel] [PATCH 2/2] swscale: Fix AltiVec/VSX build with
recent GCC
In-Reply-To: <20190806155537.25535-1-dan...@octaforge.org>
References: <20190806155537.25535-1-dan...@octaforge.org>
Message-ID: <20190806155537.25535-3-dan...@octaforge.org>

The argument to vec_splat_u16 must be a literal. By making the
function always inline and marking the arguments const, gcc can
turn those into literals, and avoid build errors like:

swscale_vsx.c:165:53: error: argument 1 must be a 5-bit signed literal

Signed-off-by: Daniel Kolesa 
---
 libswscale/ppc/swscale_vsx.c |   12 
 1 file changed, 8 insertions(+), 4 deletions(-)

Index: ffmpeg-4.2/libswscale/ppc/swscale_vsx.c
===
--- ffmpeg-4.2.orig/libswscale/ppc/swscale_vsx.c
+++ ffmpeg-4.2/libswscale/ppc/swscale_vsx.c
@@ -154,8 +154,10 @@ static void yuv2plane1_nbps_u(const int1
 }
 }
 
-static void yuv2plane1_nbps_vsx(const int16_t *src, uint16_t *dest, int dstW,
-   int big_endian, int output_bits)
+static av_always_inline void yuv2plane1_nbps_vsx(const int16_t *src,
+ uint16_t *dest, int dstW,
+ const int big_endian,
+ const int output_bits)
 {
 const int dst_u = -(uintptr_t)dest & 7;
 const int shift = 15 - output_bits;
@@ -273,8 +275,10 @@ static void yuv2plane1_16_u(const int32_
 }
 }
 
-static 

commit ffmpeg-4 for openSUSE:Factory

2019-08-07 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-08-07 13:55:16

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.9556 (New)


Package is "ffmpeg-4"

Wed Aug  7 13:55:16 2019 rev:16 rq:721323 version:4.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-07-08 
15:05:29.426939656 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.9556/ffmpeg-4.changes  
2019-08-07 13:55:21.824856861 +0200
@@ -1,0 +2,56 @@
+Tue Aug  6 15:35:35 UTC 2019 - Ismail Dönmez 
+
+- Update to FFmpeg 4.2 "Ada"
+  * tpad filter
+  * AV1 decoding support through libdav1d
+  * dedot filter
+  * chromashift and rgbashift filters
+  * freezedetect filter
+  * truehd_core bitstream filter
+  * dhav demuxer
+  * PCM-DVD encoder
+  * GIF parser
+  * vividas demuxer
+  * hymt decoder
+  * anlmdn filter
+  * maskfun filter
+  * hcom demuxer and decoder
+  * ARBC decoder
+  * libaribb24 based ARIB STD-B24 caption support (profiles A and C)
+  * Support decoding of HEVC 4:4:4 content in nvdec and cuviddec
+  * removed libndi-newtek
+  * agm decoder
+  * KUX demuxer
+  * AV1 frame split bitstream filter
+  * lscr decoder
+  * lagfun filter
+  * asoftclip filter
+  * Support decoding of HEVC 4:4:4 content in vdpau
+  * colorhold filter
+  * xmedian filter
+  * asr filter
+  * showspatial multimedia filter
+  * VP4 video decoder
+  * IFV demuxer
+  * derain filter
+  * deesser filter
+  * mov muxer writes tracks with unspecified language instead
+of English by default
+  * added support for using clang to compile CUDA kernels
+- Drop ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch, merged
+  upstream.
+- Rebase and rename
+  ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+  to
+  ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+- See /usr/share/doc/packages/ffmpeg-4/Changelog for the complete
+  changelog.
+
+---
+Wed Jul 31 13:27:44 UTC 2019 - Ismail Dönmez 
+
+- Update to version 4.1.4
+  * See /usr/share/doc/packages/ffmpeg-4/Changelog for the complete
+changelog.
+
+---

Old:

  ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
  ffmpeg-4.1.3.tar.xz
  ffmpeg-4.1.3.tar.xz.asc
  ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch

New:

  ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
  ffmpeg-4.2.tar.xz
  ffmpeg-4.2.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.SfeT0r/_old  2019-08-07 13:55:23.236856846 +0200
+++ /var/tmp/diff_new_pack.SfeT0r/_new  2019-08-07 13:55:23.240856846 +0200
@@ -97,7 +97,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.1.3
+Version:4.2
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -115,10 +115,8 @@
 Patch2: ffmpeg-arm6l.diff
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
-# dav1d added https://patchwork.ffmpeg.org/patch/10843/
-Patch6: ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch
 # 
https://github.com/OpenMandrivaAssociation/ffmpeg/blob/master/ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
-Patch7: ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+Patch6: ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch -> 
ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch ++
--- 
/work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
2019-07-08 15:05:29.354939547 +0200
+++ 
/work/SRC/openSUSE:Factory/.ffmpeg-4.new.9556/ffmpeg-4.2-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
  2019-08-07 13:55:20.248856879 +0200
@@ -1,8 +1,8 @@
-Index: ffmpeg-4.1.3/configure
+Index: ffmpeg-4.2/configure
 ===
 ffmpeg-4.1.3.orig/configure
-+++ ffmpeg-4.1.3/configure
-@@ -231,6 +231,7 @@ External library support:
+--- ffmpeg-4.2.orig/configure
 ffmpeg-4.2/configure
+@@ -232,6 +232,7 @@ External library support:
--enable-libdc1394   enable IIDC-1394 grabbing using libdc1394
 and libraw1394 [no]
--enable-libfdk-aac  enable AAC de/encoding via libfdk-aac [no]
@@ -10,7 +10,7 @@
--enable-libfliteenable flite (voice 

commit ffmpeg-4 for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-07-08 15:05:28

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.4615 (New)


Package is "ffmpeg-4"

Mon Jul  8 15:05:28 2019 rev:15 rq:713763 version:4.1.3

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-06-24 
21:49:09.699910507 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.4615/ffmpeg-4.changes  
2019-07-08 15:05:29.426939656 +0200
@@ -1,0 +2,15 @@
+Sat Jul  6 21:43:04 UTC 2019 - Bjørn Lie 
+
+- Add pkgconfig(libva-drm), pkgconfig(libva-x11) BuildRequires: and
+  conditional pkgconfig(libmfx) BuildRequires: Build intel-mediasdk
+  support when possible.
+
+---
+Tue Jul  2 09:04:55 UTC 2019 - Ismail Dönmez 
+
+- Add back pkgconfig(fdk-aac) BuildRequires since we still need
+  the headers at compile time.
+- Fix include paths in
+  ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.O9em1j/_old  2019-07-08 15:05:31.610942958 +0200
+++ /var/tmp/diff_new_pack.O9em1j/_new  2019-07-08 15:05:31.646943013 +0200
@@ -165,6 +165,8 @@
 BuildRequires:  pkgconfig(libssh)
 BuildRequires:  pkgconfig(libv4l2)
 BuildRequires:  pkgconfig(libva) >= 0.35.0
+BuildRequires:  pkgconfig(libva-drm)
+BuildRequires:  pkgconfig(libva-x11)
 BuildRequires:  pkgconfig(libwebp) >= 0.4
 BuildRequires:  pkgconfig(libxml-2.0)
 %if %{with zmq}
@@ -202,11 +204,19 @@
 BuildRequires:  pkgconfig(xcb-xfixes)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
+%if 0%{?suse_version} >= 1550
+%ifarch x86_64
+BuildRequires:  pkgconfig(libmfx)
+%endif
+%endif
 %if %{with zimg}
 BuildRequires:  pkgconfig(zimg)
 %endif
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  pkgconfig(zvbi-0.2) >= 0.2.28
+%if %{with fdk_aac_dlopen}
+BuildRequires:  pkgconfig(fdk-aac)
+%endif
 %if %{with librtmp}
 BuildRequires:  pkgconfig(librtmp)
 %endif
@@ -664,6 +674,11 @@
 %if %{with lv2}
--enable-lv2 \
 %endif
+%if 0%{?suse_version} >= 1550
+%ifarch x86_64
+   --enable-libmfx \
+%endif
+%endif
--enable-vaapi \
--enable-vdpau \
 %if %{with fdk_aac_dlopen}

++ ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch ++
--- /var/tmp/diff_new_pack.O9em1j/_old  2019-07-08 15:05:32.490944289 +0200
+++ /var/tmp/diff_new_pack.O9em1j/_new  2019-07-08 15:05:32.514944325 +0200
@@ -83,7 +83,7 @@
  enabled libfdk_aac&& { check_pkg_config libfdk_aac fdk-aac 
"fdk-aac/aacenc_lib.h" aacEncOpen ||
 { require libfdk_aac fdk-aac/aacenc_lib.h 
aacEncOpen -lfdk-aac &&
   warn "using libfdk without pkg-config"; } }
-+enabled libfdk_aac_dlopen && enable libfdk_aac && add_cppflags "-I$(dirname 
`readlink -f $0`)/localinc"
++enabled libfdk_aac_dlopen && enable libfdk_aac && add_cppflags 
"-I/usr/include/fdk-aac"
  flite_extralibs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal 
-lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish 
-lflite_cmulex -lflite"
  enabled libflite  && require libflite "flite/flite.h" flite_init 
$flite_extralibs
  enabled fontconfig&& enable libfontconfig
@@ -91,16 +91,16 @@
 { require libmfx "mfx/mfxvideo.h" MFXInit 
"-llibmfx $advapi32_extralibs" && warn "using libmfx without pkg-config"; } }
  enabled libmodplug&& require_pkg_config libmodplug libmodplug 
libmodplug/modplug.h ModPlug_Load
  enabled libmp3lame&& require "libmp3lame >= 3.98.3" lame/lame.h 
lame_set_VBR_quality -lmp3lame $libm_extralibs
-+enabled libmp3lame_dlopen && enable libmp3lame && add_cppflags "-I$(dirname 
`readlink -f $0`)/localinc"
++enabled libmp3lame_dlopen && enable libmp3lame && add_cppflags 
"-I/usr/include/lame"
  enabled libmysofa && { check_pkg_config libmysofa libmysofa mysofa.h 
mysofa_load ||
 require libmysofa mysofa.h mysofa_load 
-lmysofa $zlib_extralibs; }
  enabled libnpp&& { check_lib libnpp npp.h nppGetLibVersion 
-lnppig -lnppicc -lnppc -lnppidei ||
 check_lib libnpp npp.h nppGetLibVersion -lnppi 
-lnppc -lnppidei ||
 die "ERROR: libnpp not found"; }
  enabled libopencore_amrnb && require libopencore_amrnb 
opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
-+enabled libopencore_amrnb_dlopen && enable libopencore_amrnb && add_cppflags 
"-I$(dirname `readlink -f 

commit ffmpeg-4 for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-06-24 21:49:08

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.4615 (New)


Package is "ffmpeg-4"

Mon Jun 24 21:49:08 2019 rev:14 rq:709184 version:4.1.3

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-05-17 
23:37:37.598094722 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.4615/ffmpeg-4.changes  
2019-06-24 21:49:09.699910507 +0200
@@ -1,0 +2,10 @@
+Tue Jun 11 11:12:43 UTC 2019 - Ismail Dönmez 
+
+- Add ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+  from OpenMandriva to optionally enable runtime enabling of
+  fdkaac/lame/x264/x265
+- Enable runtime enabling for fdkaac via --enable-libfdk-aac-dlopen
+- Rename bcond fdk_aac to fdk_aac_dlopen
+- Remove fdk-aac BuildRequires now it's only dlopen'd
+
+---

New:

  ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.3HWoet/_old  2019-06-24 21:49:12.271912495 +0200
+++ /var/tmp/diff_new_pack.3HWoet/_new  2019-06-24 21:49:12.303912520 +0200
@@ -49,7 +49,7 @@
 %else
 %bcond_with cuda_sdk
 %endif
-%bcond_withfdk_aac
+%bcond_withfdk_aac_dlopen
 %bcond_withlibrtmp
 %bcond_withopencore
 %bcond_withx264
@@ -117,6 +117,8 @@
 Patch4: ffmpeg-codec-choice.diff
 # dav1d added https://patchwork.ffmpeg.org/patch/10843/
 Patch6: ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch
+# 
https://github.com/OpenMandrivaAssociation/ffmpeg/blob/master/ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
+Patch7: ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
@@ -205,9 +207,6 @@
 %endif
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  pkgconfig(zvbi-0.2) >= 0.2.28
-%if %{with fdk_aac}
-BuildRequires:  pkgconfig(fdk-aac)
-%endif
 %if %{with librtmp}
 BuildRequires:  pkgconfig(librtmp)
 %endif
@@ -667,8 +666,8 @@
 %endif
--enable-vaapi \
--enable-vdpau \
-%if %{with fdk_aac}
-   --enable-libfdk_aac \
+%if %{with fdk_aac_dlopen}
+   --enable-libfdk-aac-dlopen \
--enable-nonfree \
 %endif
 %if %{with opencore}

++ ffmpeg-4.1-dlopen-faac-mp3lame-opencore-x264-x265-xvid.patch ++
 865 lines (skipped)


++ ffmpeg-arm6l.diff ++
--- /var/tmp/diff_new_pack.3HWoet/_old  2019-06-24 21:49:13.407913373 +0200
+++ /var/tmp/diff_new_pack.3HWoet/_new  2019-06-24 21:49:13.427913388 +0200
@@ -2,10 +2,10 @@
  libavutil/arm/timer.h |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: ffmpeg-3.0.1/libavutil/arm/timer.h
+Index: ffmpeg-4.1.3/libavutil/arm/timer.h
 ===
 ffmpeg-3.0.1.orig/libavutil/arm/timer.h
-+++ ffmpeg-3.0.1/libavutil/arm/timer.h
+--- ffmpeg-4.1.3.orig/libavutil/arm/timer.h
 ffmpeg-4.1.3/libavutil/arm/timer.h
 @@ -24,7 +24,7 @@
  #include 
  #include "config.h"

++ ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch ++
--- /var/tmp/diff_new_pack.3HWoet/_old  2019-06-24 21:49:13.591913515 +0200
+++ /var/tmp/diff_new_pack.3HWoet/_new  2019-06-24 21:49:13.615913534 +0200
@@ -1,7 +1,7 @@
-diff --git a/configure b/configure
-index 01c3a1011d..e56b925065 100755
 a/configure
-+++ b/configure
+Index: ffmpeg-4.1.3/configure
+===
+--- ffmpeg-4.1.3.orig/configure
 ffmpeg-4.1.3/configure
 @@ -226,6 +226,7 @@ External library support:
--enable-libcelt enable CELT decoding via libcelt [no]
--enable-libcdio enable audio CD grabbing with libcdio [no]
@@ -18,7 +18,7 @@
  libdc1394
  libdrm
  libflite
-@@ -3088,6 +3090,7 @@ libaom_av1_encoder_select="extract_extradata_bsf"
+@@ -3091,6 +3093,7 @@ libaom_av1_encoder_select="extract_extra
  libcelt_decoder_deps="libcelt"
  libcodec2_decoder_deps="libcodec2"
  libcodec2_encoder_deps="libcodec2"
@@ -26,7 +26,7 @@
  libdavs2_decoder_deps="libdavs2"
  libfdk_aac_decoder_deps="libfdk_aac"
  libfdk_aac_encoder_deps="libfdk_aac"
-@@ -6064,6 +6067,7 @@ enabled libcelt   && require libcelt celt/celt.h 
celt_decode -lcelt0 &&
+@@ -6069,6 +6072,7 @@ enabled libcelt   && require lib
 die "ERROR: libcelt must be installed and 
version must be >= 0.11.0."; }
  enabled libcaca   && require_pkg_config libcaca caca caca.h 
caca_create_canvas
  enabled libcodec2 && require libcodec2 codec2/codec2.h 

commit ffmpeg-4 for openSUSE:Factory

2019-05-17 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-05-17 23:37:35

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.5148 (New)


Package is "ffmpeg-4"

Fri May 17 23:37:35 2019 rev:13 rq:702838 version:4.1.3

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-05-09 
10:03:05.707943185 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.5148/ffmpeg-4.changes  
2019-05-17 23:37:37.598094722 +0200
@@ -1,0 +2,5 @@
+Tue May 14 11:38:01 UTC 2019 - Martin Liška 
+
+- Enable LTO for all except i586 (boo#1133123).
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.syyUmA/_old  2019-05-17 23:37:39.370093788 +0200
+++ /var/tmp/diff_new_pack.syyUmA/_new  2019-05-17 23:37:39.374093786 +0200
@@ -567,8 +567,16 @@
 %autopatch -p1
 
 %build
+%ifarch %ix86
 %define _lto_cflags %{nil}
+%endif
 CFLAGS="%optflags" \
+%if %{suse_version} > 1500
+%ifarch %ix86
+%else
+LDFLAGS="%_lto_cflags" \
+%endif
+%endif
 ./configure \
--prefix="%_prefix" \
--libdir="%_libdir" \
@@ -648,6 +656,12 @@
--enable-libzmq \
 %endif
--enable-libzvbi \
+%if 0%{?suse_version} > 1500
+%ifarch %ix86
+%else
+  --enable-lto \
+%endif
+%endif
 %if %{with lv2}
--enable-lv2 \
 %endif





commit ffmpeg-4 for openSUSE:Factory

2019-05-09 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-05-09 10:03:02

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.5148 (New)


Package is "ffmpeg-4"

Thu May  9 10:03:02 2019 rev:12 rq:700903 version:4.1.3

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-04-10 
23:09:41.111870947 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.5148/ffmpeg-4.changes  
2019-05-09 10:03:05.707943185 +0200
@@ -1,0 +2,28 @@
+Sun May  5 19:54:07 UTC 2019 - Bjørn Lie 
+
+- Disable LTO again, as it breaks build for i586 (boo#1133123).
+
+---
+Fri May  3 10:08:30 UTC 2019 - Jan Engelhardt 
+
+- Throw out svt-av1. The build is unable to complete
+  in openSUSE:Factory.
+
+---
+Thu May  2 09:38:47 UTC 2019 - Martin Liška 
+
+- Use %make_build in order to provide parallel build for tools/*.
+  And make output verbose.
+
+---
+Thu May  2 08:00:42 UTC 2019 - Martin Liška 
+
+- Enable LTO for new SUSE versions (boo#1133123).
+
+---
+Tue Apr 30 22:05:35 UTC 2019 - Hans-Peter Jansen 
+
+- Update patch 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
+  from upstream
+
+---
@@ -5,0 +34 @@
+[boo#1133153, boo#1133155, CVE-2019-11338, CVE-2019-11339]

Old:

  0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.vCK7DV/_old  2019-05-09 10:03:07.931949552 +0200
+++ /var/tmp/diff_new_pack.vCK7DV/_new  2019-05-09 10:03:07.935949564 +0200
@@ -115,8 +115,6 @@
 Patch2: ffmpeg-arm6l.diff
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
-# from https://github.com/OpenVisualCloud/SVT-AV1/blob/master/ffmpeg_plugin/
-Patch5: 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
 # dav1d added https://patchwork.ffmpeg.org/patch/10843/
 Patch6: ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch
 BuildRequires:  ladspa-devel
@@ -125,9 +123,6 @@
 %if %{with mysofa}
 BuildRequires:  libmysofa-devel
 %endif
-%ifarch x86_64
-BuildRequires:  pkgconfig(SvtAv1Enc)
-%endif
 BuildRequires:  nasm
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(alsa)
@@ -572,6 +567,7 @@
 %autopatch -p1
 
 %build
+%define _lto_cflags %{nil}
 CFLAGS="%optflags" \
 ./configure \
--prefix="%_prefix" \
@@ -635,9 +631,6 @@
 %if %{with srt}
--enable-libsrt \
 %endif
-%ifarch x86_64
-   --enable-libsvtav1 \
-%endif
--enable-libtheora \
--enable-libtwolame \
 %if %{with vidstab}
@@ -700,12 +693,12 @@
 %endif
 
 cat config.h
-make %{?_smp_mflags} V=1
+%make_build
 
 %global extratools aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt 
graph2dot ismindex pktdumper probetest qt-faststart seek_print sidxindex trasher
 
 for i in %extratools; do
-   make "tools/$i"
+   %make_build "tools/$i"
 done
 
 %install

++ enable_encoders ++
--- /var/tmp/diff_new_pack.vCK7DV/_old  2019-05-09 10:03:07.979949690 +0200
+++ /var/tmp/diff_new_pack.vCK7DV/_new  2019-05-09 10:03:07.979949690 +0200
@@ -19,7 +19,6 @@
 libopus # opus
 libschroedinger # schroedinger
 libspeex # speex
-libsvt_av1 # AV1
 libtheora # libtheora
 libtwolame # twolame
 libvorbis # libvorbis





commit ffmpeg-4 for openSUSE:Factory

2019-04-10 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-04-10 23:09:39

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.27019 (New)


Package is "ffmpeg-4"

Wed Apr 10 23:09:39 2019 rev:11 rq:692065 version:4.1.3

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-04-03 
09:23:37.711691679 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.27019/ffmpeg-4.changes 
2019-04-10 23:09:41.111870947 +0200
@@ -1,0 +2,6 @@
+Tue Apr 02 23:56:11 UTC 2019 - sean...@opensuse.org
+
+- Update to version 4.1.3:
+  * Updates and bug fixes for codecs, filters and formats.
+
+---

Old:

  ffmpeg-4.1.2.tar.xz
  ffmpeg-4.1.2.tar.xz.asc

New:

  ffmpeg-4.1.3.tar.xz
  ffmpeg-4.1.3.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.9oaDYX/_old  2019-04-10 23:09:42.479872502 +0200
+++ /var/tmp/diff_new_pack.9oaDYX/_new  2019-04-10 23:09:42.487872511 +0200
@@ -97,7 +97,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.1.2
+Version:4.1.3
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later

++ ffmpeg-4.1.2.tar.xz -> ffmpeg-4.1.3.tar.xz ++
/work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.1.2.tar.xz 
/work/SRC/openSUSE:Factory/.ffmpeg-4.new.27019/ffmpeg-4.1.3.tar.xz differ: char 
26, line 1




commit ffmpeg-4 for openSUSE:Factory

2019-04-03 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-04-03 09:23:36

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.25356 (New)


Package is "ffmpeg-4"

Wed Apr  3 09:23:36 2019 rev:10 rq:689489 version:4.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-03-12 
09:49:15.667587739 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.25356/ffmpeg-4.changes 
2019-04-03 09:23:37.711691679 +0200
@@ -1,0 +2,15 @@
+Thu Mar 28 09:21:05 UTC 2019 - Bjørn Lie 
+
+- Update to version 4.1.2:
+  * Updates and bug fixes for codecs, filters and formats.
+
+---
+Sun Mar 17 22:38:39 UTC 2019 - Bjørn Lie 
+
+- Add ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch: Backport
+  dav1d decoder support for aom (av1) codec. Following this, add
+  conditional pkgconfig(dav1d) BuildRequires and pass conditional
+  --enable-libdav1d to configure. Also add libdav1d to
+  enable_decoders.
+
+---

Old:

  ffmpeg-4.1.1.tar.xz
  ffmpeg-4.1.1.tar.xz.asc

New:

  ffmpeg-4.1.2.tar.xz
  ffmpeg-4.1.2.tar.xz.asc
  ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.bPNl1E/_old  2019-04-03 09:23:38.959692246 +0200
+++ /var/tmp/diff_new_pack.bPNl1E/_new  2019-04-03 09:23:38.963692248 +0200
@@ -97,7 +97,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.1.1
+Version:4.1.2
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -117,6 +117,8 @@
 Patch4: ffmpeg-codec-choice.diff
 # from https://github.com/OpenVisualCloud/SVT-AV1/blob/master/ffmpeg_plugin/
 Patch5: 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
+# dav1d added https://patchwork.ffmpeg.org/patch/10843/
+Patch6: ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
@@ -137,6 +139,9 @@
 %if %{with codec2}
 BuildRequires:  pkgconfig(codec2)
 %endif
+%if 0%{?suse_version} >= 1550
+BuildRequires:  pkgconfig(dav1d)
+%endif
 BuildRequires:  pkgconfig(enca)
 BuildRequires:  pkgconfig(fontconfig) >= 2.4.2
 BuildRequires:  pkgconfig(freetype2)
@@ -599,6 +604,9 @@
 %if %{with codec2}
--enable-libcodec2 \
 %endif
+%if 0%{?suse_version} >= 1550
+   --enable-libdav1d \
+%endif
--enable-libdc1394 \
--enable-libdrm \
--enable-libfontconfig \

++ enable_decoders ++
--- /var/tmp/diff_new_pack.bPNl1E/_old  2019-04-03 09:23:38.991692261 +0200
+++ /var/tmp/diff_new_pack.bPNl1E/_new  2019-04-03 09:23:38.991692261 +0200
@@ -20,6 +20,7 @@
 libaom_av1 # libaom
 libcelt # celt, opus
 libcodec2 # codec2
+libdav1d # av1
 libgsm # libgsm
 libopenjpeg # openjpeg
 libopus # opus

++ ffmpeg-4.1.1.tar.xz -> ffmpeg-4.1.2.tar.xz ++
/work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.ffmpeg-4.new.25356/ffmpeg-4.1.2.tar.xz differ: char 
26, line 1

++ ffmpeg-avcodec-libdav1d-AV1-decoder-wrapper.patch ++
diff --git a/configure b/configure
index 01c3a1011d..e56b925065 100755
--- a/configure
+++ b/configure
@@ -226,6 +226,7 @@ External library support:
   --enable-libcelt enable CELT decoding via libcelt [no]
   --enable-libcdio enable audio CD grabbing with libcdio [no]
   --enable-libcodec2   enable codec2 en/decoding using libcodec2 [no]
+  --enable-libdav1denable AV1 decoding via libdav1d [no]
   --enable-libdavs2enable AVS2 decoding via libdavs2 [no]
   --enable-libdc1394   enable IIDC-1394 grabbing using libdc1394
and libraw1394 [no]
@@ -1712,6 +1713,7 @@ EXTERNAL_LIBRARY_LIST="
 libcaca
 libcelt
 libcodec2
+libdav1d
 libdc1394
 libdrm
 libflite
@@ -3088,6 +3090,7 @@ libaom_av1_encoder_select="extract_extradata_bsf"
 libcelt_decoder_deps="libcelt"
 libcodec2_decoder_deps="libcodec2"
 libcodec2_encoder_deps="libcodec2"
+libdav1d_decoder_deps="libdav1d"
 libdavs2_decoder_deps="libdavs2"
 libfdk_aac_decoder_deps="libfdk_aac"
 libfdk_aac_encoder_deps="libfdk_aac"
@@ -6064,6 +6067,7 @@ enabled libcelt   && require libcelt celt/celt.h 
celt_decode -lcelt0 &&
die "ERROR: libcelt must be installed and 
version must be >= 0.11.0."; }
 enabled libcaca   && require_pkg_config libcaca caca caca.h 
caca_create_canvas
 enabled libcodec2 

commit ffmpeg-4 for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-03-12 09:49:13

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.28833 (New)


Package is "ffmpeg-4"

Tue Mar 12 09:49:13 2019 rev:9 rq:683053 version:4.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-03-08 
11:58:57.271979757 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.28833/ffmpeg-4.changes 
2019-03-12 09:49:15.667587739 +0100
@@ -1,0 +2,11 @@
+Sat Mar  9 11:59:31 UTC 2019 - Bjørn Lie 
+
+- Add a new filter line to rpmlintrc
+  (addFilter("no-dependency-on ffmpeg-4-lib*")).
+
+---
+Mon Mar  4 05:07:43 UTC 2019 - John Vandenberg 
+
+- Add trivial encoder rawvideo, already enabled in decoders
+
+---



Other differences:
--
++ enable_encoders ++
--- /var/tmp/diff_new_pack.R95qUs/_old  2019-03-12 09:49:16.375587598 +0100
+++ /var/tmp/diff_new_pack.R95qUs/_new  2019-03-12 09:49:16.379587598 +0100
@@ -65,6 +65,7 @@
 pgmyuv # trivial
 png # libpng
 ppm # trivial
+rawvideo # trivial
 sgi # trivial
 srt # trivial
 ssa # trivial

++ ffmpeg-4-rpmlintrc ++
--- /var/tmp/diff_new_pack.R95qUs/_old  2019-03-12 09:49:16.391587595 +0100
+++ /var/tmp/diff_new_pack.R95qUs/_new  2019-03-12 09:49:16.395587594 +0100
@@ -4,3 +4,4 @@
 # our libraries really have those names and versions
 addFilter("shlib-fixed-dependency")
 addFilter("no-dependency-on libffmpeg.*")
+addFilter("no-dependency-on ffmpeg-4-lib*")





commit ffmpeg-4 for openSUSE:Factory

2019-03-08 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-03-08 11:58:51

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.28833 (New)


Package is "ffmpeg-4"

Fri Mar  8 11:58:51 2019 rev:8 rq:68 version:4.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2019-02-04 
21:19:34.427687454 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.28833/ffmpeg-4.changes 
2019-03-08 11:58:57.271979757 +0100
@@ -1,0 +2,48 @@
+Sat Mar  2 07:38:50 UTC 2019 - Jan Engelhardt 
+
+- Unconditionalize bs2b, it exists in openSUSE 13.x too.
+
+---
+Fri Mar  1 08:02:29 UTC 2019 - bjorn@gmail.com
+
+- Drop ffmpeg-libcdio_cdda-pkgconfig.patch: It only adds comments
+  in it's current form, so serves no purpose at all anymore.
+- Refresh patches with refresh_patches service.
+- Rename rpmlintrc file to ffmpeg-4-rpmlintrc.
+
+---
+Thu Feb 28 06:41:01 UTC 2019 - bjorn@gmail.com
+
+- Add missing conditional configure option: --enable-libbs2b,
+  BuildRequires already in place.
+
+---
+Sat Feb 16 13:21:11 UTC 2019 - bjorn@gmail.com
+
+- Add aac to enabled_encoders and enabled_decoders. Build the
+  native aac support in ffmpeg. These do not support HE-AAC (v1/2)
+  protocols.
+
+---
+Sat Feb 16 12:41:43 UTC 2019 - davejpla...@gmail.com
+
+- Update 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch from git
+  To fix build with SVT-AV1.
+
+---
+Tue Feb 12 08:58:56 UTC 2019 - bjorn@gmail.com
+
+- Update to version 4.1.1:
+  * Various filter and codec fixes and enhancements.
+  * configure: Add missing xlib dependency for VAAPI X11 code.
+  * For complete changelog, see
+/usr/share/doc/packages/ffmpeg-4/Changelog
+
+---
+Tue Feb  5 09:14:03 UTC 2019 - Adrian Schröter 
+
+- enable AV1 support on x86_64
+  * requires patch 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
+- refreshed all patches
+
+---

Old:

  ffmpeg-4.1.tar.xz
  ffmpeg-4.1.tar.xz.asc
  ffmpeg-libcdio_cdda-pkgconfig.patch
  ffmpeg-rpmlintrc

New:

  0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
  ffmpeg-4-rpmlintrc
  ffmpeg-4.1.1.tar.xz
  ffmpeg-4.1.1.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.cUZ8fu/_old  2019-03-08 11:58:58.599979533 +0100
+++ /var/tmp/diff_new_pack.cUZ8fu/_new  2019-03-08 11:58:58.603979532 +0100
@@ -69,7 +69,6 @@
 %bcond_without vidstab
 %bcond_without srt
 %bcond_without codec2
-%bcond_without bs2b
 %bcond_without lv2
 %bcond_without rubberband
 %bcond_without soxr
@@ -80,7 +79,6 @@
 %bcond_with vidstab
 %bcond_with srt
 %bcond_with codec2
-%bcond_with bs2b
 %bcond_with lv2
 %bcond_with rubberband
 %bcond_with soxr
@@ -99,7 +97,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.1
+Version:4.1.1
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -110,20 +108,24 @@
 #Git-Clone: git://source.ffmpeg.org/ffmpeg
 Source: https://www.ffmpeg.org/releases/%_name-%version.tar.xz
 Source2:https://www.ffmpeg.org/releases/%_name-%version.tar.xz.asc
-Source3:ffmpeg-rpmlintrc
+Source3:ffmpeg-4-rpmlintrc
 Source4:enable_decoders
 Source5:enable_encoders
 Source99:   baselibs.conf
-Patch1: ffmpeg-libcdio_cdda-pkgconfig.patch
 Patch2: ffmpeg-arm6l.diff
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
+# from https://github.com/OpenVisualCloud/SVT-AV1/blob/master/ffmpeg_plugin/
+Patch5: 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel
 %if %{with mysofa}
 BuildRequires:  libmysofa-devel
 %endif
+%ifarch x86_64
+BuildRequires:  pkgconfig(SvtAv1Enc)
+%endif
 BuildRequires:  nasm
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(alsa)
@@ -143,9 +145,7 @@
 BuildRequires:  pkgconfig(jack)
 BuildRequires:  pkgconfig(libass)
 BuildRequires:  pkgconfig(libbluray)
-%if %{with bs2b}
 BuildRequires:  pkgconfig(libbs2b)
-%endif
 BuildRequires:  pkgconfig(libcdio)
 BuildRequires:  pkgconfig(libcdio_paranoia)
 BuildRequires:  

commit ffmpeg-4 for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2019-02-04 21:19:21

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.28833 (New)


Package is "ffmpeg-4"

Mon Feb  4 21:19:21 2019 rev:7 rq:666343 version:4.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2018-12-11 
15:41:47.330604662 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.28833/ffmpeg-4.changes 
2019-02-04 21:19:34.427687454 +0100
@@ -1,0 +2,7 @@
+Tue Jan 15 20:45:50 UTC 2019 - bjorn@gmail.com
+
+- Add conditional pkgconfig(vo-amrwbenc) BuildRequires and
+  conditionally pass --enable-libvo-amrwbenc --enable-version3 to
+  configure: build amrwb encoder if dependency is present.
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.dNPZBn/_old  2019-02-04 21:19:35.875686902 +0100
+++ /var/tmp/diff_new_pack.dNPZBn/_new  2019-02-04 21:19:35.879686901 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ffmpeg-4
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,6 +44,7 @@
 %bcond_without nvcodec
 %endif
 %if 0%{?BUILD_ORIG}
+%bcond_withamrwb
 %bcond_without cuda_sdk
 %else
 %bcond_with cuda_sdk
@@ -219,6 +220,9 @@
 %if %{with opencore}
 BuildRequires:  pkgconfig(opencore-amrnb)
 %endif
+%if %{with amrwb}
+BuildRequires:  pkgconfig(vo-amrwbenc)
+%endif
 %if %{with x264}
 BuildRequires:  pkgconfig(x264)
 %endif
@@ -653,6 +657,10 @@
--enable-libopencore-amrwb \
--enable-version3 \
 %endif
+%if %{with amrwb}
+   --enable-libvo-amrwbenc \
+   --enable-version3 \
+%endif
 %if %{with x264}
--enable-libx264 \
 %endif





commit ffmpeg-4 for openSUSE:Factory

2018-12-11 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2018-12-11 15:41:40

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new.19453 (New)


Package is "ffmpeg-4"

Tue Dec 11 15:41:40 2018 rev:6 rq:655451 version:4.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2018-11-13 
16:23:36.622867705 +0100
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new.19453/ffmpeg-4.changes 
2018-12-11 15:41:47.330604662 +0100
@@ -1,0 +2,7 @@
+Wed Dec  5 18:07:58 UTC 2018 - Stefan Brüns 
+
+- Enable encoding/decoding with nvcodec, the required headers are already
+  in TW (permissively licensed). The required NVidia libraries are dlopen'ed.
+- Enable ILBC decoder, ilbc is free and already packaged standalone.
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.BDz5O4/_old  2018-12-11 15:41:48.706603156 +0100
+++ /var/tmp/diff_new_pack.BDz5O4/_new  2018-12-11 15:41:48.706603156 +0100
@@ -38,15 +38,15 @@
 %{preamble_string} ffmpeg-private-devel %{comparator} %{conflicts_version} \
 %{nil}
 
-# nvidia adds library present only after leap15
+# nvcodec headers only present after leap15
 %bcond_with nvcodec
-%if 0%{?BUILD_ORIG}
-%bcond_without nvidia
 %if 0%{?suse_version} > 1500
 %bcond_without nvcodec
 %endif
+%if 0%{?BUILD_ORIG}
+%bcond_without cuda_sdk
 %else
-%bcond_with nvidia
+%bcond_with cuda_sdk
 %endif
 %bcond_withfdk_aac
 %bcond_withlibrtmp
@@ -581,9 +581,8 @@
--enable-avresample \
--enable-gnutls \
--enable-ladspa \
-%if ! %{with nvidia}
-   --disable-cuda \
-   --disable-cuvid \
+%if ! %{with cuda_sdk}
+   --disable-cuda-sdk \
 %endif
 %if %{with libaom}
--enable-libaom \

++ enable_decoders ++
--- /var/tmp/diff_new_pack.BDz5O4/_old  2018-12-11 15:41:48.750603108 +0100
+++ /var/tmp/diff_new_pack.BDz5O4/_new  2018-12-11 15:41:48.754603104 +0100
@@ -14,6 +14,7 @@
 gif # libpng
 gsm # libgsm
 huffyuv # trivial+zlib
+ilbc # ilbc
 libaom # libaom
 libaom_av1 # libaom
 libcelt # celt, opus





commit ffmpeg-4 for openSUSE:Factory

2018-11-13 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2018-11-13 16:23:10

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new (New)


Package is "ffmpeg-4"

Tue Nov 13 16:23:10 2018 rev:5 rq:647061 version:4.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2018-09-16 
18:31:16.087421462 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new/ffmpeg-4.changes   2018-11-13 
16:23:36.622867705 +0100
@@ -1,0 +2,49 @@
+Tue Nov 06 01:39:11 UTC 2018 - s...@suspend.net
+
+- Update ffmpeg to 4.1
+  * Lots of filter updates as usual: deblock, tmix, aplify,
+fftdnoiz, aderivative, aintegral, pal75bars, pal100bars,
+adeclick, adeclip, lensfun (wrapper), colorconstancy, 1D LUT
+filter (lut1d), cue, acue, transpose_npp, amultiply,
+Block-Matching 3d (bm3d) denoising filter, acrossover filter,
+audio denoiser as afftdn filter, sinc audio filter source,
+chromahold, setparams, vibrance, xstack,
+(a)graphmonitor filter yadif_cuda filter.
+  * AV1 parser
+  * Support for AV1 in MP4
+  * PCM VIDC decoder and encoder
+  * libtensorflow backend for DNN based filters like srcnn
+  * -- The following only enabled in third-party builds:
+  * ATRAC9 decoder
+  * AVS2 video decoder via libdavs2
+  * IMM4 video decoder
+  * Brooktree ProSumer video decoder
+  * MatchWare Screen Capture Codec decoder
+  * WinCam Motion Video decoder
+  * RemotelyAnywhere Screen Capture decoder
+  * AVS2 video encoder via libxavs2
+  * ILBC decoder
+  * SER demuxer
+  * Decoding S12M timecode in H264
+  * For complete changelog, see 
https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.1
+- Remove 0001-avcodec-libaom-fix-setting-amount-of-threads.patch
+  (fixed upstream (bsc#776cdd1), remove ffmpeg-CVE-2018-13305.patch,
+  remove 0001-avformat-flvenc-Check-audio-packet-size.patch,
+  remove cve-2017-17555.diff (fixed upstream).
+
+---
+
+Sat Nov 03 14:48:35 UTC 2018 - s...@suspend.net
+
+- Remove 0001-avformat-fivenc-Check-audio-packet-size.patch (fixed upstream 
(bsc#8591d16) 
+- Update ffmpeg to 4.0.3 
+  * For complete changelog, see 
https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.0.3
+
+---
+Tue Oct 23 06:05:42 UTC 2018 - qzh...@suse.com
+
+- Add ffmpeg-CVE-2018-13305.patch to add a missing check for
+  negative values of mqaunt variable (CVE-2018-13305,
+  bsc#1100345).
+
+---

Old:

  0001-avcodec-libaom-fix-setting-amount-of-threads.patch
  0001-avformat-flvenc-Check-audio-packet-size.patch
  cve-2017-17555.diff
  ffmpeg-4.0.2.tar.xz
  ffmpeg-4.0.2.tar.xz.asc

New:

  ffmpeg-4.1.tar.xz
  ffmpeg-4.1.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.wyCLda/_old  2018-11-13 16:23:38.314864753 +0100
+++ /var/tmp/diff_new_pack.wyCLda/_new  2018-11-13 16:23:38.318864747 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -98,7 +98,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.0.2
+Version:4.1
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -117,9 +117,6 @@
 Patch2: ffmpeg-arm6l.diff
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
-Patch5: cve-2017-17555.diff
-Patch6: 0001-avformat-flvenc-Check-audio-packet-size.patch
-Patch7: 0001-avcodec-libaom-fix-setting-amount-of-threads.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ ffmpeg-4.0.2.tar.xz -> ffmpeg-4.1.tar.xz ++
/work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.0.2.tar.xz 
/work/SRC/openSUSE:Factory/.ffmpeg-4.new/ffmpeg-4.1.tar.xz differ: char 26, 
line 1




commit ffmpeg-4 for openSUSE:Factory

2018-09-16 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2018-09-16 18:31:08

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new (New)


Package is "ffmpeg-4"

Sun Sep 16 18:31:08 2018 rev:4 rq:635654 version:4.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2018-08-18 
00:00:25.258416096 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new/ffmpeg-4.changes   2018-09-16 
18:31:16.087421462 +0200
@@ -1,0 +2,11 @@
+Thu Sep 13 23:17:35 UTC 2018 - 9+suse@cirno.systems
+
+- Add 0001-avcodec-libaom-fix-setting-amount-of-threads.patch
+
+---
+Fri Aug 24 07:19:30 UTC 2018 - jeng...@inai.de
+
+- Add 0001-avformat-flvenc-Check-audio-packet-size.patch
+  [CVE-2018-15822, boo#1105869]
+
+---
@@ -5 +16,2 @@
-  * Various bugfixes and a revert.
+  * CVE-2018-13300: out of array read (boo#1100348, CVE-2018-13300)
+  * Various bugfixes and a revert

New:

  0001-avcodec-libaom-fix-setting-amount-of-threads.patch
  0001-avformat-flvenc-Check-audio-packet-size.patch



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.w2bUIP/_old  2018-09-16 18:31:17.487420905 +0200
+++ /var/tmp/diff_new_pack.w2bUIP/_new  2018-09-16 18:31:17.487420905 +0200
@@ -118,6 +118,8 @@
 Patch3: ffmpeg-new-coder-errors.diff
 Patch4: ffmpeg-codec-choice.diff
 Patch5: cve-2017-17555.diff
+Patch6: 0001-avformat-flvenc-Check-audio-packet-size.patch
+Patch7: 0001-avcodec-libaom-fix-setting-amount-of-threads.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
 BuildRequires:  libmp3lame-devel

++ 0001-avcodec-libaom-fix-setting-amount-of-threads.patch ++
>From 309c3a0e81be553626711912e90015c26f4b09ba Mon Sep 17 00:00:00 2001
From: James Almer 
Date: Thu, 13 Sep 2018 13:26:00 -0300
Subject: [PATCH] avcodec/libaom: fix setting amount of threads
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The libaom doxy says that a value of 0 for the threads fields is
equivalent to a value of 1, whereas for avctx->thread_count it means
the maximum amount of threads possible for the host system.

Use av_cpu_count() to get the correct thread count when auto threads
is requested.

Reviewed-by: Jan Ekström 
Signed-off-by: James Almer 
---
 libavcodec/libaomdec.c | 2 +-
 libavcodec/libaomenc.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c
index 6a2de6d47a..2530c9f76b 100644
--- a/libavcodec/libaomdec.c
+++ b/libavcodec/libaomdec.c
@@ -43,7 +43,7 @@ static av_cold int aom_init(AVCodecContext *avctx,
 AV1DecodeContext *ctx   = avctx->priv_data;
 struct aom_codec_dec_cfg deccfg = {
 /* token partitions+1 would be a decent choice */
-.threads = FFMIN(avctx->thread_count, 16)
+.threads = FFMIN(avctx->thread_count ? avctx->thread_count : 
av_cpu_count(), 16)
 };
 
 av_log(avctx, AV_LOG_INFO, "%s\n", aom_codec_version_str());
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index bbf4cf8b64..6a79d9b873 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -319,7 +319,7 @@ static av_cold int aom_init(AVCodecContext *avctx,
 enccfg.g_h= avctx->height;
 enccfg.g_timebase.num = avctx->time_base.num;
 enccfg.g_timebase.den = avctx->time_base.den;
-enccfg.g_threads  = avctx->thread_count;
+enccfg.g_threads  = avctx->thread_count ? avctx->thread_count : 
av_cpu_count();
 
 if (ctx->lag_in_frames >= 0)
 enccfg.g_lag_in_frames = ctx->lag_in_frames;
-- 
2.18.0

++ 0001-avformat-flvenc-Check-audio-packet-size.patch ++
>From 6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer 
Date: Sat, 28 Jul 2018 15:03:50 +0200
Subject: [PATCH] avformat/flvenc: Check audio packet size

Fixes: Assertion failure
Fixes: assert_flvenc.c:941_1.swf

Found-by: #CHEN HONGXU# 
Signed-off-by: Michael Niedermayer 
---
 libavformat/flvenc.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 1c552a3e6b..e4863f1fc7 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -883,6 +883,11 @@ static int flv_write_packet(AVFormatContext *s, AVPacket 
*pkt)
 int flags = -1, flags_size, ret;
 int64_t cur_offset = avio_tell(pb);
 
+if (par->codec_type == AVMEDIA_TYPE_AUDIO && !pkt->size) {
+av_log(s, AV_LOG_WARNING, "Empty audio Packet\n");
+return AVERROR(EINVAL);
+}
+
   

commit ffmpeg-4 for openSUSE:Factory

2018-08-17 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2018-08-18 00:00:21

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new (New)


Package is "ffmpeg-4"

Sat Aug 18 00:00:21 2018 rev:3 rq:629391 version:4.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2018-08-02 
14:50:02.083466893 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new/ffmpeg-4.changes   2018-08-18 
00:00:25.258416096 +0200
@@ -1,0 +2,36 @@
+Mon Aug 13 18:07:13 UTC 2018 - bjorn@gmail.com
+
+- Update to version 4.0.2:
+  * Various bugfixes and a revert.
+
+---
+Sat Aug 11 08:28:47 UTC 2018 - car...@carmenbianca.eu
+
+- bsc#1092241 Enable webvtt encoders and decoders.
+
+---
+Tue Aug  7 22:28:52 UTC 2018 - bjorn@gmail.com
+
+- Build codec2 encoder and decoder, add libcodec2 to
+  enable_decoders and enable_encoders.
+
+---
+Mon Aug  6 07:40:15 UTC 2018 - davejpla...@gmail.com
+
+- Enable mpeg 1 and 2 encoders.
+
+---
+Sun Aug  5 12:56:17 UTC 2018 - bjorn@gmail.com
+
+- Add conditional pkgconfig(aom) BuildRequires and pass
+  --enable-libaom to configure as well as add libaom and libaom_av1
+  to enable_decoders and enable_encoders: Build AOMedia Video 1
+  (AV1) support.
+
+---
+Tue Jul 31 14:39:25 UTC 2018 - tchva...@suse.com
+
+- bsc#1103064 attempt to allow migration from the unprefixed devel
+  packages cleanly
+
+---

Old:

  ffmpeg-4.0.1.tar.xz
  ffmpeg-4.0.1.tar.xz.asc

New:

  ffmpeg-4.0.2.tar.xz
  ffmpeg-4.0.2.tar.xz.asc



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.KnP3ZU/_old  2018-08-18 00:00:26.166418801 +0200
+++ /var/tmp/diff_new_pack.KnP3ZU/_new  2018-08-18 00:00:26.166418801 +0200
@@ -63,6 +63,7 @@
 %endif
 
 %if 0%{?suse_version} > 1500
+%bcond_without libaom
 %bcond_without mysofa
 %bcond_without vidstab
 %bcond_without srt
@@ -73,6 +74,7 @@
 %bcond_without soxr
 %bcond_without zmq
 %else
+%bcond_with libaom
 %bcond_with mysofa
 %bcond_with vidstab
 %bcond_with srt
@@ -96,7 +98,7 @@
 %define _major_version 4
 %define _major_expected 5
 Name:   ffmpeg-4
-Version:4.0.1
+Version:4.0.2
 Release:0
 Summary:Library for working with various multimedia formats
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -125,6 +127,9 @@
 BuildRequires:  nasm
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(alsa)
+%if %{with libaom}
+BuildRequires:  pkgconfig(aom)
+%endif
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(celt) >= 0.11.0
 %if %{with codec2}
@@ -270,7 +275,7 @@
 Summary:Development files for FFmpeg's codec library
 Group:  Development/Libraries/C and C++
 Provides:   libavcodec-devel = %version-%release
-Conflicts:  libavcodec-devel
+Obsoletes:  libavcodec-devel < %version-%release
 Requires:   %{name}-libavresample-devel = %version-%release
 Requires:   %{name}-libavutil-devel = %version-%release
 Requires:   libavcodec58 = %version-%release
@@ -304,7 +309,7 @@
 Provides:   ffmpeg-devel = %version-%release
 Conflicts:  ffmpeg-devel
 Provides:   libavdevice-devel = %version-%release
-Conflicts:  libavdevice-devel
+Obsoletes:  libavdevice-devel < %version-%release
 Requires:   %{name}-libavcodec-devel = %version-%release
 Requires:   %{name}-libavfilter-devel = %version-%release
 Requires:   %{name}-libavformat-devel = %version-%release
@@ -344,7 +349,7 @@
 Summary:Development files for FFmpeg's audio/video filter library
 Group:  Development/Libraries/C and C++
 Provides:   libavfilter-devel = %version-%release
-Conflicts:  libavfilter-devel
+Obsoletes:  libavfilter-devel < %version-%release
 Requires:   %{name}-libavcodec-devel = %version-%release
 Requires:   %{name}-libavformat-devel = %version-%release
 Requires:   %{name}-libavresample-devel = %version-%release
@@ -382,7 +387,7 @@
 Summary:Development files for FFmpeg's stream format library
 Group:  Development/Libraries/C and C++
 Provides:   libavformat-devel = %version-%release
-Conflicts:  libavformat-devel
+Obsoletes:  libavformat-devel < %version-%release
 Requires:   %{name}-libavcodec-devel = %version-%release
 Requires:   %{name}-libavutil-devel = 

commit ffmpeg-4 for openSUSE:Factory

2018-08-02 Thread root
Hello community,

here is the log from the commit of package ffmpeg-4 for openSUSE:Factory 
checked in at 2018-08-02 14:50:00

Comparing /work/SRC/openSUSE:Factory/ffmpeg-4 (Old)
 and  /work/SRC/openSUSE:Factory/.ffmpeg-4.new (New)


Package is "ffmpeg-4"

Thu Aug  2 14:50:00 2018 rev:2 rq:625732 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ffmpeg-4/ffmpeg-4.changes2018-07-12 
09:16:37.806205595 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpeg-4.new/ffmpeg-4.changes   2018-08-02 
14:50:02.083466893 +0200
@@ -1,0 +2,37 @@
+Fri Jul 27 08:56:56 UTC 2018 - tchva...@suse.com
+
+- Reduce the optional conditional for the SLE12 backports to
+  cover everything, most of the packages in old codestreams were
+  not really ready as they need additional baselibs/etc.
+  * Since these are new features user will simply wait or use TW
+
+---
+Fri Jul 27 07:03:06 UTC 2018 - jeng...@inai.de
+
+- Enable "kmsgrab" input device
+
+---
+Thu Jul 26 08:09:32 UTC 2018 - tchva...@suse.com
+
+- Redo the nvidia condition based on review feeback
+
+---
+Wed Jul 25 08:30:56 UTC 2018 - tchva...@suse.com
+
+- Do not condition nvidia based on BUILD_ORIG all the support is in
+  TW only and not on different instances as such safeguard it with
+  version check only bsc#1102532
+
+---
+Wed Jul 18 12:13:38 UTC 2018 - tchva...@suse.com
+
+- Add new bconds to build on SLE12 backports project without
+  requiring extra packages:
+  * %bcond_without codec2
+  * %bcond_without bs2b
+  * %bcond_without lv2
+  * %bcond_without rubberband
+  * %bcond_without soxr
+  * %bcond_without zmq
+
+---



Other differences:
--
++ ffmpeg-4.spec ++
--- /var/tmp/diff_new_pack.rJVdG6/_old  2018-08-02 14:50:03.287468879 +0200
+++ /var/tmp/diff_new_pack.rJVdG6/_new  2018-08-02 14:50:03.291468886 +0200
@@ -38,8 +38,13 @@
 %{preamble_string} ffmpeg-private-devel %{comparator} %{conflicts_version} \
 %{nil}
 
+# nvidia adds library present only after leap15
+%bcond_with nvcodec
 %if 0%{?BUILD_ORIG}
 %bcond_without nvidia
+%if 0%{?suse_version} > 1500
+%bcond_without nvcodec
+%endif
 %else
 %bcond_withnvidia
 %endif
@@ -61,10 +66,22 @@
 %bcond_without mysofa
 %bcond_without vidstab
 %bcond_without srt
+%bcond_without codec2
+%bcond_without bs2b
+%bcond_without lv2
+%bcond_without rubberband
+%bcond_without soxr
+%bcond_without zmq
 %else
 %bcond_with mysofa
 %bcond_with vidstab
 %bcond_with srt
+%bcond_with codec2
+%bcond_with bs2b
+%bcond_with lv2
+%bcond_with rubberband
+%bcond_with soxr
+%bcond_with zmq
 %endif
 
 %if 0%{?suse_version} >= 1500
@@ -110,7 +127,9 @@
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(celt) >= 0.11.0
+%if %{with codec2}
 BuildRequires:  pkgconfig(codec2)
+%endif
 BuildRequires:  pkgconfig(enca)
 BuildRequires:  pkgconfig(fontconfig) >= 2.4.2
 BuildRequires:  pkgconfig(freetype2)
@@ -119,10 +138,13 @@
 BuildRequires:  pkgconfig(jack)
 BuildRequires:  pkgconfig(libass)
 BuildRequires:  pkgconfig(libbluray)
+%if %{with bs2b}
 BuildRequires:  pkgconfig(libbs2b)
+%endif
 BuildRequires:  pkgconfig(libcdio)
 BuildRequires:  pkgconfig(libcdio_paranoia)
 BuildRequires:  pkgconfig(libdc1394-2)
+BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libgme)
 BuildRequires:  pkgconfig(liboil-0.3) >= 0.3.15
 BuildRequires:  pkgconfig(libopenjp2) >= 2.1.0
@@ -138,13 +160,21 @@
 BuildRequires:  pkgconfig(libva) >= 0.35.0
 BuildRequires:  pkgconfig(libwebp) >= 0.4
 BuildRequires:  pkgconfig(libxml-2.0)
+%if %{with zmq}
 BuildRequires:  pkgconfig(libzmq)
+%endif
+%if %{with lv2}
 BuildRequires:  pkgconfig(lilv-0)
+%endif
 BuildRequires:  pkgconfig(ogg)
 BuildRequires:  pkgconfig(opus)
+%if %{with rubberband}
 BuildRequires:  pkgconfig(rubberband)
+%endif
 BuildRequires:  pkgconfig(sdl2)
+%if %{with soxr}
 BuildRequires:  pkgconfig(soxr)
+%endif
 BuildRequires:  pkgconfig(speex)
 %if %{with srt}
 BuildRequires:  pkgconfig(srt)
@@ -176,7 +206,7 @@
 %if %{with librtmp}
 BuildRequires:  pkgconfig(librtmp)
 %endif
-%if %{with nvidia}
+%if %{with nvcodec}
 BuildRequires:  pkgconfig(ffnvcodec)
 %endif
 %if %{with xvid}
@@ -555,8 +585,11 @@
--enable-libbluray \
--enable-libcelt \
--enable-libcdio \
+%if %{with codec2}
--enable-libcodec2 \
+%endif
--enable-libdc1394 \
+   --enable-libdrm \
--enable-libfontconfig \
--enable-libfreetype \
--enable-libfribidi \
@@ -572,8