{"id":19602607,"url":"https://github.com/wang-bin/mdk-sdk","last_synced_at":"2025-05-15T06:02:38.060Z","repository":{"id":37318672,"uuid":"176290555","full_name":"wang-bin/mdk-sdk","owner":"wang-bin","description":"multimedia development kit. download:","archived":false,"fork":false,"pushed_at":"2025-03-22T10:24:47.000Z","size":322,"stargazers_count":316,"open_issues_count":51,"forks_count":34,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-03T03:57:57.224Z","etag":null,"topics":["braw","d3d12","dcp","dolby-vision","hap","hdr","metal","multimedia","playback","r3d","video","video-player","vulkan"],"latest_commit_sha":null,"homepage":"https://sourceforge.net/projects/mdk-sdk/files/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wang-bin.png","metadata":{"files":{"readme":"README.Android.md","changelog":"Changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://www.paypal.me/ibingow"]}},"created_at":"2019-03-18T13:20:33.000Z","updated_at":"2025-04-03T00:19:23.000Z","dependencies_parsed_at":"2023-09-30T09:46:02.106Z","dependency_job_id":"21ad7039-cac3-46c0-8f4a-5b63dc234cfe","html_url":"https://github.com/wang-bin/mdk-sdk","commit_stats":{"total_commits":100,"total_committers":1,"mean_commits":100.0,"dds":0.0,"last_synced_commit":"7edf0c7583c86a06d5e47fd29a6c3a7269981bcb"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fmdk-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fmdk-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fmdk-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Fmdk-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang-bin","download_url":"https://codeload.github.com/wang-bin/mdk-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166864,"owners_count":21058481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["braw","d3d12","dcp","dolby-vision","hap","hdr","metal","multimedia","playback","r3d","video","video-player","vulkan"],"created_at":"2024-11-11T09:25:06.673Z","updated_at":"2025-04-10T06:18:52.702Z","avatar_url":"https://github.com/wang-bin.png","language":"Shell","funding_links":["https://www.paypal.me/ibingow"],"categories":[],"sub_categories":[],"readme":"## MDK: Multimedia Development Kit\n### [Changelog](https://github.com/wang-bin/mdk-sdk/blob/master/Changelog.md)\n### [API](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs)\n\n### Features\n- [Simple and powerful API set](https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs)\n- [Cross platform: Windows(x86, arm), UWP, Linux, macOS, Android, iOS, tvOS, visionOS, Raspberry Pi](https://github.com/wang-bin/mdk-sdk/wiki/System-Requirements)\n- [Hardware accelerated decoders for all platforms](https://github.com/wang-bin/mdk-sdk/wiki/Decoders)\n- [0-copy GPU rendering for all platforms and all renderers(Vulkan is WIP.)](https://github.com/wang-bin/mdk-sdk/wiki/Zero-Copy-Renderer)\n- [Dynamic OpenGL](https://github.com/wang-bin/mdk-sdk/wiki/OpenGL-Support-Matrix)\n- [OpenGL, D3D11, D3D12, Vulkan and Metal rendering w/ or w/o user provided context](https://github.com/wang-bin/mdk-sdk/wiki/Render-API)\n- 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) ([WinUI3](https://github.com/Damix48/WinUI3MDK/tree/main), [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), [.NET Avalonia](https://github.com/wang-bin/mdk-examples/tree/master/Avalonia) etc.) easily\n- [HDR display metadata passthrough, HDR \u003c=\u003e SDR tone mapping](https://github.com/wang-bin/mdk-sdk/wiki/HDR). 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), Android SurfaceView and more.\n- Dolby Vision rendering, including Profile 5. Support HEVC and AV1.\n- HEVC, VP8/9 transparent videos(alpha channel) support for all decoders and renderers\n- 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), [nvJPEG2000](https://github.com/wang-bin/mdk-nvjp2k)\n- Subtitle rendering, including ass, plain text, bitmap, closed caption\n- [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)\n- 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)\n- [Smart FFmpeg runtime, dynamic load, binary compatible with 4.0~7.x](https://github.com/wang-bin/mdk-sdk/wiki/FFmpeg-Runtime)\n\n\n## About SDK for Android\nSDK is built with\n- ffmpeg: https://sourceforge.net/projects/avbuild/files/android/ffmpeg-master-android-clang-lite-lto.tar.xz/download\n- ndk 28\n- requires ndk r23 and later because of ndk abi break in r23\n\nSDK can be used by any C or C++11 compiler, e.g. g++, clang\n\ndsym files are debug symbols, not required to deploy your programe.\n\n### [Supported Graphics APIs:](https://github.com/wang-bin/mdk-sdk/wiki/Render-API)\n- [OpenGL ES2/3](https://github.com/wang-bin/mdk-sdk/wiki/OpenGL-Support-Matrix)\n- Vulkan\n\n### OpenGL Context\n- Create by mdk: use SurfaceView's Surface to initialize rendering thread\n- Created by user: use GLSurfaceView, TextureView or whatever\n\n### [Supported Decoders:](https://github.com/wang-bin/mdk-sdk/wiki/Decoders)\n- FFmpeg\n- MediaCodec: FFmpeg mediacodec implementation\n- AMediaCodec: builtin mediacodec implementation, using libmediandk or java api\n\nMediaCodec/AMediaCodec decoder will not be destroyed if app go to background, and continues to work when resumed.\n\n### Audio Renderers\n- OpenSLES\n- AudioTrack (default)\n\n### Data Source\n- `content:`\n- `android.resource:`\n- `assets:`\n\n### Use in CMake Projects\n```\n\tinclude(mdk-sdk-dir/lib/cmake/FindMDK.cmake)\n\ttarget_link_libraries(your_target PRIVATE mdk)\n```\n\n### Qt qmake project\n```qmake\ninclude($$MDK_SDK_DIR/mdk.pri)\n```\n\n\n### Recommended settings\n```cpp\n    SetGlobalOption(\"JavaVM\", JvmPtr); // REQUIRED\n    player.setDecoders(MediaType::Video, {\"AMediaCodec\", \"FFmpeg\", \"dav1d\"});\n```\n\n## Source code:\n- [some examples using mdk sdk](https://github.com/wang-bin/mdk-examples)\n- [OBS Studio plugin](https://github.com/wang-bin/obs-mdk)\n- [QtMultimedia plugin](https://github.com/wang-bin/qtmultimedia-plugins-mdk)\n- [MFT decoder module](https://github.com/wang-bin/mdk-mft)\n- [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d)\n- [Android java wrapper and example](https://github.com/wang-bin/mdk-android)\n- [libmediandk and other java classes implemented in C++](https://github.com/wang-bin/AND)\n- [JNI Modern Interface](https://github.com/wang-bin/JMI)\n\nCopyright (c) 2016-2025 WangBin(the author of QtAV) \u003cwbsecg1 at gmail.com\u003e\nFree for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-bin%2Fmdk-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang-bin%2Fmdk-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-bin%2Fmdk-sdk/lists"}