Skip to content

Commit 448ca8e

Browse files
committed
v0.35.0
1 parent 69886c7 commit 448ca8e

File tree

4 files changed

+34
-5
lines changed

4 files changed

+34
-5
lines changed

Changelog.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
Change log:
22

3+
# 0.35.0
4+
5+
- API:
6+
- Add `Player.onSubtitleText()`, a callback to be invoked when new subtile text lines are ready to display
7+
- Add global options `video.decoders.hint`, used by `player.setProperty("video.decoders", GetGlobalOption("video.decoders.hint"))`
8+
- More properties. `avsync.audio` value "false" can sync to a steady clock
9+
- VT:
10+
- Fix vp9 alpha layer is not decoded
11+
- HEVC alpha is always supported even for sw decoders
12+
- Support "only" & "delivery" to drop frames, known to work for jpeg and maybe more
13+
- Metal:
14+
- Fix renderer and layer colorspace do not match, e.g. bt2100pq is used for prores raw's bt2100 scene referred linear
15+
- Update renderer if "cc", "subtitle" property changed even when paused
16+
- D3D11:
17+
- Disable internal fence if kmt is used
18+
- Avoid creating rtv for decoder error
19+
- CUDA:
20+
- Fix gfx resources are not unregistered
21+
- Record active tracks only
22+
- Optimize vk spirv blobs
23+
- Fix macOS < 10.13 compatibility
24+
- Fix wrong subtitle aspect ratio in vo size mode
25+
- FFmpeg:
26+
- Fix SAR if only exists in container
27+
- Add property "avformat.input" to force input format, e.g. can be used by h264 raw stream over udp
28+
- BRAW:
29+
- Add `error` property
30+
31+
332
# 0.34.0
433

534
- API:
@@ -11,7 +40,7 @@ Change log:
1140
- VT decoder:
1241
- force prores raw output rgbaf16. Previously the default format is used, which is rgbaf16 on M1, `'b16q'`(a 4 planes bayer format) on M2+, but `'b16q'` is not supported by current renderers.
1342
- ProRes Raw support scene referred extended linear trc. Now Metal renderer has almost the same result as QuickTime player.
14-
- Add `scale` property, value can be `1`, `1/2`, `1/4` and `1/8`. Known used by ProRes and ProRes Raw
43+
- Add `scale` property to output a lower resolution, value can be `1`, `1/2`, `1/4` and `1/8`. Decoding speed is higher if resolution is lower. Known used by ProRes and ProRes Raw
1544
- Support apply decoder properties when decoding via `Player.setProperty("video.decoder", "key1=val1:key2=val2")`, and `Player.setProperty("avcodec.$opt", "val")`, for example `VT` and `FFmpeg` decoder `scale` option. Audio is the same.
1645
- XAudio2: support changing audio device even when playing
1746
- PulseAudio: Fix wrong volume from input event

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ You may fail to run(or codesign) with default hardened runtime options because t
9090

9191

9292
### Recommended settings
93-
93+
Since 0.35.0, `player.setProperty("video.decoders", GetGlobalOption("video.decoders.hint"))` will prefer hardware decoders over software ones, and the following `player.setDecoders()` is not required.
9494
- macOS, iOS: `player.setDecoders(MediaType::Video, {"VT", "hap", "FFmpeg", "dav1d"});`
9595
- Windows: `player.setDecoders(MediaType::Video, {"MFT:d3d=11", "D3D11", "DXVA", "CUDA", "hap", "FFmpeg", "dav1d"});`
9696
- Linux:
@@ -99,7 +99,7 @@ You may fail to run(or codesign) with default hardened runtime options because t
9999
SetGlobalOption("X11Display", DisplayPtr); // If using x11. Requred by VAAPI, VDPAU
100100
player.setDecoders(MediaType::Video, {"VAAPI", "VDPAU", "CUDA", "hap", "FFmpeg", "dav1d"});
101101
```
102-
- Raspberry Pi: use [mdk-sdk-linux.tar.xz](https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-linux.tar.xz/download), delete `libffmpeg.so.*` to use system ffmpeg to support hevc hardware decoder and use OpenGL ES2/3 0-copy rendering
102+
- Raspberry Pi: use [mdk-sdk-linux.tar.xz](https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-linux.tar.xz/download), delete `libffmpeg.so.*` to use system ffmpeg to support hardware decoder and use EGL for 0-copy rendering
103103
```cpp
104104
player.setDecoders(MediaType::Video, {"V4L2M2M", "FFmpeg:hwcontext=drm", "FFmpeg", "dav1d"});
105105
```

mdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'mdk'
3-
s.version = '0.34.0'
3+
s.version = '0.35.0'
44
s.summary = 'Multimedia Development Kit'
55
s.homepage = 'https://github.com/wang-bin/mdk-sdk'
66

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.34.0.0</version>
5+
<version>0.35.0.0</version>
66
<title>MDK</title>
77
<authors>Wang Bin</authors>
88
<owners>Wang Bin</owners>

0 commit comments

Comments
 (0)