multimedia/x265: update 4.2 -> 4.3
Upstream changes:
* New: LoongArch64 support; foveated encoding (--fovea-gaze,
--fovea-delta, --fovea-sigma, --fovea-gaze-file), which spends
fewer bits away from a gaze point; selective, noise-based MCSTF
(--selective-mcstf, --mcstf-ref-range).
* MCSTF reworked: multi-threaded motion estimation and bilateral
filtering, AVX2 kernels (about 2x faster with threading).
* More AArch64 Neon/SVE/SVE2 optimizations; early-exit diamond
search in threaded ME.
* Fixes for ASAN/UBSAN and TSAN findings, threaded-ME and MCSTF
crashes, --pools thread counts, scenecut with --bframes 0, a
bitstream error with VUI timing info disabled, and CPU-feature
detection on FreeBSD (elf_aux_info).
* API: the temporalFilterStrength and searchRangeForLayer[012]
fields are gone from x265_param; X265_BUILD is now 217.
https://github.com/Multicorewareinc/x265/blob/4.3/doc/reST/releasenotes.rst
The project has moved to GitHub; distfiles are now published as
release assets there.
While here, pull in the fixes committed upstream since 4.3: a crash
when x265 is run without arguments, uninitialized DTS fields,
out-of-range mvd values in the bitstream, a motion-search offset
error for small rectangular PUs, recon-file bit-depth handling in
multi-lib builds, repeated x265_encoder_headers() calls accumulating
NALs, stack underflows in the AArch64 and RISC-V intra filters, an
AArch64 execute-only fix, __atomic builtins (fixing 32-bit builds),
and removal of a 25% AArch64 slowdown caused by a mutex added in 4.3.
The version string now counts these on top of the release and names
the newest of them: 4.3+14-d978725.
Also make x265_param_free() accept NULL. With SVT-HEVC enabled, every
CLI error exit crashed: the CLI frees its parameters, clears the
pointer, and then hands the NULL to x265_param_free() a second time.
And build the 10- and 12-bit libraries with the same VMAF setting as
the main one. ENABLE_LIBVMAF changes the layout of x265_api, so with
the VMAF option on, encoding at those depths with --csv called through
a NULL pointer and crashed.
PR: 299194
Co-Authored-By: Claude Opus 5.5 <effort=high>
multimedia/x265: update to 3.6
The latest edition provides fixes for the 32-bit ARM, and drops the need
for gcc/binutils on the 64-bit ARM (aarch64). Many thanks to fuz@ for
providing remote access to the two ARM-systems.
The libvmaf-support remains broken, because our port of the dependency
has been upgraded to 3.0.0, which is only supported by x265-4.0. Not
removing this option for the sake of those, who might have kept the
older vmaf on their systems.
The ASM is no longer an option -- it was always a requirement on some
platforms, and is very useful on others.
PR: 281680
Actually enable all of the user-selected bit-widths. Previously
we were building only for the highest-selected value.
PR: multimedia/x265
Submitted by: Jamie Landeg-Jones
Upgrade x265 from 2.6 to 2.8 and:
. Explicitly disable use of AVX with clang (see patch for links)
. Put non-SSL sources back on the list of MASTER_SITES
Bump PORTREVISION in the depending ports as appropriate.
- Update multimedia/x265 to 2.6
- Use the distfile provided by the VideoLAN project
- Add options for HI10P and HI12P (available only for amd64)
- Add DEBUG option
- Add OPTIMIZED_CFLAGS option
- Force using clang 5.0 on 10.4. Base provided clang fails during
compilation
- Chase shlib bump in dependent ports
PR: 225431
Submitted by: daniel.engberg.lists@pyret.net
Approved by: Maintainer timeout
Upgrade x265 from 1.8 to 1.9. Add the test-target to utilize upstream's bundled
tests and make myself the maintainer to deal with fallout, if any.
Bump PORTREVISION of the two other ports, which depend on x265 by default.
PR: 206864
Add multimedia/x265, the H.265/High Efficiency Video Coding (HEVC) codec.
High Efficiency Video Coding (HEVC) is the latest generation video compression
standard.
* This standard was developed by the ISO/IEC Moving Picture Experts Group
(MPEG) and ITU-T Video Coding Experts Group (VCEG), through their Joint
Collaborative Team on Video Coding (JCT-VC)
* HEVC is also known as ISO/IEC 23008-2 MPEG-H Part 2 and ITU-T H.265
* HEVC provides superior video quality and up to twice the data compression
as the previous standard (H.264/MPEG-4 AVC)
* HEVC can support 8K Ultra High Definition video, with a picture size up to
8192x4320 pixels
WWW: http://www.x265.org