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