Feature: Support recording video in remote desktop control

This commit is contained in:
yuanyuanxiang
2025-11-23 10:57:52 +01:00
parent 1e3aa8ff63
commit 9a640c0a1d
11 changed files with 3614 additions and 150 deletions

View File

@@ -1,34 +1,7 @@
#pragma once
#include "IOCPServer.h"
#include <Vfw.h>
#pragma comment(lib,"Vfw32.lib")
/************************************************************************
* @class CBmpToAvi
* @brief λͼתAVI֡
************************************************************************/
class CBmpToAvi
{
public:
CBmpToAvi();
virtual ~CBmpToAvi();
bool Open(LPCTSTR szFile, LPBITMAPINFO lpbmi);
bool Open(HWND m_hWnd, LPCTSTR szFile, LPBITMAPINFO lpbmi, BOOL bIsWebCam = FALSE)
{
return FALSE;
}
bool Write(LPVOID lpBuffer);
void Close();
private:
PAVIFILE m_pfile;
PAVISTREAM m_pavi;
int m_nFrames;
static AVISTREAMINFO m_si; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>Ǿ<EFBFBD>̬<EFBFBD><CCAC>
};
#include "Bmp2Video.h"
class CVideoCodec
{