AV_AddPlayFile("邓紫棋-泡沫.mp3");//将要播放的音频文件或者视频文件加进-IMDN开发者社群-imdn.cn"> AV_AddPlayFile("邓紫棋-泡沫.mp3");//将要播放的音频文件或者视频文件加进 - IMDN开发者社群-imdn.cn">
登录
首页 » 多媒体 » ffmpeg 视频播放器 ffmpeg+sdl+draw(里面的注释非常详细,可以自己选择同步模式)

ffmpeg 视频播放器 ffmpeg+sdl+draw(里面的注释非常详细,可以自己选择同步模式)

于 2023-05-28 发布 文件大小:84.21 MB
0 200
下载积分: 2 下载次数: 1

代码说明:

资源描述这是一个用于播放视频和音乐的播放器。如要使用请将player整个文件夹放入到项目目录下,然后在项目中添加现有项,将player目录下的 assist.cpp assist.h DisPlayBase.cpp DisPlayBase.h PacketQueue.cpp PacketQueue.h PlayWnd.cpp PlayWnd.h VideoPlay.cpp VideoPlay.h 以上的文件加入到项目当中 然后在你需要用到播放器的类或者其他模块中, #include "player/VideoPlay.h" 这就行了,试一下编译吧! 当然,如果想要运行,还需要将所用的dll文件拷贝到exe同一目录下。 在player文件夹中还有三个文件夹,这三个文件夹内都有一个bin目录。如果你不知道要用到那些dll, 你就干脆将所有dll都复制到exe的目录里就行了。如果还不能播放视频,可能是因为你的机子没有安装directX,安装了就应该没问题了。 如果你建立的是控制台或者其他非窗口界面程序,那么,在程序中,你可以这样来创建一个对象 CVideoPlay* player = new CVideoPlay;//new一个对象出来 player->AV_AddPlayFile("邓紫棋-泡沫.mp3");//将要播放的音频文件或者视频文件加进

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 程序通过nescapement参数与norientation参数来实现字方向和角度的改变...
    程序通过nescapement参数与norientation参数来实现字体方向和角度的改变-procedure norientation nescapement parameters and parameters to achieve font direction and angle changes
    2022-01-25 21:02:17下载
    积分:1
  • 哦,不去,害怕死亡的我!你吃晚饭?
    呵呵,没有就好,吓死我了!你晚饭吃了没有?-Oh, no go, scared to death of me! You eat dinner?
    2023-04-03 21:05:04下载
    积分:1
  • VC++实现煤播放功能,可用于系统警报和播放器开发
    VC++实现煤体播放功能,可用于系统警报和播放器开发-VC coal player, and alarm system for player development
    2022-09-27 17:55:03下载
    积分:1
  • 用C++编写的转换软件可将任意格式文件转换为MP4
    用C++编写的媒体转换软件可将任意格式文件转换为MP4-prepared by the media conversion software can be arbitrary format conversion to MP4
    2022-03-31 04:41:50下载
    积分:1
  • PS流视频解析程序
    简单的C++解析ps视频流的代码,非常适合新手学习,了解ps视频流的协议格式的解析,以及打包程序。经过亲自测试,可以正常运行
    2023-01-25 14:15:03下载
    积分:1
  • 这个开源工程已经被libdvdnav取代,但仍颇有参考价值。 原始信息: libdvdplay is a simple library desig...
    这个开源工程已经被libdvdnav取代,但仍颇有参考价值。 原始信息: libdvdplay is a simple library designed for DVD navigation. It depends on libdvdread (which can optionally use libdvdcss). NOTE: libdvdplay is no longer under active development. VLC has switched to libdvdnav which appears to be more reliable for DVD navigation than libdvdplay. Of course you are still welcome to use, work or submit patches to libdvdplay. Currently supported platforms are Unix, Windows, BeOS and Mac OS X, but it should work on almost any platform. -the open-source project has been libdvdnav replaced, but still well worth consideration. The original information : libdvdplay is a simple library designed for DVD navigation. It depends on libdvdread (which ca n optionally use Libdvdcss). NOTE : libdvdplay is no longer under active developme nt. VLC has switched to libdvdnav which appears to be more reliable for DVD navigation than libd vdplay. Of course you are still welcome to use, work or submit patches to libdvdpl
    2022-02-04 19:52:49下载
    积分:1
  • linux中收看电视的软件,功能非常强大。是和xawtv相媲美的软件。...
    linux中收看电视的软件,功能非常强大。是和xawtv相媲美的软件。-watching TV software, which is very powerful. Xawtv is comparable to the software.
    2022-01-26 07:36:19下载
    积分:1
  • vc used to write the graphic design, functions, simple and easy
    用vc写的图案设计系统,功能完善,简单好用-vc used to write the graphic design, functions, simple and easy
    2022-03-18 13:35:39下载
    积分:1
  • 特点如下: 1 利用PC的声卡作收/发报设备, 无须其他接口 2 键盘/鼠标均可发报, 无须电键 3 可做Morse Code和字符间的相互转换...
    特点如下: 1 利用PC的声卡作收/发报设备, 无须其他接口 2 键盘/鼠标均可发报, 无须电键 3 可做Morse Code和字符间的相互转换 4 支持Koch练习模式及错码统计 对PC的要求: 开发时用的P3 900M, 估计P3以上的机器都没问题 支持DirectSound的双工声卡 另外, 我觉得我们HAM自己有能力和实力做一个"有用"的软件. 与硬件DIY一样, 软件DIY我认为 也算是一种有趣的玩法和有意义的尝试! 我也希望能寻找到有意共同研究/学习/开发的朋友, 当然如果能有前辈指导, 那就更好啦! 随学, 随用, 随改进, 把这个软件做成真正属于我们自己的软件, 相信这个过程一定其乐无穷! -err
    2022-04-21 02:44:04下载
    积分:1
  • 控制音量的组件: Properties Balance : Integer Specifies the balance of the mix...
    控制音量的组件: Properties Balance : Integer Specifies the balance of the mixer. Its value must between -100 and +100. Mute : Boolean Determines whether the mixer is mute. Volume : Integer Specifies the volume of the mixer. Its value must between 0 and +100.-volume control components : Properties Balance : Integer Specifies the balance of the mixer. Its value must between-100 and 100. Mute : Boolean Determines whether the mixer is mute. Volume : Integer Specifies the volume of the mixer. Its value must between 0 and 100.
    2023-01-07 11:15:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载