Mdk Examples Save

media player examples based on mdk sdk. runs on all platforms. sdk download:

Project README

media player examples based on mdk sdk. runs on all platforms. Download the latest sdk

About libmdk sdk: https://github.com/wang-bin/mdk-sdk

Flutter

https://github.com/wang-bin/fvp

GLFW

glfwplay

  • has the most features
  • use glfw context as foreign context mode
  • use glfw window to create render loop and gl/d3d11/metal/vulkan context internally

multiplayers

1 player per window

multiwindows

many windows as render targets sharing the same player

PlayListAsOne

Gapless play/seek multiple videos like a single video

simple

minimal glfw example

macOS

  • use CAOpenGLLayer as foreign context
  • use NSView to create render loop and gl context internally

iOS

Legacy Obj-C OpenGLES2 example

Apple

Native

examples without platform specific code

  • mdkplay: a mininal player with internally created platform dependent window/surface and opengl context, also create render loop and gl context
  • DecodeFps: a tool to test decoder performance. `./DecodeFps [-c:v DecoderName] file"
  • offscreen: offscreen rendering guide

Qt

  • Integrate with QOpenGLWindow and QOpenGLWidget. Use gl context provided by Qt.
  • Render on QOpenGLWindow and QOpenGLWidget via gl context provided by Qt
  • QML example via QOpenGLFrameBuffer
  • RHI example: vulkan, d3d11, metal, opengl

SDL

Use gl context provided by SDL

SFML

  • Use gl context provided by SFML
  • Render to SFML texture

WindowsStore

UWP example, supports D3D11, and ANGLE GLES2

CoreWindowCx

  • use Windows::UI::Core::CoreWindow as platform dependent surface to create render loop and gl context internally
  • use App provided gl context

XamlCx

  • Use Windows::UI::Xaml::Controls::SwapChainPanel as platform dependent surface to create render loop and gl context internally
  • Switch between 2 render targets

Avalonia

use gl to render, (Only test on Windows x64).

Open Source Agenda is not affiliated with "Mdk Examples" Project. README Source: wang-bin/mdk-examples
Stars
55
Open Issues
0
Last Commit
1 week ago
License

Open Source Agenda Badge

Open Source Agenda Rating