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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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