• 大小: 2.18MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-13
  • 语言: 其他
  • 标签: FFmpeg  vc6.0  h264  

资源简介

通过ffmpeg开源库实现H264文件的编码和解码,并能将解码后的图像实时的显示,是一份适合初学者的好资料。

资源截图

代码片段和文件信息

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

#include “stdafx.h“
#include “H264Player.h“
#include “H264PlayerDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CH264PlayerApp

BEGIN_MESSAGE_MAP(CH264PlayerApp CWinApp)
//{{AFX_MSG_MAP(CH264PlayerApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CH264PlayerApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CH264PlayerApp object

CH264PlayerApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CH264PlayerApp initialization

BOOL CH264PlayerApp::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.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CH264PlayerDlg dlg;
m_pMainWnd = &dlg;
int 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;
}

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

     文件      67093  2006-02-09 16:28  H264Player\avcodec.h

     文件       2309  2006-02-13 16:26  H264Player\bswap.h

     文件      10509  2006-02-15 15:04  H264Player\cabac.h

     文件      32729  2006-07-28 16:44  H264Player\common.h

     文件        340  2006-02-14 14:12  H264Player\config.h

     文件      20451  2006-04-04 10:42  H264Player\dsputil.h

     文件      11418  2006-02-13 16:28  H264Player\golomb.h

     文件      60980  2006-02-14 09:26  H264Player\h264data.h

     文件     501154  2006-07-28 16:33  H264Player\H264DecLib.lib

     文件      20868  2009-09-11 14:11  H264Player\H264Player.aps

     文件       1189  2009-09-23 11:04  H264Player\H264Player.clw

     文件       2119  2006-07-28 15:52  H264Player\H264Player.cpp

     文件       5233  2006-07-28 17:14  H264Player\H264Player.dsp

     文件        545  2006-07-28 15:52  H264Player\H264Player.dsw

     文件       1368  2006-07-28 15:52  H264Player\H264Player.h

     文件     279552  2009-09-23 11:04  H264Player\H264Player.ncb

     文件      52736  2009-09-23 11:04  H264Player\H264Player.opt

     文件       1659  2009-09-23 10:00  H264Player\H264Player.plg

     文件       5413  2006-07-28 16:57  H264Player\H264Player.rc

     文件      24526  2009-09-23 09:59  H264Player\H264PlayerDlg.cpp

     文件       2023  2006-07-28 18:36  H264Player\H264PlayerDlg.h

     文件        784  2002-06-11 21:10  H264Player\inttypes.h

     文件      41509  2006-02-13 17:36  H264Player\mpegvideo.h

     文件       1708  2006-03-28 15:53  H264Player\rational.h

     文件       3651  2006-07-28 15:52  H264Player\ReadMe.txt

     文件     278528  2009-09-23 10:00  H264Player\Release\H264Player.exe

     文件       9466  2009-01-02 08:47  H264Player\Release\H264Player.obj

     文件    5716416  2009-01-02 08:47  H264Player\Release\H264Player.pch

     文件       2596  2009-01-02 08:47  H264Player\Release\H264Player.res

     文件      26659  2009-09-23 09:59  H264Player\Release\H264PlayerDlg.obj

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

评论

共有 条评论