Skip to content

Commit

Permalink
version 0.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Nov 30, 2023
1 parent 87b8f05 commit c722b73
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
20 changes: 20 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
Change log:

## 0.23.1 - 2023-11-30

- HDR
- Fix scRGB white level scale
- Add ColorSpaceExtendedSRGB and ColorSpaceExtendedLinearSRGB. scRGB is used on windows, lumiance is scene referred, while ExtendedLinearSRGB(used on apple) is display referred
- Vulkan:
- Compress built-in spv via smol-v
- Add spv for scRGB output
- Support build shader via shaderc shared library(shaderc_shared.dll, libshaderc_shared.so{,.1}, libshaderc_shared{.1,}.dynamic) if no built-in spv found.
- Add `VideoStreamInfo.image` as audio cover art image
- Apply rotation in recorded video
- Add `MediaEvent{track, "decoder.video", "size", {width, height}}` indicates video frame size changed, value in MediaInfo is also updated
- Add player.setProperty("avcodec.opt_name", "opt_val") to apply AVCodecContext options. For video only codecs, you can also use player.setProperty("video.decoder", "opt_name=opt_val");
- Do not sync to audio if no audio decoded
- AMediaCodec: add property "name" to force a codec name, e.g. `AMediaCodec:name=c2.android.hevc.decoder`.
- MFT: fix d3d=11 driver bug (receive MF_E_TRANSFORM_STREAM_CHANGE endlessly)
- Fix `setBufferRange()` dropping mode incorrectly drops audio packets
- Fix some dead locks


## 0.23.0 - 2023-10-31

- HDR
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- [Dynamic OpenGL](https://github.com/wang-bin/mdk-sdk/wiki/OpenGL-Support-Matrix)
- [OpenGL, D3D11, D3D12, Vulkan and Metal rendering w/ or w/o user provided context](https://github.com/wang-bin/mdk-sdk/wiki/Render-API)
- Integrated with any platform native ui apps, gui toolkits or other apps via [OpenGL, D3D11/12, Vulkan and Metal](https://github.com/wang-bin/mdk-sdk/wiki/Render-API) ([OBS](https://github.com/wang-bin/obs-mdk), [Flutter](https://pub.dev/packages/fvp), [Qt](https://github.com/wang-bin/mdk-examples/tree/master/Qt), [SDL](https://github.com/wang-bin/mdk-examples/tree/master/SDL), [GLFW](https://github.com/wang-bin/mdk-examples/tree/master/GLFW), [SFML](https://github.com/wang-bin/mdk-examples/tree/master/SFML) etc.) easily
- [HDR display, HDR to SDR and SDR to HDR tone mapping](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#player-setcolorspace-value-void-vo_opaque--nullptr). You can use HDR display in [Qt6(6.6+ for macOS)](https://github.com/wang-bin/mdk-examples/tree/master/Qt/qmlrhi), [OBS Studio](https://github.com/wang-bin/obs-mdk) and more.
- [HDR display, HDR to SDR and SDR to HDR tone mapping](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#player-setcolorspace-value-void-vo_opaque--nullptr). You can use HDR display in [Qt6(6.6+ for macOS, 6.x for windows)](https://github.com/wang-bin/mdk-examples/tree/master/Qt/qmlrhi), [OBS Studio](https://github.com/wang-bin/obs-mdk) and more.
- [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)
- 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)
- Subtitle rendering, including ass, plain text, bitmap, closed caption
Expand Down Expand Up @@ -84,8 +84,6 @@ Install via [NuGet](https://www.nuget.org/packages/mdk) in Visual Studio for bot
#### Live streams (RTSP, RTMP etc.) low latency
```cpp
player.setProperty("avformat.fflags", "+nobuffer");
player.setProperty("avformat.analyzeduration", "10000");
player.setProperty("avformat.probesize", "1000");
player.setProperty("avformat.fpsprobesize", "0");
```

Expand Down Expand Up @@ -148,4 +146,4 @@ player.setProperty("avformat.fpsprobesize", "0");
- Other users without a key: make sure your sdk is updated, otherwise you may see an QR image in the last frame.


License key generator and validator is [open source](https://github.com/wang-bin/appkey)
License key generator and validator is [open source](https://github.com/wang-bin/appkey)
2 changes: 0 additions & 2 deletions nuget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ include($$MDK_SDK_DIR/mdk.pri)
#### Live streams (RTSP, RTMP etc.) low latency
```cpp
player.setProperty("avformat.fflags", "+nobuffer");
player.setProperty("avformat.analyzeduration", "10000");
player.setProperty("avformat.probesize", "1000");
player.setProperty("avformat.fpsprobesize", "0");
```

Expand Down
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.23.0.0</version>
<version>0.23.1.0</version>
<title>MDK</title>
<authors>Wang Bin</authors>
<owners>Wang Bin</owners>
Expand Down

0 comments on commit c722b73

Please sign in to comment.