Skip to content

Commit

Permalink
version 0.13.0
Browse files Browse the repository at this point in the history
- API:
    - Add Player.setFrameRate(). Default is 25fps if no timestamp in stream.
- MFT:
    - Fix crash on some new drivers
    - Add "activate" property to select mft plugin
    - Add "threads" property for software decoding
- VT:
    - Support more 420, 422 16 bit semi-planar formats, use the closest format
    - Support HEVC with alpha
    - Support HEVC gray formats
- AMediaCodec:
    - Support decoding dolby vision profile 5
- Enable YUV with alpha for all renderers
- Support semi-planar yuv with alpha: NV12A, P416A, 16bit gray format L016
- GL, D3D11, Metal timestamp query
- Fix fail to render hw frame mapped to host for all renderers
- Fix wrong OpenGL blend state
- Fix D3D11 renderer crash on device change
- Use vulkan loader set by env var `QT_VULKAN_LIB` or `VULKAN_LIB`
- Fix CUDA decoder crash
- Fix subtitle endless decode loop at EOF
- Compat with latest FFmpeg 5.0 abi
  • Loading branch information
wang-bin committed Dec 26, 2021
1 parent 5b3a98d commit 61b812c
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
macOS:
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
runs-on: macos-latest
runs-on: macos-11
env:
TARGET_OS: 'macOS'
TARGET_ARCH: ${{ matrix.arch }}
Expand Down Expand Up @@ -65,13 +65,13 @@ jobs:
working-directory: mdk
run: |
pwd
cmake -GNinja -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
cmake -DWITH_X11=1 -GNinja -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
- name: Configure CMake
if: ${{ startsWith(matrix.arch, 'arm64') }} # arm64, arm64e
shell: bash
working-directory: mdk
run: |
cmake -GNinja -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
cmake -GNinja -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
- name: Build
shell: bash
working-directory: mdk
Expand All @@ -95,7 +95,7 @@ jobs:
macCatalyst:
runs-on: macos-latest
runs-on: macos-11
env:
TARGET_OS: 'macCatalyst'
strategy:
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
iOS:
runs-on: macos-latest
runs-on: macos-11
env:
TARGET_OS: iOS
strategy:
Expand Down
27 changes: 27 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
Change log:

0.13.0 - 2021-12-26

- API:
- Add Player.setFrameRate(). Default is 25fps if no timestamp in stream.
- MFT:
- Fix crash on some new drivers
- Add "activate" property to select mft plugin
- Add "threads" property for software decoding
- VT:
- Support more 420, 422 16 bit semi-planar formats, use the closest format
- Support HEVC with alpha
- Support HEVC gray formats
- AMediaCodec:
- Support decoding dolby vision profile 5
- Enable YUV with alpha for all renderers
- Support semi-planar yuv with alpha: NV12A, P416A, 16bit gray format L016
- GL, D3D11, Metal timestamp query
- Fix fail to render hw frame mapped to host for all renderers
- Fix wrong OpenGL blend state
- Fix D3D11 renderer crash on device change
- Use vulkan loader set by env var `QT_VULKAN_LIB` or `VULKAN_LIB`
- Fix CUDA decoder crash
- Fix subtitle endless decode loop at EOF
- Compat with latest FFmpeg 5.0 abi


0.12.0 - 2021-06-26

- API:
- Add Player.setVolume(float value, int channel) to control channel volume
- Deprecate setState(State), use set(State)
Expand Down
2 changes: 1 addition & 1 deletion README.iOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
https://github.com/wang-bin/swiftMDK

## About SDK for iOS
SDK is built by Xcode 12.4 with
SDK is built by Xcode 13.2.1 with
- ffmpeg: https://sourceforge.net/projects/avbuild/files/iOS/ffmpeg-master-iOS-lite.tar.xz/download
- Minimal system: iOS 8.0
- Support Metal renderer
Expand Down
2 changes: 1 addition & 1 deletion README.macOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ https://github.com/wang-bin/swiftMDK
- Support VP9 on macOS 11+
- Support X11 if runtime libraries exist

SDK is built by Xcode 12.4 with
SDK is built by Xcode 13.2.1 with
- ffmpeg: https://sourceforge.net/projects/avbuild/files/macOS/ffmpeg-master-macOS-lite.tar.xz/download

### macOS 10.15+
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.12.0.0</version>
<version>0.13.0.0</version>
<title>MDK</title>
<authors>Wang Bin</authors>
<owners>Wang Bin</owners>
Expand Down

0 comments on commit 61b812c

Please sign in to comment.