Repository navigation
Releases
MPV-Andromeda v1.9.0 Alpha
Release Notes — MPV with AC-4, NVIDIA nvJPEG2000, VVdeC & AV2 dav2d (v1.9.0)
Overview
Release v1.9.0 adds native software decoding of next-generation AV2 video through the VideoLAN dav2d library (libdav2d), statically linked into FFmpeg with x86-64 AVX2/AVX-512 SIMD optimizations. The release includes a wide set of supported pixel layouts and HDR metadata, a dedicated AV2 parser for stream copy / remuxing, container registration for IVF, Matroska and MP4, smooth multi-frame playback in mpv, and updated component documentation and tools.
What's New & Improvements
1. AV2 Video Decoding via VideoLAN dav2d (libdav2d)
- Native
dav2dIntegration:- Adds software decoding for AV2 video (
AV_CODEC_ID_AV2, decoderlibdav2d). - Compiled with x86-64 AVX2 / AVX-512 SIMD optimizations.
- Statically linked into
avcodec-63.dll(--enable-libdav2d), so no additional runtime DLL is required.
- Adds software decoding for AV2 video (
- Pixel Format & Layout Support:
- Bit depths: 8-, 10- and 12-bit YUV.
- Chroma subsampling:
4:2:0,4:2:2,4:4:4. - Grayscale (
I400) and RGB (GBRP) layouts. - Zero-copy, 64-byte aligned frame allocation.
- Color, HDR & Side Data Metadata:
Dav2dContentInterpretationcolor / SAR / framerate metadata propagated toAVFrame.- HDR10 support:
MasteringDisplayandContentLightLevel. - ITU-T T.35 side data.
- Smooth Multi-Frame Playback:
- Added monotonic PTS tracking in
libdav2d.cfor multi-frame /show_existing_framepackets produced byavmenc. - Ensures smooth, full-framerate playback in
mpv.
- Added monotonic PTS tracking in
2. AV2 Parser & Container Support
- AV2 Parser (
av2_parser.c):- Detects AV2 keyframe OBUs (
OBU_CLOSED_LOOP_KF,OBU_OPEN_LOOP_KF) during stream copy / remuxing.
- Detects AV2 keyframe OBUs (
- Container Registration:
AV02— IVF / RIFF.V_AV2— Matroska, in both FFmpeg andmpv/demux/demux_mkv.c.av02— MP4 / ISOBMFF.
3. Packaging, Tools & Documentation
- Updated
yt-dlp.exeto the latest upstream release. - Updated
GEMINI.mdandREADME.mdwith AV2 (dav2d) documentation and component versions.
Checksums & Package Details
- Distribution Package:
MPV-AC4-nvJPEG2000-Windows-1.9.0-x64.zip - SHA-256:
<insert SHA-256 of the package> - Inner Directory:
MPV-AC4-nvJPEG2000-Windows-x64/ - Integrated Components:
mpv:v0.42.0-dev(bb4823e)FFmpeg:n9.0.2(Lei) with Dolby AC-4, nvJPEG2000, VVdeC & dav2d (AV2)nvJPEG2000:v0.12.0(0.12.0.58)VVdeC:v3.4.0-devdav2d:<insert dav2d version / commit>libplacebo:v7.387.0yt-dlp:<insert yt-dlp version>
MPV-Andromeda v1.8.0 Alpha
Release Notes — MPV with AC-4, NVIDIA nvJPEG2000 & VVdeC (v1.8.0)
Overview
Release v1.8.0 introduces native NVIDIA GPU Power Management Mode control directly integrated into the jpeg2000_nvjpeg decoder via NVAPI DRS (Driver Settings), replacing external Python and Lua helpers with a zero-overhead C implementation, adding verified status logging, and updating component documentation and badges.
Caution
Note: Maximum power consumption currently persists permanently in the NVIDIA driver profile after playing a JPEG 2000 video. This is an early alpha implementation, and automatic fallback to the normal power mode is still in development.
What's New & Improvements
1. Native NVAPI Power Management Control in nvjpeg2kdec
- Dynamic NVAPI DRS Runtime Loading:
- Dynamically loads
nvapi64.dllstrictly fromSystem32at runtime without external SDK dependencies. - Binds the driver profile (
FFmpeg nvjpeg2k - <exe>) by executable filename (e.g.,mpv.exe) rather than full directory path, so moving or renaming the player folder preserves the power-mode profile from the first launch. - Searches by full executable path first, then executable filename, and creates/updates the profile if missing, calling
SaveSettingsand verifying the resolved setting in a fresh DRS session.
- Dynamically loads
- Early High-Performance P-State Triggering:
- Elevates the GPU Power Management Mode to "Prefer Maximum Performance" (
Mode 1, setting0x1057EB71) once per process beforecuInitso CUDA initialization runs under the configured profile.
- Elevates the GPU Power Management Mode to "Prefer Maximum Performance" (
- Persistent Profile & Optional Restore (
nvapi_restore):- By default (
nvapi_restore=0), the profile setting is preserved on decoder close (decode_close) instead of resetting back to Adaptive on every exit. - Setting
nvapi_restore=1restores the previous setting (or removes the setting if none existed) upon decoder shutdown.
- By default (
- AVOption Interface:
-nvapi_pstate <int>:1: Prefer Maximum Performance (default).0: Adaptive / Normal.-1: Disabled (bypasses NVAPI control).
-nvapi_restore <0|1>:0: Keep profile setting on close (default).1: Restore previous setting on close.
2. Enhanced Terminal & Console Status Logging
- Added clear, verified status tags in terminal and console logs:
[OK]: Logged only after confirming the power mode in a new DRS session for the running executable path.[WARN]: Logged when NVAPI is unavailable, disabled, or when the written setting could not be verified for the executable path.[ERR]: Logged on driver API failure with explicit status codes.
3. Component Documentation & Release Badges
- Updated
README.mdwith official release badge for NVIDIA nvJPEG2000 v0.12.0 (nvjpeg2k_0.dllv0.12.0.58). - Updated project build status badge to v1.8.0.
Checksums & Package Details
- Distribution Package:
MPV-AC4-nvJPEG2000-Windows-1.8.0-x64.zip - SHA-256:
EF2992F962520BCEC3FF0F29A66506DAC83952DB9F5E38746ABDF202864E6581 - Inner Directory:
MPV-AC4-nvJPEG2000-Windows-x64/ - Integrated Components:
mpv:v0.42.0-dev(bb4823e)FFmpeg:n9.0.2(Lei) with Dolby AC-4 & nvJPEG2000nvJPEG2000:v0.12.0(0.12.0.58)VVdeC:v3.4.0-devlibplacebo:v7.387.0yt-dlp:2026.11.23
MPV-Andromeda v1.7.0
v1.7.0 — Fraunhofer VVdeC H.266/VVC Decoder Integration
New Features
H.266 / VVC software decoding via Fraunhofer VVdeC
- Integrated FraunhoferHHI VVdeC (
libvvdec) as an external FFmpeg decoder for H.266 / VVC video streams. - Applied the official Fraunhofer
v9-libvvdecpatch to FFmpeg 9.0.2, enabling--enable-libvvdecin the build configuration. libvvdec.dll(VVdeC 3.4.0-dev) is bundled in the player distribution.- mpv codec selection is patched so that
libvvdecis automatically preferred over the FFmpeg nativevvcdecoder when GPU hardware decoding is unavailable (which is the case on virtually all current consumer GPUs). The nativevvcdecoder remains as a secondary fallback, or can be forced with--vd=vvc.
Performance (Ryzen 5 9600X benchmarks)
| Video | 1 thread: native → libvvdec | auto (12 threads): native → libvvdec |
|---|---|---|
| 480p RA | 627 → 1133 fps (1.81×) | 2278 → 4595 fps (2.02×) |
| 720p RA | 195 → 290 fps (1.49×) | 740 → 1540 fps (2.08×) |
| 1080p RA | 157 → 285 fps (1.82×) | 530 → 975 fps (1.84×) |
| 1080p AllIntra | 49.9 → 68.3 fps (1.37×) | 255 → 447 fps (1.76×) |
| 1080p 28 Mbps | 23.5 → 38.3 fps (1.63×) | 139 → 225 fps (1.62×) |
| 4K RA | 39.8 → 74.5 fps (1.87×) | 139 → 217 fps (1.55×) |
| 4K AllIntra | 14.3 → 23.4 fps (1.64×) | 63.5 → 119 fps (1.88×) |
Patches added to repository
patches/ffmpeg-9.0.2-libvvdec.patch— FFmpeg 9.0.2 integration patch (Fraunhofer official, adapted)patches/mpv-0.42.0-libvvdec-priority.patch— mpvcommon/codecs.cpatch for automaticlibvvdecpriority
Component Versions
- mpv: v0.42.0-dev (commit
bb4823e) - FFmpeg: n9.0.2 ("Lei") — libavcodec 63.1.102
- VVdeC: 3.4.0-dev (Fraunhofer HHI)
- libplacebo: v7.387.0
- libass: 0.17.4
MPV-Andromeda v1.6.0
mpv AC-4 & nvJPEG2000 Edition v1.6.0
What's New and Fixed in v1.6.0 (Robustness, Error Recovery & Transitions):
-
T07 — Signature-Based Sticky Software Fallback & Frame-Only Corrupt Recovery:
- Frame-Only Corrupt Recovery (
NVJPEG2K_STATUS_BAD_JPEG = 3): Corrupt packets or transmission errors now fall back to the software decoder for the affected frame only (sticky = 0). Subsequent valid frames immediately resume GPU hardware decoding, fixing a long-standing issue where a single corrupted packet permanently crippled GPU acceleration for the remainder of playback. - Stream Signature Isolation (
NVJPEG2KStreamSignature): Features genuinely unsupported by GPU hardware (such as unsupported sub-sampling, signed samples, NLT curves, or tile offsets) engage sticky fallback tied exclusively to that stream signature (width,height,ncomp,rsiz,precision,sub_x,sub_y, etc.). - Adaptive Signature Resetting: If a stream switches resolution, bit-depth, profile, or format mid-stream, the sticky state automatically resets and retries GPU acceleration on the new signature.
- Seeking & Flush Support: Implemented the
.flush = nvjpeg2k_decode_flushcallback inFFCodec. Seeking viaavcodec_flush_buffersproperly clears internal software decoder state while preserving stream signature cache. - Proper Error Propagation: Internal and programming errors (
ALLOCATOR_FAILURE,INTERNAL_ERROR) return explicit error codes (AVERROR(ENOMEM),AVERROR_EXTERNAL) rather than silently masquerading as stream fallback.
- Frame-Only Corrupt Recovery (
-
T12 — Pixel Format Direct Assignment Contract & Dynamic Mid-Stream Transitions:
- FFmpeg 9.0.2 Architecture Alignment: Fully audited and verified direct
avctx->pix_fmtassignment against FFmpeg 9.0.2libavcodec/decode.crequirements. Settingpix_fmtand dimensions beforeff_get_buffer()strictly adheres to FFmpeg's image decoder design (matching nativejpeg2000dec.c). - 100% PixFmts Capability Containment: Verified that every format produced by
select_pixel_format()strictly belongs to the declarednvjpeg2k_pix_fmtscapability array. - Dynamic Format Transitions: Verified on NVIDIA GPU hardware that mid-stream transitions across bit depths (8/10/12/16-bit), color spaces (RGB
GBRP↔ YUVYUV444P↔ DCIXYZ12LE), chroma subsamplings (4:2:0 ↔ 4:2:2 ↔ 4:4:4), and resolution changes decode cleanly and automatically trigger filtergraph / VO reinitialization without crashes or frame drops. - Documentation: Added comprehensive documentation on pixel format handling and mid-stream transitions to
README.md.
- FFmpeg 9.0.2 Architecture Alignment: Fully audited and verified direct
-
Release Packaging Compliance:
- Release archive follows the dynamic naming convention:
MPV-AC4-nvJPEG2000-Windows-1.6.0-x64.zip. - Top-level directory inside the archive is statically named
MPV-AC4-nvJPEG2000-Windows-x64/. - Clean build without user configuration files (
.conf), user scripts (.lua), or temporary build artifacts. - Includes empty placeholder directories:
portable_config/,scripts/,script-opts/,shaders/.
- Release archive follows the dynamic naming convention:
MPV-Andromeda v1.5.0
mpv AC-4 & nvJPEG2000 Edition v1.5.0
What's New and Fixed in v1.5.0 (Color Metadata & Quality Enhancement):
-
T06 — JP2 / JPEG 2000 Color Metadata Propagation to AVFrame:
- Accurate Colorimetry Transfer: Full end-to-end propagation of stream and container color metadata into
AVFrame(colorspace,color_range,color_primaries,color_trc,chroma_location). - Standard sRGB Handling (
NVJPEG2K_COLORSPACE_SRGB): Correctly maps toAVCOL_SPC_RGB, full range (AVCOL_RANGE_JPEG), BT.709 primaries, and IEC 61966-2-1 sRGB TRC. Guarantees that container-level YUV matrices are never incorrectly applied to RGB pixel formats. - Standard sYCC Handling (
NVJPEG2K_COLORSPACE_SYCC): Fully compliant with ITU-T T.800 Annex I.7.3.2 — maps to BT.601 matrix (AVCOL_SPC_SMPTE170M), full range (AVCOL_RANGE_JPEG), BT.709 primaries, and sRGB TRC. Chroma siting defaults toUNSPECIFIED(as unspecified in T.800) instead of artificially forcingLEFT. - Digital Cinema XYZ (
AV_PIX_FMT_XYZ12LE): Strictly enforces SMPTE ST 428-1 (AVCOL_PRI_SMPTE428,AVCOL_TRC_SMPTE428,AVCOL_SPC_RGB,AVCOL_RANGE_JPEG,AVCHROMA_LOC_UNSPECIFIED), completely isolated from conflicting container YUV properties. - Elimination of Artificial Fallbacks: Removed unconditional defaults that forced
AVCOL_RANGE_MPEG(limited range) andAVCHROMA_LOC_LEFTwhen stream and container metadata were unspecified. Raw.j2kstreams cleanly reportUNSPECIFIEDunless explicitly defined by the container. - Inter-Frame Metadata Isolation: Decoder properties are set directly on output
AVFrameinstances without mutatingAVCodecContext, preventing cross-frame metadata leakage.
- Accurate Colorimetry Transfer: Full end-to-end propagation of stream and container color metadata into
-
T13 — cuMemAllocPitch 2D Pitch Alignment Audit:
- Confirmed strict adherence to NVIDIA CUDA 2D pitch alignment guidelines across all components, resolutions, and sub-sampled chroma planes.
-
Release Packaging Compliance:
- Release archive strictly follows the dynamic naming convention:
MPV-AC4-nvJPEG2000-Windows-1.5.0-x64.zip. - Top-level directory inside the archive is statically named
MPV-AC4-nvJPEG2000-Windows-x64/. - Clean build without user configuration files (
.conf), user scripts (.lua), or temporary directories. - Includes empty placeholder directories:
portable_config/,scripts/,script-opts/,shaders/.
- Release archive strictly follows the dynamic naming convention:
MPV-Andromeda v1.4.0
mpv AC-4 & nvJPEG2000 Edition v1.4.0
What's New and Fixed in v1.4.0 (nvJPEG2000 Robustness & Part 2 Compatibility):
-
T04 — nvJPEG2000 StreamParse API Contract & Native Color Space Query:
- Corrected
nvjpeg2kStreamParseinvocation parameters according to NVIDIA nvJPEG2000 documentation: replaced unsupported(1, 1)arguments with proper fallback semantics (save_metadata=0, save_stream=0). - Replaced manual codestream heuristics with the official
nvjpeg2kStreamGetColorSpace()API for robust detection of sRGB (NVCOL_RGB) and sYCC (NVCOL_YUV). - Preserved full compatibility and prioritized Cinema 2K/4K XYZ profiles and raw codestreams.
- Corrected
-
T05 — NLT Type 3 (Non-Linear Transformation) Compatibility & Safe Fallback:
- Added official NVIDIA nvJPEG2000 SDK v0.12 ABI alignment: defined
nvjpeg2kNLTType_t,nvjpeg2kNLTInfo_t, floating-point image types (FP16/FP32), and dynamically loadednvjpeg2kStreamGetComponentNLTInfo. - Pre-decode detection in
parse_hints: checks codestream marker segment0xFF54(J2K_NLT) and component NLT queries forTnlt == 3(floating-point / signed-magnitude binary complement). - Automatically switches to software decoding (
fallback = 1) before integer GPU decode is invoked, preventingNVJPEG2K_STATUS_INVALID_PARAMETERerrors. - Fixed FFmpeg DR1 fallback contract: resolved
av_assert0(frame->private_ref)assertion crash insw_fallbackby explicitly reattaching frame decode data viaff_attach_decode_data(avctx, frame).
- Added official NVIDIA nvJPEG2000 SDK v0.12 ABI alignment: defined
-
Additional Fix — Big-Endian JP2 Box Header Comparison (
find_codestream):- Fixed box type endianness comparison bug in
find_codestreamby replacing little-endianMKTAGwith exact big-endian byte matching (memcmpagainst"jP "and"jp2c"). - Resolves codestream offset parsing inside
.jp2container boxes, allowing seamless metadata and marker inspection across both ISO JP2 files and raw.j2kstreams.
- Fixed box type endianness comparison bug in
-
Clean Portable Release Bundle:
- Clean distribution strictly stripped of local user scripts (
.lua), temporary files, and configuration files (.conf). - Empty placeholder directories provided for user customization:
portable_config/,scripts/,script-opts/,shaders/. - Complete exclusion of any temporary build directories (
DECODIR).
- Clean distribution strictly stripped of local user scripts (
MPV-Andromeda v1.3.0
mpv AC-4 & nvJPEG2000 Edition v1.3.0
What's New and Fixed in v1.3.0 (nvJPEG2000 Stability & Performance):
-
T01 — Zero-Alloc Hot Path in VRAM (
jpeg2000_nvjpeg):- Added validation and caching for VRAM device buffers (
dev_buf) and pinned host RAM buffers (host_buf) prior to triggering allocation APIs. - Achieved zero overhead (0 allocations / 0 frees) during continuous frame decoding of matching resolution and pixel format.
- Implemented atomic buffer replacement with safe fallback to existing buffers if an allocation fails.
- Added validation and caching for VRAM device buffers (
-
T02 — Robust JP2 Box Container Parser (XLBox, LBox=0, Safe Bounds):
- Full 64-bit XLBox support (
LBox == 1) with safe length parsing viarb64(). - Proper handling of boxes spanning to end of stream (
LBox == 0). - Explicit validation and rejection of invalid box lengths (
2 <= LBox < 8). - Proper skipping of auxiliary metadata boxes (
xml,uuid,iptc) preceding thejp2ccodestream. - Eliminated signed integer overflow risks across buffer offsets by standardizing on unsigned 64-bit arithmetic (
uint64_t/size_t).
- Full 64-bit XLBox support (
-
T03 — Strict CUDA Context Lifecycle Management (
decode_close):- Rigorous tracking of thread CUDA context switching status (
1= context switched,0= already active,<0= error). - Context restoration only occurs if the context was genuinely switched by the decoder, preventing external CUDA contexts from being erroneously reset to
NULL. - Destruction of nvJPEG2000 decoder handles and device memory strictly inside the active CUDA context.
- Guaranteed deallocation of pinned host memory even when CUDA context activation fails.
- Rigorous tracking of thread CUDA context switching status (
-
Clean Portable Release Bundle:
- Clean distribution strictly stripped of local user scripts (
.lua), temporary archives (.rar), and configuration files (.conf). - Clean placeholder folders provided for user customization:
portable_config/,scripts/,script-opts/,shaders/.
- Clean distribution strictly stripped of local user scripts (
MPV-Andromeda v1.2.0
mpv AC-4 & nvJPEG2000 Edition v1.2.0 (FFmpeg 9.0.2 / mpv v0.42.0-dev)
This release introduces native GPU hardware-accelerated JPEG 2000 video decoding powered by NVIDIA's nvJPEG2000 library alongside the existing Dolby AC-4 audio support.
🚀 What's New in v1.2.0:
- NVIDIA GPU-Accelerated JPEG 2000 Decoder (
jpeg2000_nvjpeg):- Native FFmpeg
libavcodec/nvjpeg2kdec.cdecoder using dynamic runtime loading (LoadLibraryWonnvjpeg2k_0.dlland CUDA drivernvcuda.dll), removing compile-time CUDA toolkit dependencies. - Direct decoding into CUDA pinned host memory (
cuMemAllocHost), avoiding redundant copy operations. - Supports Digital Cinema Package (DCP) 12-bit XYZ colour space (
AV_PIX_FMT_XYZ12LE) with high-quality tone mapping performed directly in mpv'slibplaceboshader pipeline. - Also supports planar RGB (
AV_PIX_FMT_GBRP16LE) and Greyscale (AV_PIX_FMT_GRAY16LE). - Automatic graceful fallback to software JPEG 2000 decoding when run on non-NVIDIA GPUs.
- Native FFmpeg
- Portable Release Bundle:
- Bundled
nvjpeg2k_0.dlldirectly insideMPV PLAYER AC-4/. - Updated
package_portable.pyto preserve the GPU library across builds.
- Bundled
📌 Core Component Versions:
- mpv:
v0.42.0-dev(commitbb4823e) - FFmpeg:
n9.0.2 ("Lei")(libavcodec 63.1.102,libavformat 63.1.102,libavutil 61.1.102,libswresample 7.1.102) - nvJPEG2000:
nvjpeg2k_0.dll(NVIDIA CUDA GPU Acceleration) - libplacebo:
v7.387.0 - libass:
0.17.4
MPV-Andromeda v1.1.0
mpv AC-4 Edition v1.1.0 (mpv v0.42.0-dev / FFmpeg 9.0.2 "Lei")
Portable release of mpv media player (version v0.42.0-dev, git commit a61f6c3) featuring native decoding of Dolby AC-4 audio streams, upgraded to the latest stable FFmpeg 9.0.2 ("Lei") multimedia codebase (libavcodec 63.1.102, libavformat 63.1.102).
📌 Core Component Versions:
- mpv:
v0.42.0-dev(commita61f6c3) - FFmpeg:
n9.0.2 ("Lei")(libavcodec 63.1.102,libavformat 63.1.102,libavutil 61.1.102,libswresample 7.1.102) - libplacebo:
v7.387.0 - libass:
0.17.4
🚀 What's New in v1.1.0:
- FFmpeg 9.0.2 Upgrade: The entire multimedia pipeline of mpv is now powered by FFmpeg 9.0.2.
- AC-4 Decoder Port for FFmpeg 9.0:
- The native AC-4 decoder by Paul B Mahol (richardpl) from the librempeg project has been adapted for FFmpeg 9's new
FFCodecandFFCodecParserarchitecture. - Added
patches/ffmpeg-9.0.2-ac4.patchalongsidepatches/ffmpeg-7.1-ac4.patch.
- The native AC-4 decoder by Paul B Mahol (richardpl) from the librempeg project has been adapted for FFmpeg 9's new
- Clean Portable Directory Layout (shinchiro Style):
- The folder structure strictly keeps only
mpv.exe,mpv.com, icons, and standard subdirectories (fonts/,installer/,mpv/,script-opts/,scripts/). - All 39 runtime dependency DLLs are placed next to
mpv.exeand marked hidden (attrib +h) for an uncluttered look. - Player configuration files are read directly from
mpv/(mpv.conf,input.conf,fonts.conf).
- The folder structure strictly keeps only
- System Integration: Includes file association scripts
installer/mpv-install.batandmpv-uninstall.batfrom rossy/mpv-install.
📦 Package Contents:
MPV-AC4-Windows-x64.zip— Standalone portable player package for 64-bit Windows 10/11. Extract anywhere and launch.
🔗 References & Credits:
- Standard Specification: ETSI TS 103 190-1
- Decoder Source: librempeg/librempeg (authored by Paul B Mahol)
MPV-Andromeda v1.0.0
mpv AC-4 Edition v1.0.0 (Windows x64)
Initial release of mpv media player with native Dolby AC-4 audio decoding support via a ported decoder in FFmpeg 7.1.
Features:
- Native decoding of Dolby AC-4 audio streams (ETSI TS 103 190-1) without external filters.
- Tested with 2.0 Stereo (48000 Hz) and 5.1 Multichannel (ATSC 3.0 broadcast captures, e.g.
KDAF.ts). - Full support for NTSC pull-down 46034 Hz rate in ATSC 3.0 content (
ratio 25025:24000). - Portable folder structure based on shinchiro and rossy/mpv-install.