Skip to contentSkip to conversation

package/ffmpeg: bump version to 9.1

PATCH In review Bernd Kuhls 2 participants 2 messages Nov 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ffmpeg: bump version to 9.1

https://www.phoronix.com/news/FFmpeg-9.1-Released

Rebased patches 0001 & 0003.

Updated license hash due to upstream commits
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/6e9100c64894728cd92aaf8ce2f1f33cfdbc675f
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/5617631d684a2522ed21c2fa89ec3a94b7ab4930

Updated URL to rebased version of libpostproc patch.

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/318416bc3581d530cafc6e50eb4b40cae5d8666f

The "test-pkg ffmpeg deps" pipelines
https://gitlab.com/bkuhls/buildroot/-/pipelines/3099287059
were canceled after reaching the 3h limit, a local build passed without errors. Please note that
https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
was added to the tree to fix build errors seen with libv4l & uClibc-ng.

 ...1-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch | 10 +++++-----
 package/ffmpeg/0003-libavutil-Fix-mips-build.patch     |  6 +++---
 package/ffmpeg/ffmpeg.hash                             |  6 +++---
 package/ffmpeg/ffmpeg.mk                               |  4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)
package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch +5 -5
index 3c171c4ce7..3d88fce8c3 100644
@@ -10,7 +10,7 @@ Signed-off-by: Michael Niedermayer <[email protected]>
 
 Upstream: https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/
 
-[Bernd: rebased for 9.0]
+[Bernd: rebased for 9.1]
 Signed-off-by: Bernd Kuhls <[email protected]>
 [[email protected]: fix reference top patchwork and SoB order]
 Signed-off-by: Yann E. MORIN <[email protected]>
@@ -22,15 +22,15 @@ diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c
 index 2291c84e53..d4e23dce45 100644
 --- a/libswscale/x86/yuv2rgb.c
 +++ b/libswscale/x86/yuv2rgb.c
-@@ -243,6 +243,7 @@ av_cold SwsFunc ff_yuv2rgb_init_x86(SwsInternal *c)
- #if HAVE_X86ASM
+@@ -265,6 +265,7 @@ av_cold SwsFunc ff_yuv2rgb_init_x86(SwsInternal *c)
      int cpu_flags = av_get_cpu_flags();
  
+     /* the converters need at least one block of 16 pixels */
 +#if HAVE_SSSE3
-     if (EXTERNAL_SSSE3(cpu_flags)) {
+     if (EXTERNAL_SSSE3(cpu_flags) && c->opts.dst_w >= 16) {
          switch (c->opts.dst_format) {
          case AV_PIX_FMT_RGB32:
-@@ -275,6 +276,7 @@ av_cold SwsFunc ff_yuv2rgb_init_x86(SwsInternal *c)
+@@ -297,6 +298,7 @@ av_cold SwsFunc ff_yuv2rgb_init_x86(SwsInternal *c)
  #endif
          }
      }
package/ffmpeg/0003-libavutil-Fix-mips-build.patch +3 -3
index ce72514d67..4adcd8c36f 100644
@@ -9,7 +9,7 @@ Fixes https://trac.ffmpeg.org/ticket/9138
 
 Upstream: http://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281272.html
 
-[Bernd: rebased for 9.0]
+[Bernd: rebased for 9.1]
 Signed-off-by: Bernd Kuhls <[email protected]>
 [Dario: make the patch to be applied with fuzz factor 0]
 Signed-off-by: Dario Binacchi <[email protected]>
@@ -22,7 +22,7 @@ diff --git a/configure b/configure
 index 374bd5c151..fbb108506d 100755
 --- a/configure
 +++ b/configure
-@@ -2480,6 +2480,7 @@ HEADERS_LIST="
+@@ -2450,6 +2450,7 @@ HEADERS_LIST="
      malloc_h
      poll_h
      pthread_np_h
@@ -30,7 +30,7 @@ index 374bd5c151..fbb108506d 100755
      sys_hwprobe_h
      sys_param_h
      sys_resource_h
-@@ -7088,6 +7089,7 @@ check_func_headers VideoToolbox/VideoToolbox.h VTPixelTransferSessionCreate -fra
+@@ -6980,6 +6981,7 @@ check_func_headers VideoToolbox/VideoToolbox.h VTPixelTransferSessionCreate -fra
  check_func_headers VideoToolbox/VideoToolbox.h VTPixelRotationSessionCreate -framework VideoToolbox
  check_headers windows.h
  check_headers asm/types.h
package/ffmpeg/ffmpeg.hash +3 -3
index 41bb586831..ed5f8d7cc2 100644
@@ -1,6 +1,6 @@
 # Locally calculated
-sha256  8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e  ffmpeg-9.0.2.tar.xz
-sha256  019ab331eac814e4995c65dcc8076cc433a64bb4a5d2aa6aef5516922dd691e6  001-ffmpeg-all-libpostproc-plugin.patch
+sha256  1a4d394ae63d190a526cd052eb4415c156b5c5e2df37efab41a7de0b8fde2433  ffmpeg-9.1.tar.xz
+sha256  b714df9125924fba59b7c69a5e15d9638496f6ceee374ec99eb21d74dfe71630  001-ffmpeg-all-libpostproc-plugin.patch
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING.GPLv2
 sha256  246041b6ecf9bc32d718a62c57877c78b5eb397b6467e74ed7ae2626ab189c30  COPYING.LGPLv2.1
-sha256  cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2  LICENSE.md
+sha256  576c9e02cd231f3a9ee2162e6db70eb82d2bcec0da8710cdb71f1ecf02d8469a  LICENSE.md
package/ffmpeg/ffmpeg.mk +2 -2
index 953c733961..1e8fd660c2 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FFMPEG_VERSION = 9.0.2
+FFMPEG_VERSION = 9.1
 FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz
 FFMPEG_SITE = https://ffmpeg.org/releases
 FFMPEG_INSTALL_STAGING = YES
@@ -17,7 +17,7 @@ FFMPEG_LICENSE_FILES += COPYING.GPLv2
 endif
 
 FFMPEG_EXTRA_DOWNLOADS = \
-	https://github.com/xbmc/xbmc/raw/refs/tags/22.0rc1-Piers/tools/depends/target/ffmpeg/001-ffmpeg-all-libpostproc-plugin.patch
+	https://github.com/xbmc/xbmc/raw/a46dcf90a422347d2264767afc18410f5de6c864/tools/depends/target/ffmpeg/001-ffmpeg-all-libpostproc-plugin.patch
 
 define FFMPEG_APPLY_POSTPROC_PATCH
 	$(APPLY_PATCHES) $(@D) $(FFMPEG_DL_DIR) \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Bernd Kuhls

https://www.phoronix.com/news/FFmpeg-9.1-Released

Rebased patches 0001 & 0003.

Updated license hash due to upstream commits
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/6e9100c64894728cd92aaf8ce2f1f33cfdbc675f
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/5617631d684a2522ed21c2fa89ec3a94b7ab4930

Updated URL to rebased version of libpostproc patch.

Applied to next, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot