• 大小: 41.39MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-17
  • 语言: C/C++
  • 标签: ffmpeg  mfc  vc2005  

资源简介

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_1\Bin_Debug\avcodec-54.dll

     文件     391168  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\avdevice-54.dll

     文件    1732096  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\avfilter-3.dll

     文件    2915328  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\avformat-54.dll

     文件     237056  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\avutil-52.dll

     文件    2908160  2013-11-23 08:36  FFMPEG_SDL_MFC_Player_1\Bin_Debug\Player.exe

     文件    6097780  2013-11-23 08:36  FFMPEG_SDL_MFC_Player_1\Bin_Debug\Player.ilk

     文件   11045888  2013-11-23 08:36  FFMPEG_SDL_MFC_Player_1\Bin_Debug\Player.pdb

     文件     177664  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\postproc-52.dll

     文件     303616  2012-01-15 11:49  FFMPEG_SDL_MFC_Player_1\Bin_Debug\SDL.dll

     文件     110080  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\swresample-0.dll

     文件     342016  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Debug\swscale-2.dll

     文件   15230976  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\avcodec-54.dll

     文件     391168  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\avdevice-54.dll

     文件    1732096  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\avfilter-3.dll

     文件    2915328  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\avformat-54.dll

     文件     237056  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\avutil-52.dll

     文件    3768312  2008-07-29 08:05  FFMPEG_SDL_MFC_Player_1\Bin_Release\mfc90.dll

     文件    3058688  2013-11-21 11:27  FFMPEG_SDL_MFC_Player_1\Bin_Release\Player.pdb

     文件     177664  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\postproc-52.dll

     文件     303616  2012-01-15 11:49  FFMPEG_SDL_MFC_Player_1\Bin_Release\SDL.dll

     文件     110080  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\swresample-0.dll

     文件     342016  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\Bin_Release\swscale-2.dll

     文件    2359350  2013-08-14 10:17  FFMPEG_SDL_MFC_Player_1\BMP_RESOURCES\22.bmp

     文件       8309  2009-10-02 13:35  FFMPEG_SDL_MFC_Player_1\FFMPEG_SDK_32\include\inttypes.h

     文件     168292  2013-06-25 10:32  FFMPEG_SDL_MFC_Player_1\FFMPEG_SDK_32\include\libavcodec\avcodec.h

     文件       3060  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\FFMPEG_SDK_32\include\libavcodec\avfft.h

     文件       2129  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\FFMPEG_SDK_32\include\libavcodec\dxva2.h

     文件      10659  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\FFMPEG_SDK_32\include\libavcodec\old_codec_ids.h

     文件       4007  2012-11-06 06:57  FFMPEG_SDL_MFC_Player_1\FFMPEG_SDK_32\include\libavcodec\vaapi.h

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

评论

共有 条评论