文件名称:simplest_media_play
介绍说明--下载内容均来自于网络,请自行研究使用
简单的视音频播放示例
本工程包含了使用各种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视频像素数据。-Simple examples of video and audio playback of the project includes the use of various API (Direct3D, OpenGL, GDI, DirectSound, SDL2) play multimedia examples. Wherein the audio input is PCM sample data. Output to the system' s sound card to play out. Video input YUV/RGB pixel data. Output to a window on the display to play out. Through this project code beginners can quickly learn how to use these API to play video and audio technology. A total of several sub-projects include the following: simplest_audio_play_directsound: Use DirectSound playback of PCM audio sample data. simplest_audio_play_sdl2: Use SDL2 playing PCM audio sample data. simplest_video_play_direct3d: Play using the Direct3D Surface RGB/YUV video pixel data. simplest_video_play_direct3d_texture: use the Direct3D Texture playing RGB video pixel data. simplest_video_play_gdi: Play with GDI RGB/YUV video pixel data. simplest_video_play_opengl: Use OpenGL playback RGB/YUV video pixel data. simplest_video_play_opengl_tex
本工程包含了使用各种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视频像素数据。-Simple examples of video and audio playback of the project includes the use of various API (Direct3D, OpenGL, GDI, DirectSound, SDL2) play multimedia examples. Wherein the audio input is PCM sample data. Output to the system' s sound card to play out. Video input YUV/RGB pixel data. Output to a window on the display to play out. Through this project code beginners can quickly learn how to use these API to play video and audio technology. A total of several sub-projects include the following: simplest_audio_play_directsound: Use DirectSound playback of PCM audio sample data. simplest_audio_play_sdl2: Use SDL2 playing PCM audio sample data. simplest_video_play_direct3d: Play using the Direct3D Surface RGB/YUV video pixel data. simplest_video_play_direct3d_texture: use the Direct3D Texture playing RGB video pixel data. simplest_video_play_gdi: Play with GDI RGB/YUV video pixel data. simplest_video_play_opengl: Use OpenGL playback RGB/YUV video pixel data. simplest_video_play_opengl_tex
(系统自动生成,下载前可以参看下载内容)
下载文件列表
simplest_media_play\.gitignore
...................\AboutRawData.txt
...................\NocturneNo2inEflat_44.1k_s16le.pcm
...................\Readme.txt
...................\simplest_audio_play_directsound\.gitignore
...................\...............................\ReadMe.txt
...................\...............................\simplest_audio_play_directsound.cpp
...................\...............................\simplest_audio_play_directsound.vcxproj
...................\...............................\simplest_audio_play_directsound.vcxproj.filters
...................\...............................\simplest_audio_play_directsound.vcxproj.user
...................\simplest_audio_play_directsound.jpg
...................\....................sdl2\.gitignore
...................\........................\include\sdl\begin_code.h
...................\........................\.......\...\close_code.h
...................\........................\.......\...\SDL.h
...................\........................\.......\...\SDL_assert.h
...................\........................\.......\...\SDL_atomic.h
...................\........................\.......\...\SDL_audio.h
...................\........................\.......\...\SDL_bits.h
...................\........................\.......\...\SDL_blendmode.h
...................\........................\.......\...\SDL_clipboard.h
...................\........................\.......\...\SDL_config.h
...................\........................\.......\...\SDL_cpuinfo.h
...................\........................\.......\...\SDL_endian.h
...................\........................\.......\...\SDL_error.h
...................\........................\.......\...\SDL_events.h
...................\........................\.......\...\SDL_filesystem.h
...................\........................\.......\...\SDL_gamecontroller.h
...................\........................\.......\...\SDL_gesture.h
...................\........................\.......\...\SDL_haptic.h
...................\........................\.......\...\SDL_hints.h
...................\........................\.......\...\SDL_joystick.h
...................\........................\.......\...\SDL_keyboard.h
...................\........................\.......\...\SDL_keycode.h
...................\........................\.......\...\SDL_loadso.h
...................\........................\.......\...\SDL_log.h
...................\........................\.......\...\SDL_main.h
...................\........................\.......\...\SDL_messagebox.h
...................\........................\.......\...\SDL_mouse.h
...................\........................\.......\...\SDL_mutex.h
...................\........................\.......\...\SDL_name.h
...................\........................\.......\...\SDL_opengl.h
...................\........................\.......\...\SDL_opengles.h
...................\........................\.......\...\SDL_opengles2.h
...................\........................\.......\...\SDL_pixels.h
...................\........................\.......\...\SDL_platform.h
...................\........................\.......\...\SDL_power.h
...................\........................\.......\...\SDL_quit.h
...................\........................\.......\...\SDL_rect.h
...................\........................\.......\...\SDL_render.h
...................\........................\.......\...\SDL_revision.h
...................\........................\.......\...\SDL_rwops.h
...................\........................\.......\...\SDL_scancode.h
...................\........................\.......\...\SDL_shape.h
...................\........................\.......\...\SDL_stdinc.h
...................\........................\.......\...\SDL_surface.h
...................\........................\.......\...\SDL_system.h
...................\........................\.......\...\SDL_syswm.h
...................\........................\.......\...\SDL_test.h
...................\...