h.265解码库,支持GPU和CPU
1.初始化
PlayerSDK_Init(CallBack callBackFunc,int nType);
callBackFunc 回调函数
nType 视频解码方式 CPU解码或者GPU解码
2.播放接口
PlayerSDK_Play(char* URL, long hWnd, int nType);
URL 播放地址
hWnd 播放句柄
nType 播放类型
接口返回播放句柄号
3.停止播放接口
PlayerSDK_Stop(long pHandle);
pHandle 播放接口返回的句柄号
4.打开或者关闭声音
PlayerSDK_OpenSound(long pHandle, bool bOpen);
5.添加水印
PlayerSDK_Mark(long pHandle, char* szMark, int nLeft, int nTop, int nRight, int nBottom);
6.抓图
PlayerSDK_CapturePic(long pHandle, char* szPictureName, int nType);
7.回放控制
PlayerSDK_PlayControl(long pHandle,int nCtrlCmd,int nValue);
如果对此项目感兴趣,一起交流开发遇到的问题。
邮箱:236009671@qq.com