Skip to content

Commit

Permalink
v0.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jan 30, 2025
1 parent e4da83a commit 6e388bf
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 12 deletions.
39 changes: 39 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.Android.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion README.Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion README.WinRT.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ Optional:
- [R3D RAW](https://github.com/wang-bin/mdk-r3d)
Copyright (c) 2016-2024 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion README.Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion README.iOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion README.macOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
<a href="https://apidash.dev"><img src="https://apidash.dev/media/apidash.png" alt="API Dash" width=120 height=120 style="background-color:black"></a>
<a href="https://apps.apple.com/fr/app/iptv-smarters-player-expert/id1641944027"><img src="https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/5b/28/ca/5b28ca83-3685-f6fb-70eb-a0205c6f1a87/AppIcon-0-0-85-220-0-5-0-2x.png/460x0w.webp" width=120 height=120 style="background-color:black"></a>
[easy live tv](https://github.com/aiyakuaile/easy_tv_live)
[Kazumi](https://github.com/Predidit/Kazumi)
Expand Down
2 changes: 1 addition & 1 deletion README.rpi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion README.sunxi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion nuget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ Optional:
- [R3D RAW](https://github.com/wang-bin/mdk-r3d)
Copyright (c) 2016-2024 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Copyright (c) 2016-2025 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.
2 changes: 1 addition & 1 deletion nuget/mdk.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>mdk</id>
<version>0.30.1.0</version>
<version>0.31.0.0</version>
<title>MDK</title>
<authors>Wang Bin</authors>
<owners>Wang Bin</owners>
Expand Down

0 comments on commit 6e388bf

Please sign in to comment.