文件名称:simplest_media_play

  • 所属分类:
  • 流媒体/Mpeg4
  • 资源属性:
  • [Windows] [Visual C] [源码] [C/C++]
  • 上传时间:
  • 2014-10-26
  • 文件大小:
  • 9.7mb
  • 下载次数:
  • 1次
  • 提 供 者:
  • s**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

简单的视音频播放示例

本工程包含了使用各种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

...................\...

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org