Skip to content

Commit 53abd2f

Browse files
committed
version 0.28.0
1 parent a708cce commit 53abd2f

File tree

9 files changed

+35
-43
lines changed

9 files changed

+35
-43
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ jobs:
232232
name: mdk-sdk-macCatalyst-MinSizeRel
233233
- name: Install tools
234234
shell: bash
235-
run: brew install p7zip gnu-tar hudochenkov/sshpass/sshpass
235+
run: brew install hudochenkov/sshpass/sshpass
236236
- name: make XCFramework and SDK
237237
shell: bash
238238
run: |
@@ -617,7 +617,7 @@ jobs:
617617

618618

619619
ClangCL:
620-
runs-on: macos-latest
620+
runs-on: ubuntu-latest
621621
env:
622622
TARGET_OS: ${{ matrix.os }}
623623
VCDIR: '/tmp/winsysroot/msvcrt-dev'

Changelog.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
11
Change log:
2+
# 0.28.0
3+
4+
- Support [rendering in a foreign render pass](https://github.com/wang-bin/mdk-sdk/wiki/Render-API#render-in-a-foreign-render-pass) for all renderers. Previously only foreign opengl context are implemented. The performance should be better than rendering to texture. Now it's able to [render in a Qt RHI window](https://github.com/wang-bin/mdk-examples/tree/master/Qt/rhiwindow)
5+
- Support decoding A53 closed caption in all video decoders. Previously only supported by ffmpeg hwaccels and software decoder. Can be disabled by player property "cc=0".
6+
- Add new [player properties](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setpropertyconst-stdstring-key-const-stdstring-value): "buffer", "audio.decoders", "video.decoders". Convenient to control player in [flutter](https://pub.dev/packages/fvp).
7+
- Support video frames with negative stride, frames are vertically flipped
8+
- BRAW: support 4.0 SDK, compatible with 3.0
9+
- Improve NALU start code and EBP search
10+
- VT decoder:
11+
- fix hevc mpegts decode error after seek
12+
- max continuous session restart on error is 1 by default, controlled by property "error=1"
13+
- MFT: fix mf shutdown too early and crash when releasing a sample after stop
14+
- Fix CUDA decoder error after seek. It's a regression in the previous release.
15+
- OpenGL: Fix UBO error, requires glsl150(OpenGL 3.2, ES 3.0)
16+
- Fix alpha channel value of render target when blending subtitle, now output alpha >= background alpha
17+
- Fix multiple frames rendered if prepare() without play
18+
- Fix wrong position() value after prepare() without play
19+
- Fix buffering progress value
20+
- Fix play a new media if previously an individual audio track file/url is used
21+
- Fix endless wait when buffering on apple
22+
- Fix audio channels on apple
23+
- Fix no frame decoded if decoder changed when seeking
24+
- Vulkan: fix wsi extension check
25+
- Metal: fix layer colorspace and disable EDR for SDR
26+
- Fix wrong frame height if copy DX9/11 textures to host memory
27+
- Fix negative duration and start time for live streams, should be 0
28+
229

330
# 0.27.0
431

README.Android.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ include($$MDK_SDK_DIR/mdk.pri)
7171
player.setDecoders(MediaType::Video, {"AMediaCodec", "FFmpeg", "dav1d"});
7272
```
7373
74-
#### Live streams (RTSP, RTMP etc.) low latency
75-
```cpp
76-
player.setProperty("avformat.fflags", "+nobuffer");
77-
player.setProperty("avformat.fpsprobesize", "0");
78-
```
79-
80-
8174
## Source code:
8275
- [some examples using mdk sdk](https://github.com/wang-bin/mdk-examples)
8376
- [OBS Studio plugin](https://github.com/wang-bin/obs-mdk)

README.WinRT.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- [Seamless/Gapless media and bitrate switch for any media](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#player-setcolorspace-value-void-vo_opaque--nullptr)
1616
- Optimized Continuous seeking. As fast as mpv, but much lower cpu, memory and gpu load. Suitable for [timeline preview](https://github.com/wang-bin/mdk-sdk/wiki/Typical-Usage#timeline-preview)
1717
- Subtitle rendering, including ass, plain text, bitmap, closed caption
18-
- [Smart FFmpeg runtime, dynamic load, binary compatible with 4.0~7.x abi](https://github.com/wang-bin/mdk-sdk/wiki/FFmpeg-Runtime)
18+
- [Smart FFmpeg runtime, dynamic load, compatible with 4.0~7.x abi](https://github.com/wang-bin/mdk-sdk/wiki/FFmpeg-Runtime)
1919
- Professional codecs: GPU accelerated [HAP](https://github.com/wang-bin/mdk-sdk/wiki/Decoders#hap) codec rendering, [Blackmagic RAW](https://github.com/wang-bin/mdk-braw), [R3D](https://github.com/wang-bin/mdk-r3d)
2020

2121

@@ -55,13 +55,6 @@ include($$MDK_SDK_DIR/mdk.pri)
5555
player.setDecoders(MediaType::Video, {"MFT:d3d=11", "D3D11", "hap", "FFmpeg", "dav1d"});
5656
```
5757
58-
#### Live streams (RTSP, RTMP etc.) low latency
59-
```cpp
60-
player.setProperty("avformat.fflags", "+nobuffer");
61-
player.setProperty("avformat.fpsprobesize", "0");
62-
```
63-
64-
6558
### [Runtime Requirements](https://github.com/wang-bin/mdk-sdk/wiki/System-Requirements#uwp)
6659
Optional:
6760
- libEGL.dll, libGLESv2.dll, D3DCompiler_47/43.dll. Qt apps can use qt's dlls

README.Windows.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ include($$MDK_SDK_DIR/mdk.pri)
5757
player.setDecoders(MediaType::Video, {"MFT:d3d=11", "D3D11", "CUDA", "hap", "FFmpeg", "dav1d"});
5858
```
5959
60-
#### Live streams (RTSP, RTMP etc.) low latency
61-
```cpp
62-
player.setProperty("avformat.fflags", "+nobuffer");
63-
player.setProperty("avformat.fpsprobesize", "0");
64-
```
65-
6660
### [Runtime Requirements](https://github.com/wang-bin/mdk-sdk/wiki/System-Requirements#windows-desktop)
6761
- Vista+
6862
- ucrt, vc140+ runtime

README.iOS.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ include($$MDK_SDK_DIR/mdk.pri)
5353

5454
- macOS, iOS: `player.setDecoders(MediaType::Video, {"VT", "hap", "FFmpeg", "dav1d"});`
5555

56-
#### Live streams (RTSP, RTMP etc.) low latency
57-
```cpp
58-
player.setProperty("avformat.fflags", "+nobuffer");
59-
player.setProperty("avformat.fpsprobesize", "0");
60-
```
61-
6256
### Use in Xcode
6357
Choose any of
6458
- Add mdk.xcframework to your project(Embed & Sign)

README.macOS.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ include($$MDK_SDK_DIR/mdk.pri)
8181

8282
- macOS, iOS: `player.setDecoders(MediaType::Video, {"VT", "hap", "FFmpeg", "dav1d"});`
8383

84-
#### Live streams (RTSP, RTMP etc.) low latency
85-
```cpp
86-
player.setProperty("avformat.fflags", "+nobuffer");
87-
player.setProperty("avformat.fpsprobesize", "0");
88-
```
8984

9085
### Use in Xcode
9186
Choose any of

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ Install via [NuGet](https://www.nuget.org/packages/mdk) in Visual Studio for bot
107107
player.setDecoders(MediaType::Video, {"AMediaCodec", "FFmpeg", "dav1d"});
108108
```
109109

110-
#### Live streams (RTSP, RTMP etc.) low latency
111-
```cpp
112-
player.setProperty("avformat.fflags", "+nobuffer");
113-
player.setProperty("avformat.fpsprobesize", "0");
114-
```
115-
116110
## Open Source
117111
### Modules and Dependencies
118112
- [License generator and validator](https://github.com/wang-bin/appkey)
@@ -153,10 +147,12 @@ player.setProperty("avformat.fpsprobesize", "0");
153147
[![Flyability](https://www.flyability.com/hs-fs/hubfs/Brand_Identity/Flyability%20Logo%20Package/2%20-%20Horizontal/flyability_logo_horizontal_color_trimmed-1.png)](https://www.flyability.com)
154148
[![Quipu](http://www.quipu.eu/wp-content/uploads/2015/03/logo-quipu-innovative-solutions-in-medical-ultrasound.png)](www.quipu.eu)
155149
[![GyroFlow](https://gyroflow.xyz/assets/logo.png)](https://gyroflow.xyz)
156-
<a href="https://www.xnview.com/en/xnviewmp"><img class="logo" src="https://www.xnview.com/img/app-xnviewmp-512.webp" height=120 alt="XnViewMP"></a>
150+
<a href="https://www.xnview.com/en/xnviewmp"><img class="logo" src="https://www.xnview.com/img/app-xnviewmp-512.png" height=120 alt="XnViewMP"></a>
157151
[![www.connecting-technology](https://static.wixstatic.com/media/85712a_fe1dd2a84e17437e913dcfcdc89f40a4.jpg/v1/fill/w_460,h_240,al_c,q_80,usm_0.66_1.00_0.01,enc_auto/85712a_fe1dd2a84e17437e913dcfcdc89f40a4.jpg)](https://www.connecting-technology.com)
158152
<a href="https://apps.apple.com/us/app/kalismart/id1530155654"><img src="http://www.kalimind.com/assets/images/kalimind_logo.svg" alt="kalismart" height=120></a>
159-
<a href="https://smartplayer.ru"><img src="https://smartplayer.ru/assets/images/Header/logo.svg" alt="smartplayer" width=600 height=120 style="background-color:black"></a>
153+
<a href="https://smartplayer.ru"><img src="https://static.tildacdn.com/tild3437-3132-4139-b365-373030343131/Group_100.svg" alt="smartplayer" width=120 height=120 style="background-color:black"></a>
154+
<a href="https://smartplayer.ru"><img src="https://static.tildacdn.com/tild3730-3634-4463-a464-333634323465/Group_20.svg" alt="smartplayer" width=400 height=120 style="background-color:black"></a>
155+
<!-- <a href="https://smartplayer.ru"><img src="https://static.tildacdn.com/tild3431-3533-4461-b365-386335306263/Group_101.svg" alt="smartplayer" width=600 height=120 style="background-color:black"></a> -->
160156

161157

162158
[金嵘达科技](http://www.kingroda.com)

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

0 commit comments

Comments
 (0)