-
ffmpeg 视频播放器 ffmpeg+sdl+draw(里面的注释非常详细,可以自己选择同步模式)
资源描述这是一个用于播放视频和音乐的播放器。如要使用请将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");//将要播放的音频文件或者视频文件加进
- 2023-05-28 05:10:22下载
- 积分:1
-
正弦波发生器软件,能够很方便的产生正弦波数据
正弦波发生器软件,能够很方便的产生正弦波数据-Sine wave generator software, can be easily generated sine wave data
- 2022-05-27 02:12:02下载
- 积分:1
-
声卡实时录音并显示波形
声卡实时录音并显示波形-audio recording and real-time waveform display
- 2022-05-21 01:35:39下载
- 积分:1
-
自动从视频摄像头捕捉视频,然后可保存为位图文件
自动从视频摄像头捕捉视频,然后可保存为位图文件-automatically from video camera to capture video and then kept for bitmap file
- 2022-05-21 01:42:28下载
- 积分:1
-
设X[0:n
设X[0:n-1]和Y[0:n-1]为两个数组,每个数组中都有n个已经排好序的数字,试设计一个O(logn)时间的算法,找出X和Y的2n个数的中位数。-Set X [0: n-1] and Y [0: n-1] for the two arrays, each array has n good order have been ranked the number and try to design a O (logn) time algorithm to find of the X and Y in the 2n-digit number.
- 2022-11-16 00:30:02下载
- 积分:1
-
video
视频-音频开发实用工程案例精选1-1〉随书程序-video-audio develop practical projects selected cases 1-1> procedures with books
- 2022-05-14 02:04:17下载
- 积分:1
-
ADPCM编码解码的一个程序
ADPCM编码解码的一个程序-ADPCM codec a procedure
- 2022-03-30 17:28:34下载
- 积分:1
-
一个新的纹理合成的上行采样算法,即利用现有的高分辨率的样本纹理作为先验引导条件,对合
成的低分辨率的纹理进行插值,获取更好的高分辨率纹理合成结果.该算法的主...
一个新的纹理合成的上行采样算法,即利用现有的高分辨率的样本纹理作为先验引导条件,对合
成的低分辨率的纹理进行插值,获取更好的高分辨率纹理合成结果.该算法的主要思想是基于联合双边滤波器进
行纹理合成上采样,对低分辨率合成纹理应用空间滤波,而将一相似的边界滤波联合地应用在高分辨率的样本纹
理上-Texture synthesis of a new sampling algorithm for the uplink, that is, use of the existing samples of high-resolution texture as a guide a priori conditions for the synthesis of low-resolution texture interpolation, to obtain better results of high-resolution texture synthesis. The main idea of the algorithm is based on the joint bilateral filter for texture synthesis on sampling, on the application of low-resolution texture synthesis of spatial filtering, and a similar use of joint border filtering samples in the high-resolution textures on the
- 2022-08-13 03:03:08下载
- 积分:1
-
一个方便手机铃声剪切小工具。特别手机用户剪切MP3某一部分做为手机铃声。...
一个方便手机铃声剪切小工具。特别手机用户剪切MP3某一部分做为手机铃声。-Ringtones shear a convenient gadget. Mobile phone users in particular a certain part of shear MP3 as ringtone.
- 2022-03-17 16:52:02下载
- 积分:1
-
mousewheel滚轮控件
一个可以令你的滚轮得以应用的VB控件
mousewheel滚轮控件
一个可以令你的滚轮得以应用的VB控件
-wheel controls a web site you can be applied to the wheel of VB Control
- 2022-01-28 22:10:24下载
- 积分:1