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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It 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