CMSV6Help Center
/
839 DOCS · 213 VIDEOS中文

Playback software 265 docking

Author 谢周轩Updated 2025-10-16 11:26:16Doc ID 2373140 words · 1 min readView original ↗

1. function description

Playback software 265 docking

2. Docking instructions

2.1The video format in the returned file information is 265

AVFILE_API int APICALL AVFILE_FEGetFileInfo(LONG_PTR lFileHandle, AVFILEInfo_S* pFileInfo);
typedef struct _tagAVFILEInfo_S
{
SYSTEMTIME tmBeg; // file start time
int nTotalMinSecond; // Total file duration in milliseconds
int nChannel; // Channel information
int nFileType; // file type, regular, alarm, all
unsigned __int64 u64BegPts; // Start timestamp information (the timestamp information of the first I frame)
unsigned __int64 u64EndPts; // end timestamp information
unsigned char ucFrameRate; // Frame rate information
unsigned the char ucVideoCodec; // The video encoding type. For more information, see AVFILE_VIDEO_CODER_TYPE.
char reserved[2];
} AVFILEInfo_S, * LPAVFILEInfo_S;
AVFILE_FEGetFileInfo interface returns the correct video format
ucVideoCodec=AVFILE_VIDEO_CODER_TYPE_H265

3. Precautions

**Download header file **
The latest header file definition, please download the attachment [AVFILE Def.zip] in the upper right corner of the document]

Source help.cmsv7.com
839 documents · 213 videos · docs.alwaycare.com