• PUDN用户
  • Visual C++
  • 645KB
  • rar
  • 0
  • 10 积分
  • 2
  • 2018-11-17 03:50
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : NetRecVlcManage ======================================================================== AppWizard has created this NetRecVlcManage application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your NetRecVlcManage application. NetRecVlcManage.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. NetRecVlcManage.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CNetDVRApp application class. NetRecVlcManage.cpp This is the main application source file that contains the application class CNetDVRApp. NetRecVlcManage.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. NetRecVlcManage.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\NetRecVlcManage.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file NetRecVlcManage.rc. res\NetRecVlcManage.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ClsVlcRecordFileCir *pcls=GetNKFPtIndex(f_nIndex); ENCODER_INFO *pst=GetEncodeInfoWithListIndex(f_nIndex); //未发现返回0 CString strLink; if(pcls) { bool bRecordOK=pcls->RecordOK(); //BOOL BLinkLost=pcls->GetStateLinkLost(); //BOOL BVideo=pcls->GetStateNoVideo(); if(!bRecordOK != ConStreamStatusLinkOK) { LinkNkfIndexVideoStr(f_nIndex); //2009.06.16 strLink.Format("LinkRestart %s %s-%s Links=%d",pst->strLastRecordFileName,pst->sername,pst->url,pst->nLinkFailTimes); //DisplayLine(strLink); } else if(pst) { if(pst->nLinkFailTimes) { LinkNkfIndexVideoStr(f_nIndex); //2009.06.16 }; if(pst->nLinkFailTimes>ConDispLinkErrorTimes) { strLink.Format("LinkStr Error %s %s-%s Links=%d",pst->strLastRecordFileName,pst->sername,pst->url,pst->nLinkFailTimes); DisplayLine(strLink); } } if(pst->nLinkFailTimes) { bReturn=true; } } bool CNetDVRDlg::ConnectByUriNKF(const char *f_pcDest,const char *f_pcSou,int f_nIndex) { //检测是不用服务器 //先判断是否设置了单播,如果是的话,这个编码器将采用单播形式,而不管是否设置了 //转发服务器。 //m_nNkfRecordUseTranServer; //m_nNkfRecordLinkVideoIndex; bool bLinkOK=false; ASSERT(IndexIsValid(f_nIndex)); //CMXConnectionRequester *pclsReqest=GetNKFRequestPtIndex(f_nIndex); ENCODER_INFO *pst=GetEncodeInfoWithListIndex(f_nIndex); //未发现返回0 if(pclsReqest && pst) { bool bUseMult=false; CString strSou; if(theApp.m_nNkfRecordUseTranServer && pst->nMultiIP && pst->nMultiPort) { bUseMult=true; CString strIP; strIP=ClsComFun::GetIPIntToStr(pst->nMultiIP); strSou.Format("mx://%s?port=%d&media=video&direction=output",strIP,pst->nMultiPort); } else { strSou=f_pcSou; } SentToSerLink(pst,true); try { pclsReqest->DisconnectByUri(f_pcDest); //Sleep(10); pclsReqest->ConnectByUri(f_pcDest,f_pcSou); pst->strLastLinkStrSou=f_pcDest; pst->strLastLinkStrDest=f_pcSou; pst->nLinkFailTimes=0; bLinkOK=true; } catch(...) { bLinkOK=false; pst->nLinkFailTimes++; } } return(bLinkOK); } ///////////////////////////////////////////////////////////////////////////// AppWizard creates one dialog class: NetDVRDlg.h, NetDVRDlg.cpp - the dialog These files contain your CNetDVRDlg class. This class defines the behavior of your application's main dialog. The dialog's template is in NetRecVlcManage.rc, which can be edited in Microsoft Visual C++. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named NetRecVlcManage.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system's current language, you will need to copy the corresponding localized resources MFC42XXX.DLL from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. For example, MFC42DEU.DLL contains resources translated to German.) If you don't do this, some of the UI elements of your application will remain in the language of the operating system. /////////////////////////////////////////////////////////////////////////////
    • 视频会议系统.rar
    • 视频捕获-mpeg4压缩-网络传送源码(VC 6.0).rar
      视频捕获-mpeg4压缩-网络传送源码(VC 6.0).rar
    • VOIP_SRC_ALL.rar
    • mpeg.zip
    • live.2008.01.04.tar.rar
    • handvu-beta3.tar.gz
      结合摄像头使用,用于手部位置跟踪,精准度非常高,另可以识别六种手势。其手位跟踪模块可作为手势识别软件的一个组成部分,内含非常详细的说明文档。编译该代码,需要 OpenCV 0.97 或更高版本的支持。在Windows下的编译顺序为cubicles工程、handvu工程,之后根据视频数据来源要求编译其他代码。建议使用 Visual Studio 2003 ,如果需要编译 DirectX 相关模块,则请安装 DirectX SDK 9.0 或更高版本。
    • encore50src.zip
    • 语音识别.rar
    • rtsp-1.0.1.tar.gz
    • mpge4.rar