pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/svt-av1



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Aug 30 04:40:06 UTC 2025

Modified Files:
        pkgsrc/multimedia/svt-av1: Makefile PLIST buildlink3.mk distinfo
Removed Files:
        pkgsrc/multimedia/svt-av1/patches:
            patch-third__party_cpuinfo_CMakeLists.txt
            patch-third__party_cpuinfo_src_init.c

Log Message:
multimedia/svt-av1: Update to 3.1.2

Changelog:
## [3.1.2] - 2025-8-24

Fix missing version bump

## [3.1.1] - 2025-8-22

Bug Fixes

- Fixed range checks and error message for min-qp and max-qp (!2469, !2470)
- Fixed 10bit lossless encoding (!2470)
- Fixed value range in unit tests (!2473)
- Fixed --tune ssim (#2293, !2480)
- Fixed an overflow bug within a neon function (!2487)

## [3.1.0] - 2025-7-24

API updates

- Added new flags for --chroma-qm-min and --chroma-qm-max from SVT-AV1-PSY (!2442)
- Introducing --rtc flag to set the default parameters for an improved RTC performance (!2443)
- Enabled M11 and M12 presets for rtc mode for faster speed levels (!2452)

Encoder

- Improved mid and high quality presets quality vs speed tradeoffs for fast-decode 0,1,2 modes in random access (!2443):
- ~15-25% speedup for M1-M5 at the same quality levels for fast-decode 0
- ~15-20% speedup for M3-M7 at the same quality levels for fast-decode 1,2
- 1-1.5% BD-Rate improvement for M0 MR
- Significant improvements in Low Delay mode and enabling presets 0-6 by enabling missing coding features
- Improved performance of the RTC mode with ~5-10% BD-Rate improvements at similar complexity across presets M7-M10 (!2452)
- Further Arm Neon and SVE2 optimizations that improve high bitdepth encoding by an average of ~10% in low resolutions
- Added S-Frame support for random access mode (!2451)
- Additional improvements / porting of features from SVT-AV1-PSY for variance boost (!2431, !2432)

Cleanup Build and bug fixes and documentation

- General testing improvements and fixes (!2406, !2454)
- Deprecated unused avx512{er,pf} as they were never used and also removed with GCC 15 (!2415)
- Visual console display fixes (!2420, !2423)
- Fixed compilation bugs and cleanup with Arm (!2417, #2259, !2427, !2434, !2438, !2439)
- Fixed some formulas in the documentation (!2444)
- Added new options to slim down SVT-AV1 for RTC use cases (!2456, !2457, !2459)
- Fixed some issues with QP handling, vbr stability, and screen content (!2458, #2262, #2272, #2273)
- Fixes issue with resize-mode (!2463, #2282, #2260)
- Removed cpuinfo dependency and instead use cpu detection code from aom (!2426, !2453)

Arm Improvements

- Speed comparison was done against v3.0.2 on AWS Graviton4 instances with Clang 20
- Uplits are geometric means across presets 0-10

Landscape video:

- 1080p: +4%
- 720p: +6%
- 480p: +6%
- 360p: +3%
- 240p: +4%

Portrait video:

- 1080p: +8%
- 720p: +4%
- 480p: +3%
- 360p: +7%
- 240p: +4%

## [3.0.2] - 2025-3-21

Encoder

- More Arm simd improvements (!2401, !2402, !2403, !2405, !2409, !2410)
- Fixed mising initalization of lossless and avif (#2255, !2404)

Documentation
- Add missing `--luminance-qp-bias` documentation (!2407)

## [3.0.1] - 2025-3-10

Encoder cleanup and bug fixes
- Further Arm improvements along with fixing arm vs x86 output mismatches (!2393, !2399, !2400, #2247)
- Fixed memory leak in compute_global_motion (!2395, #2248)
- Fixed integer overflow in subpel search to prevent an assertion (!2396, #2250)
- Clean up some undefined behavior (!2398)
- API change fixes now available in FFmpeg and GStreamer (#2249, #2252)

Known issue
- Hard to reproduce SIGTRAP being raised on macOS m1 with libavif's avifsvttest (#2251)

## [3.0.0] - 2025-2-18

API updates
- Refreshed API cleaning up unused fields, use stdbool type and cleanup redundant parameter in `svt_av1_enc_init_handle`
- Repositioned the presets and removed one preset resulting in a max preset of M10 in the current version
- Added temporal layer and averageQP fields in output picture structure, along with an option to specify a QP offset for the startup gop
- The API changes are not backwards compatible, more details about the changes can be found in issue 2217

Encoder
- Improved mid and high quality presets quality vs speed tradeoffs for fast-decode 2 mode:
-  ~15-25% speedup for M3-M10 at the same quality levels - (!2376 and !2343)
-  ~1% BD-rate improvement for presets M0-M2 - (!2376 and !2343)
- Repositioned the `fast-decode 1` mode to produce ~10% decoder cycle reduction vs `fast-decode 0` while reducing the BD-rate loss to ~1% (!2376)
- Further Arm Neon and SVE2 optimizations that improve high bitdepth encoding by an average of 10-25% for 480p-1080p resolutions beyond the architecture-agnostic algorithmic improvements since v2.3.0
- Ported several features from SVT-AV1-SPY fork to further improve the perceptual quality of `tune 0` mode
- Added an `avif` mode to reduce resource utilization when encoding still images

Cleanup Build and bug fixes and documentation
- third_party: Removed vendored cpuinfo, will attempt to use one provided by the system. For those without cpuinfo, it will be pulled and compiled into the library, similar to before
- Improved the unit test coverage for Arm Neon and SVE2 code
- Updated documentation


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/multimedia/svt-av1/Makefile \
    pkgsrc/multimedia/svt-av1/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/multimedia/svt-av1/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/multimedia/svt-av1/buildlink3.mk
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/multimedia/svt-av1/patches/patch-third__party_cpuinfo_CMakeLists.txt \
    pkgsrc/multimedia/svt-av1/patches/patch-third__party_cpuinfo_src_init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/svt-av1/Makefile
diff -u pkgsrc/multimedia/svt-av1/Makefile:1.10 pkgsrc/multimedia/svt-av1/Makefile:1.11
--- pkgsrc/multimedia/svt-av1/Makefile:1.10     Wed Aug 20 11:35:07 2025
+++ pkgsrc/multimedia/svt-av1/Makefile  Sat Aug 30 04:40:05 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2025/08/20 11:35:07 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2025/08/30 04:40:05 ryoon Exp $
 
-DISTNAME=      svt-av1-2.3.0
+DISTNAME=      svt-av1-3.1.2
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITLAB:=AOMediaCodec/}
 EXTRACT_SUFX=  .tar.bz2
Index: pkgsrc/multimedia/svt-av1/distinfo
diff -u pkgsrc/multimedia/svt-av1/distinfo:1.10 pkgsrc/multimedia/svt-av1/distinfo:1.11
--- pkgsrc/multimedia/svt-av1/distinfo:1.10     Fri Nov  1 08:05:44 2024
+++ pkgsrc/multimedia/svt-av1/distinfo  Sat Aug 30 04:40:06 2025
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.10 2024/11/01 08:05:44 wiz Exp $
+$NetBSD: distinfo,v 1.11 2025/08/30 04:40:06 ryoon Exp $
 
-BLAKE2s (svt-av1-2.3.0.tar.bz2) = a2c7cfe255975a916f358e21d335d54a9c7b8a6b76bd3349566ed02a76291b89
-SHA512 (svt-av1-2.3.0.tar.bz2) = 943fb21ef1d9fb3bc3b6ce2c0180c4ce109be76c1a6d703b39eba8b94322fdc99b2f0c101cc6cd839e0c9bfea57dd161c1f10958c84fff10392767b6e1118b85
-Size (svt-av1-2.3.0.tar.bz2) = 10168419 bytes
+BLAKE2s (svt-av1-3.1.2.tar.bz2) = 86e2b0b08873fb3450a8bf5978df08e7cafee73f0a8db9d84752ec21be0ffa60
+SHA512 (svt-av1-3.1.2.tar.bz2) = d23327cf348d576643d6385f756d9354ed93801c99bf63c4fb049902f4fd2b81c816cacdcab71dffb1cc330385c89c5abef67b8f81d2abd69a70f01a3e55b25a
+Size (svt-av1-3.1.2.tar.bz2) = 10203273 bytes
 SHA1 (patch-CMakeLists.txt) = c9bf8c9628c51b63f9455706400e348faebd6ba0
 SHA1 (patch-Source_App_app__config.c) = e12eb168735cc99d7c72d5d9ae29650d3f9fc9e7
 SHA1 (patch-Source_App_app__config.h) = e27dcd0af9494be4a400b025780b4058c2deb9a9
-SHA1 (patch-third__party_cpuinfo_CMakeLists.txt) = 5afbc2a716568aa529e9af85fd716d405a2ad751
-SHA1 (patch-third__party_cpuinfo_src_init.c) = 26e8c0689ed9e7f7734c4cf7a3f7278fe3092fcb

Index: pkgsrc/multimedia/svt-av1/PLIST
diff -u pkgsrc/multimedia/svt-av1/PLIST:1.3 pkgsrc/multimedia/svt-av1/PLIST:1.4
--- pkgsrc/multimedia/svt-av1/PLIST:1.3 Wed Aug 21 17:21:44 2024
+++ pkgsrc/multimedia/svt-av1/PLIST     Sat Aug 30 04:40:05 2025
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.3 2024/08/21 17:21:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/08/30 04:40:05 ryoon Exp $
 bin/SvtAv1EncApp
+include/svt-av1/EbConfigMacros.h
 include/svt-av1/EbDebugMacros.h
 include/svt-av1/EbSvtAv1.h
 include/svt-av1/EbSvtAv1Enc.h
 include/svt-av1/EbSvtAv1ErrorCodes.h
-include/svt-av1/EbSvtAv1ExtFrameBuf.h
 include/svt-av1/EbSvtAv1Formats.h
 include/svt-av1/EbSvtAv1Metadata.h
 lib/libSvtAv1Enc.so
-lib/libSvtAv1Enc.so.2
+lib/libSvtAv1Enc.so.3
 lib/libSvtAv1Enc.so.${PKGVERSION}
 lib/pkgconfig/SvtAv1Enc.pc

Index: pkgsrc/multimedia/svt-av1/buildlink3.mk
diff -u pkgsrc/multimedia/svt-av1/buildlink3.mk:1.2 pkgsrc/multimedia/svt-av1/buildlink3.mk:1.3
--- pkgsrc/multimedia/svt-av1/buildlink3.mk:1.2 Wed Aug 21 17:00:41 2024
+++ pkgsrc/multimedia/svt-av1/buildlink3.mk     Sat Aug 30 04:40:06 2025
@@ -1,12 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2024/08/21 17:00:41 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2025/08/30 04:40:06 ryoon Exp $
 
 BUILDLINK_TREE+=       svt-av1
 
 .if !defined(SVT_AV1_BUILDLINK3_MK)
 SVT_AV1_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.svt-av1+=        svt-av1>=1.4.1
-BUILDLINK_ABI_DEPENDS.svt-av1?=        svt-av1>=2.1.0
+BUILDLINK_API_DEPENDS.svt-av1+=        svt-av1>=3.0.0
 BUILDLINK_PKGSRCDIR.svt-av1?=  ../../multimedia/svt-av1
 
 .endif # SVT_AV1_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index