Skip to content

Commit 4638ca4

Browse files
committed
v0.30.0
1 parent c622a94 commit 4638ca4

File tree

9 files changed

+51
-15
lines changed

9 files changed

+51
-15
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
sshpass -p ${SF_PW} scp -o StrictHostKeyChecking=no mdk-sdk-${TARGET_OS}-${{ matrix.arch }}.tar.xz ${SF_USER}@frs.sourceforge.net:/home/frs/project/mdk-sdk/nightly/
100100
101101
iOS:
102-
runs-on: macos-latest
102+
runs-on: macos-15
103103
env:
104104
TARGET_OS: ${{ matrix.os }}${{ matrix.simulator }}
105105
LTO_SUFFIX: -lto
@@ -188,7 +188,7 @@ jobs:
188188
run: sshpass -p ${SF_PW} scp -o StrictHostKeyChecking=no mdk-sdk-${TARGET_OS}.tar.xz ${SF_USER}@frs.sourceforge.net:/home/frs/project/mdk-sdk/nightly/
189189

190190
Apple:
191-
runs-on: macos-latest
191+
runs-on: macos-15
192192
needs: [macOS, iOS]
193193
steps:
194194
- name: Setup Xcode
@@ -1113,7 +1113,8 @@ jobs:
11131113
uses: softprops/action-gh-release@v2
11141114
with:
11151115
draft: true
1116-
body_path: Changelog.md
1116+
body: "Changelog.md"
1117+
#body_path: Changelog.md
11171118
files: |
11181119
*.7z
11191120
*.xz

Changelog.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
Change log:
22

3+
# 0.30.0
4+
5+
- API:
6+
- Add `Player.appendBuffer()` to play streams with user provided data, for example data is from [websocket](https://github.com/wang-bin/mdk-examples/blob/master/Native/stream.cpp). media protocol is `stream`, i.e. `player.setMedia("stream:empty_or_any_string")`. `setTimeout()` can abort current playback if timedout to read data from user.
7+
- Plain text subtitle(srt for example) style can be changed by user via [subtitle properties](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#subtitle-properties)
8+
- Multi channels audio rendering, no downmix to stereo
9+
- Support dolby vision in mpeg ts
10+
- PulseAudio is the default audio render for linux
11+
- Improve audio renderer delay and AV sync
12+
- VT: Fix hardware decoder disabled if hvcC has no PS NALUs
13+
- D3D11:
14+
- Fix UMA check if run x64 on arm64 and failed to create textures
15+
- Disable cross context 0-copy for AMD gpus to avoid corrupt result on many gpus
16+
- Set usage for swapchain, fix back buffer RTV create error on some win7 devices
17+
- VAAPI:
18+
- Map YUYV fourcc, fix jpeg yuv 422 rendering
19+
- Convert to RGB with VPP if DRM to EGLImage is not possible(desktop gl + external only formats)
20+
- DRM Prime:
21+
- Error if no OpenGL ES2/3 context for external only formats, then VAAPI can fallback to suboptimal rendering instead of blank
22+
- Map more formats
23+
- Player property "audio.tracks", "video.tracks" and "subtitle.tracks" is same as `setActiveTracks()`, value is a int list string, e.g. `"0,1"`
24+
- Reset more callbacks before deleting player object to simplify user code
25+
- Fix undefined symbol on wayland < 1.10, compatible with more linux distributions, e.g. ubuntu 14.04
26+
- More packed yuv formats
27+
- MFT: fix d3d9 not tried if d3d11 is not supported
28+
- Fix null callback invoked if reset by user
29+
- Will try to load Ass.framework on apple OS except macOS, to be compatible with media-kit's frameworks
30+
- FFmpeg: Fix wromg abi version if avfilter is disabled when swresample is loaded and crash, e.g. qt6's ffmpeg dlls
31+
- Add nvjpeg2000 plugin for windows x64, requires cudart64_12.dll and nvjpeg2k_0.dll
32+
- Compatible with libc++20
33+
34+
335
# 0.29.1
436

537
- Android 64bit is built with 16KB page size support

README.Android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
## About SDK for Android
2323
SDK is built with
2424
- ffmpeg: https://sourceforge.net/projects/avbuild/files/android/ffmpeg-master-android-clang-lite-lto.tar.xz/download
25-
- ndk r25b for 32bit, ndk 27 for b4bit
25+
- ndk 27
2626
- requires ndk r23 and later because of ndk abi break in r23
2727

2828
SDK can be used by any C or C++11 compiler, e.g. g++, clang

README.Linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
## About SDK for Linux
2323
SDK is built by clang 20 with
2424
- ffmpeg: https://sourceforge.net/projects/avbuild/files/linux/ffmpeg-master-linux-clang-lite-lto.tar.xz/download
25-
- libc++ 18. You can use delete libc++.so from sdk and use system libc++
25+
- libc++ 20. You can use delete libc++.so from sdk and use system libc++
2626

2727
SDK can be used by any C or C++11 compiler, e.g. g++, clang
2828

README.iOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
https://github.com/wang-bin/swift-mdk
2424

2525
## About SDK for iOS
26-
SDK is built by Xcode 15 with
26+
SDK is built by Xcode 16 with
2727
- ffmpeg: https://sourceforge.net/projects/avbuild/files/iOS/ffmpeg-master-iOS-lite-lto.tar.xz/download
2828
- Minimal system: iOS 8.0
2929
- Support Metal renderer

README.macOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ https://github.com/wang-bin/swift-mdk
2929
- Support VP9 on macOS 11+
3030
- Support X11 if runtime libraries exist
3131

32-
SDK is built by Xcode 15 with
32+
SDK is built by Xcode 16 with
3333
- ffmpeg: https://sourceforge.net/projects/avbuild/files/macOS/ffmpeg-master-macOS-lite-lto.tar.xz/download
3434

3535
### macOS 10.15+

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://dev.azure.com/kb137035/mdk/_apis/build/status/mdk-CI-yaml?branchName=master)](https://dev.azure.com/kb137035/mdk/_build/latest?definitionId=2&branchName=master)
44

5-
**Download** [Nightly Build SDK](https://sourceforge.net/projects/mdk-sdk/files/nightly/)
5+
**Download** latest [Nightly Build SDK from sourceforge](https://sourceforge.net/projects/mdk-sdk/files/nightly/) or [github actions(not always latest)](https://nightly.link/wang-bin/mdk-sdk/workflows/build/master)
66

77

88
Sourceforge[![Sourceforge](https://img.shields.io/sourceforge/dt/mdk-sdk)](https://sourceforge.net/projects/mdk-sdk/files)
@@ -91,14 +91,14 @@ You may fail to run(or codesign) with default hardened runtime options because t
9191
### Recommended settings
9292

9393
- macOS, iOS: `player.setDecoders(MediaType::Video, {"VT", "hap", "FFmpeg", "dav1d"});`
94-
- Windows: `player.setDecoders(MediaType::Video, {"MFT:d3d=11", "D3D11", "CUDA", "hap", "FFmpeg", "dav1d"});`
94+
- Windows: `player.setDecoders(MediaType::Video, {"MFT:d3d=11", "D3D11", "DXVA", "CUDA", "hap", "FFmpeg", "dav1d"});`
9595
- Linux:
9696
```cpp
9797
// XInitThreads(); // If using x11. before any x11 api call. some gui toolkits already call this, e.g. qt, glfw
9898
SetGlobalOption("X11Display", DisplayPtr); // If using x11. Requred by VAAPI, VDPAU
9999
player.setDecoders(MediaType::Video, {"VAAPI", "VDPAU", "CUDA", "hap", "FFmpeg", "dav1d"});
100100
```
101-
- 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 h264, hevc hardware decoder and 0-copy rendering
101+
- 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 h264, hevc hardware decoder and use OpenGL ES2/3 0-copy rendering
102102
```cpp
103103
player.setDecoders(MediaType::Video, {"V4L2M2M", "FFmpeg:hwcontext=drm", "FFmpeg"});
104104
```
@@ -155,11 +155,14 @@ You may fail to run(or codesign) with default hardened runtime options because t
155155
<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>
156156
<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>
157157
<!-- <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> -->
158-
[![](https://teleguard.com/images/logo.png)](https://teleguard.com)[!
158+
[![teleguard](https://teleguard.com/images/logo.png)](https://teleguard.com)[!
159159
![DaKanji](https://dakanji.app/wp-content/uploads/thegem-logos/logo_a496404d3d63fd29f344146e428d0992_2x.png)](https://dakanji.app)
160-
[![Fimosa](https://fimosa.app/_next/image?url=%2Flogo_final.png&w=64&q=75)](https://fimosa.app)
160+
[![Pimosa](https://pimosa.app/_next/image?url=%2Flogo_final.png&w=64&q=75)](https://pimosa.app)
161+
<a href="https://apidash.dev"><img src="https://apidash.dev/media/apidash.png" alt="API Dash" width=120 height=120 style="background-color:black"></a>
161162
162163
164+
[easy live tv](https://github.com/aiyakuaile/easy_tv_live)
165+
[Kazumi](https://github.com/Predidit/Kazumi)
163166
[金嵘达科技](http://www.kingroda.com)
164167
[爱玩宝](https://www.aiwanbao.com)
165168

mdk.podspec

Lines changed: 2 additions & 2 deletions
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.29.1'
3+
s.version = '0.30.0'
44
s.summary = 'Multimedia Development Kit'
55
s.homepage = 'https://github.com/wang-bin/mdk-sdk'
66

@@ -16,8 +16,8 @@ Pod::Spec.new do |s|
1616
s.platform = :osx, :ios, :tvos, :visionos
1717
s.source = { :http => 'https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-apple.tar.xz' }
1818
s.vendored_frameworks = 'mdk-sdk/lib/mdk.xcframework'
19+
# s.osx.vendored_libraries = 'mdk-sdk/lib/mdk.xcframework/macos-arm64_x86_64/mdk.framework/Versions/A/libffmpeg.7.dylib', 'mdk-sdk/lib/mdk.xcframework/macos-arm64_x86_64/mdk.framework/Versions/A/libass.dylib', 'mdk-sdk/lib/mdk.xcframework/macos-arm64_x86_64/mdk.framework/Versions/A/libmdk-braw.dylib', 'mdk-sdk/lib/mdk.xcframework/macos-arm64_x86_64/mdk.framework/Versions/A/libmdk-r3d.dylib'
1920
s.osx.deployment_target = '10.13'
20-
# s.osx.vendored_libraries = 'mdk-sdk/lib/FFmpeg.xcframework/macos-arm64_x86_64/libffmpeg.7.dylib'
2121
s.ios.deployment_target = '12.0'
2222
s.tvos.deployment_target = '12.0'
2323
s.visionos.deployment_target = '1.0'

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

0 commit comments

Comments
 (0)