This project contains several examples about video/audio's playing. It uses different
API (Direct3D, OpenGL, GDI, DirectSound, SDL2) to output video/audio to system devices.
In audio examples, input data is PCM raw audio data.
In video examples, input data is YUV/RGB raw pixel data.
Through these examples, the beginner of video/audio programmer can learn the usage of
these API easyly.
It contains following programs:
simplest_audio_play_directsound: Play PCM raw audio data using DirectSound.
simplest_audio_play_sdl2: Play PCM raw audio data using SDL2.
simplest_video_play_direct3d: Play RGB/YUV raw video data using Direct3D's Surface.
simplest_video_play_direct3d_texture:Play RGB raw video data using Direct3D's Texture.
simplest_video_play_gdi: Play RGB/YUV raw video data using GDI.
simplest_video_play_opengl: Play RGB/YUV raw video data using OpenGL.
simplest_video_play_opengl_texture: Play YUV raw video data using OpenGL's Texture.
simplest_video_play_sdl2:

Features

  • Video Playing Through: GDI, Direct3D, OpenGL, SDL2
  • Audio Playing Through: DirectSound, SDL2
  • Already contains video raw data: RGB24, BGR24, BGRA, YUV420P
  • Already contains audio raw data: PCM

Project Samples

Project Activity

See All Activity >

Follow simplest media play

simplest media play Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of simplest media play!

Additional Project Details

Registered

2014-10-05