You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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"
- 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
+
3
25
4
26
0.10.4 - 2021-02-17
5
27
6
28
- Support macCatalyst
7
-
- Support vulkan on apple sillicon
29
+
- Support vulkan on apple silicon
8
30
- VT decoder:
9
31
- Support VP9 on macOS 11+. Profile 0 and 2 are confirmed
10
32
- 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')
12
34
- Add "hardware" property to enable/disable hardware acceleration
13
35
- Add "width" and "height" property
14
36
- Support HDR in mkv
@@ -24,7 +46,7 @@ Change log:
24
46
- Fix a blank frame in gapless playback
25
47
- Fix 2 crashes in player dtor, 1 race in setNextMedia(), 1 race/crash if faile to open a media
26
48
- Examples:
27
-
- Enable glfw for apple sillicon
49
+
- Enable glfw for apple silicon
28
50
29
51
30
52
0.10.3 - 2020-12-31
@@ -54,7 +76,7 @@ Change log:
54
76
55
77
0.10.2 - 2020-11-18
56
78
57
-
- Support apple sillicon(not tested on real device)
79
+
- Support apple silicon(not tested on real device)
58
80
- Support swift language
59
81
- Support cocoapods for macOS via `pod 'mdk'`
60
82
- Add xcframework, including both macOS and iOS frameworks
0 commit comments