Skip to content

Commit f40a845

Browse files
committed
version 0.11.0
- API changes: - Add [setActiveTracks()](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setactivetracksmediatype-type-const-stdsetint-tracks) - Deprecate `javaVM(JavaVM*)`, use `SetGlobalOption("jvm", void*)` instead. [See Wiki](https://github.com/wang-bin/mdk-sdk/wiki/Global-Options) - Deprecate `setLogLevel(LogLevel)`, use `SetGlobalOption("logLevel", name or LogLevel or int value)` instead. See Wiki](https://github.com/wang-bin/mdk-sdk/wiki/Global-Options) - Deprecate `Player.setVideoDecoders(...)` and `Player.setAudioDecoders(...)`, use `Player.setDecoders(MediaType, ...)` instead - Add VideoFrame.isValid() - Add ["dav1d"](https://github.com/wang-bin/mdk-dav1d) decoder. Default load libdav1d.5.dylib, libdav1d.so(android), libdav1d.so.5(linux), libdav1d.dll(windows), or set library name via environment var "DAV1D_LIB" - Support frame step forward via `seek(1, SeekFlag::FromNow|SeekFlag::Frame)`, also support N frame forward - `seek()` supports seeking to the last frame or the last key frame(has `SeekFlag::KeyFrame`) if target position > duration - Improve video decoder switch - setLogHandler(nullptr) once to log to std::clog, set again to disable log completely - Fix potential endless wait if stop playback in loop mode - Fix the first frame after seek is not the latest frame - Fix music cover image not rendered if prepare from pos > 0 - Fix wrong position() and prepared callback invoked multiple times if play with an audio track file - Fix the first frame rendered after seek is not the lastest frame - FFmpeg: - Support avdevice via "avdevice://format:filename" - Support avformat options via url query, starts with "mdkopt=avformat", e.g. "some_url?mdkopt=avformat&fflags=nobuffer"
1 parent 5044ca6 commit f40a845

File tree

3 files changed

+30
-7
lines changed

3 files changed

+30
-7
lines changed

Changelog.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,36 @@
11
Change log:
22

3+
0.11.0 - 2021-03-31
4+
5+
- API changes:
6+
- Add [setActiveTracks()](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setactivetracksmediatype-type-const-stdsetint-tracks)
7+
- Deprecate `javaVM(JavaVM*)`, use `SetGlobalOption("jvm", void*)` instead. [See Wiki](https://github.com/wang-bin/mdk-sdk/wiki/Global-Options)
8+
- Deprecate `setLogLevel(LogLevel)`, use `SetGlobalOption("logLevel", name or LogLevel or int value)` instead. See Wiki](https://github.com/wang-bin/mdk-sdk/wiki/Global-Options)
9+
- Deprecate `Player.setVideoDecoders(...)` and `Player.setAudioDecoders(...)`, use `Player.setDecoders(MediaType, ...)` instead
10+
- Add VideoFrame.isValid()
11+
- Add ["dav1d"](https://github.com/wang-bin/mdk-dav1d) decoder. Default load libdav1d.5.dylib, libdav1d.so(android), libdav1d.so.5(linux), libdav1d.dll(windows), or set library name via environment var "DAV1D_LIB"
12+
- Support frame step forward via `seek(1, SeekFlag::FromNow|SeekFlag::Frame)`, also support N frame forward
13+
- `seek()` supports seeking to the last frame or the last key frame(has `SeekFlag::KeyFrame`) if target position > duration
14+
- Improve video decoder switch
15+
- setLogHandler(nullptr) once to log to std::clog, set again to disable log completely
16+
- Fix potential endless wait if stop playback in loop mode
17+
- Fix the first frame after seek is not the latest frame
18+
- Fix music cover image not rendered if prepare from pos > 0
19+
- Fix wrong position() and prepared callback invoked multiple times if play with an audio track file
20+
- Fix the first frame rendered after seek is not the lastest frame
21+
- FFmpeg:
22+
- Support avdevice via "avdevice://format:filename"
23+
- Support avformat options via url query, starts with "mdkopt=avformat", e.g. "some_url?mdkopt=avformat&fflags=nobuffer"
24+
325

426
0.10.4 - 2021-02-17
527

628
- Support macCatalyst
7-
- Support vulkan on apple sillicon
29+
- Support vulkan on apple silicon
830
- VT decoder:
931
- Support VP9 on macOS 11+. Profile 0 and 2 are confirmed
1032
- Support more(all) semi-planar formats, output a format with the same chroma subsample size as original format, e.g. 'p410' for hevc yuv444p10le.
11-
- Fix high depth channel formats output error on apple sillicon. It's r10g10a10a2 for 10bit Y plane, but not support yet in renderer, so use p010('x420')
33+
- Fix high depth channel formats output error on apple silicon. It's r10g10a10a2 for 10bit Y plane, but not support yet in renderer, so use p010('x420')
1234
- Add "hardware" property to enable/disable hardware acceleration
1335
- Add "width" and "height" property
1436
- Support HDR in mkv
@@ -24,7 +46,7 @@ Change log:
2446
- Fix a blank frame in gapless playback
2547
- Fix 2 crashes in player dtor, 1 race in setNextMedia(), 1 race/crash if faile to open a media
2648
- Examples:
27-
- Enable glfw for apple sillicon
49+
- Enable glfw for apple silicon
2850

2951

3052
0.10.3 - 2020-12-31
@@ -54,7 +76,7 @@ Change log:
5476

5577
0.10.2 - 2020-11-18
5678

57-
- Support apple sillicon(not tested on real device)
79+
- Support apple silicon(not tested on real device)
5880
- Support swift language
5981
- Support cocoapods for macOS via `pod 'mdk'`
6082
- Add xcframework, including both macOS and iOS frameworks

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![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)
44

5-
[Nightly Build SDK](https://sourceforge.net/projects/mdk-sdk/files/nightly/)
5+
**Download **[Nightly Build SDK](https://sourceforge.net/projects/mdk-sdk/files/nightly/)
66

77
[Changelog](https://github.com/wang-bin/mdk-sdk/blob/master/Changelog.md)
88

@@ -61,6 +61,7 @@ https://github.com/wang-bin/mdk-sdk/wiki/TODO
6161
- swift: https://github.com/wang-bin/swiftMDK
6262
- Android java wrapper and example: https://github.com/wang-bin/mdk-android
6363
- MFT decoder module: https://github.com/wang-bin/mdk-mft
64+
- av1 decoder module: https://github.com/wang-bin/mdk-dav1d
6465
- sunxi decoder + renderer: https://github.com/wang-bin/mdk-sunxi
6566
- obs plugin: https://github.com/wang-bin/obs-mdk
6667
- examples for different platforms and gui toolkits: https://github.com/wang-bin/mdk-examples
@@ -75,4 +76,4 @@ https://github.com/wang-bin/mdk-sdk/wiki/TODO
7576
## License
7677
- Use for free: make sure your sdk is updated, otherwise you may see an QR image in the last frame. sdk will be released every month.
7778
- Free for GPL softwares, opensource projects, QtAV donors and contributors, no commercial softwares: you can acquire a key from me.
78-
- Commercial license: a key for an app for a single platform or multiple platforms.
79+
- Commercial license: a key for an app for a single platform or multiple platforms.

nuget/mdk.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>mdk</id>
5-
<version>0.10.4.0</version>
5+
<version>0.11.0.0</version>
66
<title>MDK</title>
77
<authors>Wang Bin</authors>
88
<owners>Wang Bin</owners>

0 commit comments

Comments
 (0)