naturalwill / simplest_media_play Goto Github PK
View Code? Open in Web Editor NEWThis project forked from leixiaohua1020/simplest_media_play
Examples about video/audio's playing
Home Page: http://leixiaohua1020.github.io/
This project forked from leixiaohua1020/simplest_media_play
Examples about video/audio's playing
Home Page: http://leixiaohua1020.github.io/
最简单的多媒体播放的例子 Simplest Media Play 雷霄骅 Lei Xiaohua [email protected] **传媒大学/数字电视技术 Communication University of China / Digital TV Technology http://blog.csdn.net/leixiaohua1020 本工程包含了使用各种API(Direct3D,OpenGL,GDI,DirectSound,SDL2)播放多媒体例子。 其中音频输入为PCM采样数据。输出至系统的声卡播放出来。 视频输入为YUV/RGB像素数据。输出至显示器上的一个窗口播放出来。 通过本工程的代码初学者可以快速学习使用这几个API播放视频和音频的技术。 一共包括了如下几个子工程: simplest_audio_play_directsound: 使用DirectSound播放PCM音频采样数据。 simplest_audio_play_sdl2: 使用SDL2播放PCM音频采样数据。 simplest_video_play_direct3d: 使用Direct3D的Surface播放RGB/YUV视频像素数据。 simplest_video_play_direct3d_texture:使用Direct3D的Texture播放RGB视频像素数据。 simplest_video_play_gdi: 使用GDI播放RGB/YUV视频像素数据。 simplest_video_play_opengl: 使用OpenGL播放RGB/YUV视频像素数据。 simplest_video_play_opengl_texture: 使用OpenGL的Texture播放YUV视频像素数据。 simplest_video_play_sdl2: 使用SDL2播放RGB/YUV视频像素数据。 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: Play RGB/YUV raw video data using SDL2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.