From 6e388bf1ab7db6ad0524c8a5aab9ae641c81a50e Mon Sep 17 00:00:00 2001 From: wang-bin Date: Thu, 30 Jan 2025 20:36:20 +0800 Subject: [PATCH] v0.31.0 --- Changelog.md | 39 +++++++++++++++++++++++++++++++++++++++ README.Android.md | 2 +- README.Linux.md | 2 +- README.WinRT.md | 2 +- README.Windows.md | 2 +- README.iOS.md | 2 +- README.macOS.md | 2 +- README.md | 4 ++-- README.rpi.md | 2 +- README.sunxi.md | 2 +- nuget/README.md | 2 +- nuget/mdk.nuspec | 2 +- 12 files changed, 51 insertions(+), 12 deletions(-) diff --git a/Changelog.md b/Changelog.md index d9a7d39..58324c2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,4 +1,43 @@ Change log: +# 0.31.0 + +- API: + - Add color space and dolby vision profile in MediaInfo + - Add `VideoEffect::ScaleChannels` and `ShiftChannels` + - Add `Player.subtitleText()` to get subtitle text(except bitmap subtitles) with ass style or not, even if subtitle rendering is disabled by `setProperty("subtitle", "0")`. see https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#stdstring-subtitletextdouble-time---1-int-style--0-const +- EGL: + - Support HDR color spaces. `player.set(ColorSpaceUnknown)` will switch between HDR and SDR color space depending on current rendering video frame. Tested on android, may work on linux + - Enable HDR10 metadata pass through, can be disabled by env var `EGL_HDR_METADATA=0` + - Prefer rgb10a2 to avoid recreating context when switching between SDR and HDR + - Support KHR_no_config_context to avoid recreating context when switching between SDR and HDR +- Subtitle: + - Fix properties not applied if set before play + - Support splitting ASS rendered rgba image into several smaller regions when possible to reduce total size and gpu bandwidth. controlled by player property `subtitle.ass.regions.max` or env `ASS_REGIONS_MAX`, value is int. use `subtitle.ass.regions.debug` or env `ASS_REGIONS_DEBUG` to visualize regions and show debug messages. + - Keep colorspace the same as video, fix dark in bt2020 pq + - Add player property `subtitle.scale` to scale all kind of subtitles. default is 1.0, i.e. no scale + - Fix `subtitle.blur` is not applied because of a libass bug + - Add player property `subtitle.size`, default value is `video` to render in video frame size, other values will render in video renderer resolution + - Redraw subtitle if output resolution changed even if playback is paused, e.g. rendering in renderer resolution, and resize the renderer + - Redraw subtitle for any subtitle property change even if playback is paused. + - Render earlier + - Fix dead lock + - Fix unexpected null texture for some timestamp values and blinking + - Set ass storage size +- Dolby vision: Fix shader error if yuv sampler is used for MediaCodec decoder +- GL: add `glFinish()` before context destroyed +- D3D11: Improve UMA support check. UMA optimized texture download. can be disabled by env `GPU_OPTIMAL_DOWNLOAD=0` +- DXGI: Use the 1st screen's HDR capability +- Metal: Fix rendering mutiple overlayes +- MFT: return error if output type is not supported +- Fix wrong start time if `record()` multiple times. +- Fix buffered packets out of range of the value set by `setBufferRange()` +- Fix audio not decoded after seek if paused and result in a/v desync(apple only). +- Fix seek(if not started) callback may be called twice. +- Fix global subtitle options not applied, regression in 0.30.1 +- FFmpeg: + - Support webvtt in mkv. Patch is from avbuild, not merged by upstream. + - Workaround aac packets from rtsp have no keyframe if ffmpeg > 7.1 + # 0.30.1 diff --git a/README.Android.md b/README.Android.md index 950e90f..53d874b 100644 --- a/README.Android.md +++ b/README.Android.md @@ -81,5 +81,5 @@ include($$MDK_SDK_DIR/mdk.pri) - [libmediandk and other java classes implemented in C++](https://github.com/wang-bin/AND) - [JNI Modern Interface](https://github.com/wang-bin/JMI) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.Linux.md b/README.Linux.md index d6b3f5f..90c5682 100644 --- a/README.Linux.md +++ b/README.Linux.md @@ -122,5 +122,5 @@ include($$MDK_SDK_DIR/mdk.pri) - [R3D RAW](https://github.com/wang-bin/mdk-r3d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.WinRT.md b/README.WinRT.md index aef9d69..b9f2cc7 100644 --- a/README.WinRT.md +++ b/README.WinRT.md @@ -81,5 +81,5 @@ Optional: - [R3D RAW](https://github.com/wang-bin/mdk-r3d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.Windows.md b/README.Windows.md index 94931cb..b8a2ca2 100644 --- a/README.Windows.md +++ b/README.Windows.md @@ -105,5 +105,5 @@ N videos renderers for 1 player: multiwidnows url - [R3D RAW](https://github.com/wang-bin/mdk-r3d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.iOS.md b/README.iOS.md index 64126ee..1103f22 100644 --- a/README.iOS.md +++ b/README.iOS.md @@ -72,5 +72,5 @@ Choose any of - [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d) - [Blackmagic RAW](https://github.com/wang-bin/mdk-braw) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.macOS.md b/README.macOS.md index e1dda5d..c31634a 100644 --- a/README.macOS.md +++ b/README.macOS.md @@ -103,5 +103,5 @@ Choose any of - [R3D RAW](https://github.com/wang-bin/mdk-r3d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.md b/README.md index 1b480e1..1cda68f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://dev.azure.com/kb137035/mdk/_apis/build/status/mdk-CI-yaml?branchName=master)](https://dev.azure.com/kb137035/mdk/_build/latest?definitionId=2&branchName=master) -**Download** latest [Nightly Build SDK from sourceforge](https://sourceforge.net/projects/mdk-sdk/files/nightly/) or [github actions(not always latest)](https://nightly.link/wang-bin/mdk-sdk/workflows/build/master) +**Download** latest [Nightly Build SDK from sourceforge](https://sourceforge.net/projects/mdk-sdk/files/nightly/) or [github actions](https://nightly.link/wang-bin/mdk-sdk/workflows/build/master) Sourceforge[![Sourceforge](https://img.shields.io/sourceforge/dt/mdk-sdk)](https://sourceforge.net/projects/mdk-sdk/files) @@ -159,7 +159,7 @@ You may fail to run(or codesign) with default hardened runtime options because t ![DaKanji](https://dakanji.app/wp-content/uploads/thegem-logos/logo_a496404d3d63fd29f344146e428d0992_2x.png)](https://dakanji.app) [![Pimosa](https://pimosa.app/_next/image?url=%2Flogo_final.png&w=64&q=75)](https://pimosa.app) API Dash - + [easy live tv](https://github.com/aiyakuaile/easy_tv_live) [Kazumi](https://github.com/Predidit/Kazumi) diff --git a/README.rpi.md b/README.rpi.md index 5e4a357..d9cc550 100644 --- a/README.rpi.md +++ b/README.rpi.md @@ -80,5 +80,5 @@ include($$MDK_SDK_DIR/mdk.pri) - [MFT decoder module](https://github.com/wang-bin/mdk-mft) - [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/README.sunxi.md b/README.sunxi.md index 5d8962a..1da4cc8 100644 --- a/README.sunxi.md +++ b/README.sunxi.md @@ -77,5 +77,5 @@ if default audio device does not sound correctly, try to change the device name - [MFT decoder module](https://github.com/wang-bin/mdk-mft) - [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/nuget/README.md b/nuget/README.md index 39002f1..50b42c2 100644 --- a/nuget/README.md +++ b/nuget/README.md @@ -83,5 +83,5 @@ Optional: - [R3D RAW](https://github.com/wang-bin/mdk-r3d) -Copyright (c) 2016-2024 WangBin(the author of QtAV) +Copyright (c) 2016-2025 WangBin(the author of QtAV) Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors. \ No newline at end of file diff --git a/nuget/mdk.nuspec b/nuget/mdk.nuspec index 08e8c38..f90cf05 100644 --- a/nuget/mdk.nuspec +++ b/nuget/mdk.nuspec @@ -2,7 +2,7 @@ mdk - 0.30.1.0 + 0.31.0.0 MDK Wang Bin Wang Bin