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 194
下载积分: 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 个回复

  • 开源的视频工具,里面包含ffmpeg,可以对音频文件进行切割等操作,有实现例子...
    开源的视频工具,里面包含ffmpeg,可以对音频文件进行切割等操作,有实现例子-Open source video tool, which contains ffmpeg, audio files can be cut and other operations, there are examples of implementation
    2022-07-11 07:14:55下载
    积分:1
  • AVI生产实例实例实例制作AVI AVI生产
    AVI制作实例 AVI制作实例-AVI Production example Production example AVI produced examples of AVI
    2023-02-08 09:20:03下载
    积分:1
  • 使用系统中所带的WINDOWS MEDIA PLAYER控件来创建播放器,它可以播放AVI和MPG格式的影像文件...
    使用系统中所带的WINDOWS MEDIA PLAYER控件来创建媒体播放器,它可以播放AVI和MPG格式的影像文件-use of the system brought WINDOWS MEDIA PLAYER controls to create media player, it can play AVI and MPG video formats
    2022-04-19 20:47:32下载
    积分:1
  • Intel 系结构MMXTM 技术开发指南
    Intel 体系结构MMXTM 技术开发指南-Intel architecture technology development MMXTM Guide
    2022-10-09 14:55:02下载
    积分:1
  • 单击鼠标左键调用this
    单击鼠标左键调用this->SetTimer(1500,NULL),时间间隔是0.5秒,每隔0.5秒就会发送WM_TIMER消息,调用函数ONTIMER,使M_INDEX增加,通过INVALIDATE函数触发对屏幕的刷新.-click the left mouse button call this-
    2022-05-06 17:10:29下载
    积分:1
  • Visual C engineering documents, including multimedia player source, it can be co...
    Visual C++工程文件,包含多媒体文件播放源程序,直接可以编译运行。-Visual C engineering documents, including multimedia player source, it can be compiled directly operation.
    2022-03-22 09:54:15下载
    积分:1
  • VC实现的画数学函数图像的程序
    VC实现的画数学函数图像的程序-VC paintings Mathematical Function Image procedures
    2022-01-22 17:04:56下载
    积分:1
  • 读卡器项目
    读卡器项目
    2022-05-20 13:14:15下载
    积分:1
  • Thank you download other people's two original author. Compiler Note :* 7 3...
    下载别人的谢谢原作者2. 程序编译说明:用3*7数组定义21个音阶。读取已有的自编的乐谱文件,按文中内容奏乐,若文中有不合规定的字符,显示”press any key to exit”。用getmsckey()函数来得到频率数组坐标,用play()函数获取拍数及频率数组坐标。-Thank you download other people"s two original author. Compiler Note :* 7 3 array definition 21 chromatic. Readers have written the scores of documents, according to the text content of music, if the text were irregularities of the characters, shows that the "press any key to exit." With getmsckey () function to get the frequency array coordinates with play () function to obtain the number and frequency shoot array coordinates.
    2022-08-03 17:26:46下载
    积分:1
  • dirextx9.0
    一个基于DirextX9.0的迷你播放器,非常小巧,支持全屏、最小界面播放模式,支持命令行、文件拖放打开方式,可打开常用的视频、音频文件。-DirextX9.0-based mini-player, a very small, to support full-screen, and the youngest player mode interface to support command line, file drag and drop open the way to open commonly used video and audio files.
    2022-03-16 09:02:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载