非常完整的ffmpeg+mfc播放器


ffmpeg+mfc 实现的播放器 , 用VS2005写的 具有播放 暂停 停止 快进快退 设置音量大小 全屏等功能 非常适合入门者使用。
资源截图
代码片段和文件信息

// FFMPEG_SDL_MFC_Player_1.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “FFMPEG_SDL_MFC_Player_1.h“
#include “FFMPEG_SDL_MFC_Player_1Dlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CFFMPEG_SDL_MFC_Player_1App

BEGIN_MESSAGE_MAP(CFFMPEG_SDL_MFC_Player_1App CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()


// CFFMPEG_SDL_MFC_Player_1App construction

CFFMPEG_SDL_MFC_Player_1App::CFFMPEG_SDL_MFC_Player_1App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}


// The one and only CFFMPEG_SDL_MFC_Player_1App object

CFFMPEG_SDL_MFC_Player_1App theApp;


// CFFMPEG_SDL_MFC_Player_1App initialization

BOOL CFFMPEG_SDL_MFC_Player_1App::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles.  Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();

AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

CFFMPEG_SDL_MFC_Player_1Dlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件   15230976  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugavcodec-54.dll

     文件     391168  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugavdevice-54.dll

     文件    1732096  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugavfilter-3.dll

     文件    2915328  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugavformat-54.dll

     文件     237056  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugavutil-52.dll

     文件    2908160  2013-11-23 08:36  FFMPEG_SDL_MFC_Player_1Bin_DebugPlayer.exe

     文件    6097780  2013-11-23 08:36  FFMPEG_SDL_MFC_Player_1Bin_DebugPlayer.ilk

     文件   11045888  2013-11-23 08:36  FFMPEG_SDL_MFC_Player_1Bin_DebugPlayer.pdb

     文件     177664  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugpostproc-52.dll

     文件     303616  2012-01-15 11:49  FFMPEG_SDL_MFC_Player_1Bin_DebugSDL.dll

     文件     110080  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugswresample-0.dll

     文件     342016  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Debugswscale-2.dll

     文件   15230976  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseavcodec-54.dll

     文件     391168  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseavdevice-54.dll

     文件    1732096  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseavfilter-3.dll

     文件    2915328  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseavformat-54.dll

     文件     237056  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseavutil-52.dll

     文件    3768312  2008-07-29 08:05  FFMPEG_SDL_MFC_Player_1Bin_Releasemfc90.dll

     文件    3058688  2013-11-21 11:27  FFMPEG_SDL_MFC_Player_1Bin_ReleasePlayer.pdb

     文件     177664  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releasepostproc-52.dll

     文件     303616  2012-01-15 11:49  FFMPEG_SDL_MFC_Player_1Bin_ReleaseSDL.dll

     文件     110080  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseswresample-0.dll

     文件     342016  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1Bin_Releaseswscale-2.dll

     文件    2359350  2013-08-14 10:17  FFMPEG_SDL_MFC_Player_1BMP_RESOURCES22.bmp

     文件       8309  2009-10-02 13:35  FFMPEG_SDL_MFC_Player_1FFMPEG_SDK_32includeinttypes.h

     文件     168292  2013-06-25 10:32  FFMPEG_SDL_MFC_Player_1FFMPEG_SDK_32includelibavcodecavcodec.h

     文件       3060  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1FFMPEG_SDK_32includelibavcodecavfft.h

     文件       2129  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1FFMPEG_SDK_32includelibavcodecdxva2.h

     文件      10659  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1FFMPEG_SDK_32includelibavcodecold_codec_ids.h

     文件       4007  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1FFMPEG_SDK_32includelibavcodecvaapi.h

............此处省略203个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)