video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2021-05-25 7950b86a4bf821e126d5e5659b772ce32faa1445
bug fixed declaration
2个文件已修改
4 ■■■■ 已修改文件
CMakeLists.txt 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
libcffmpeg.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
CMakeLists.txt
@@ -52,4 +52,4 @@
add_library(${BIN} SHARED ${FFMPEG_LIST})
target_link_libraries(${BIN} ${LINK_LIB} -lz pthread dl rtspclient StreamParse)
target_link_libraries(${BIN} ${LINK_LIB} pthread dl rtspclient StreamParse)
libcffmpeg.h
@@ -16,7 +16,7 @@
typedef void (*lib_cffmpeg_run)(const cffmpeg, const char*);
typedef int (*lib_cffmpeg_fps)(const cffmpeg);
typedef void (*lib_cffmpeg_gb28181)(const cffmpeg);
typedef char * (*lib_cffmpeg_get_gb28181_pic)(const char *rtspUrl, int *retDataLen);
typedef char * (*lib_cffmpeg_get_gb28181_pic)(const char *rtspUrl, int *retDataLen, const int);
typedef void (*lib_cffmpeg_cpu)(const cffmpeg);
typedef void (*lib_cffmpeg_open_recorder)(const cffmpeg);
typedef void (*lib_cffmpeg_rec_duration)(const cffmpeg, const int, const int);