video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-10-19 657185145236c12eb0fcf104b4712d8bb88efe16
csrc/cffmpeg.cpp
@@ -45,6 +45,11 @@
//////passive api
void c_ffmpeg_set_record_duration(const cffmpeg h, const int min, const int max){
    Wrapper *s = (Wrapper*)h;
    s->SetRecMinCacheTime(min);
}
void c_ffmpeg_build_recorder(const cffmpeg h, const char* id, const char *dir, int mind, int maxd, int audio){
    Wrapper *s = (Wrapper*)h;