video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-11-13 92e01d9faf8c02180361ca0a724324a53ac08229
csrc/cffmpeg.cpp
@@ -115,8 +115,8 @@
}
// pic encoder
void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int scale_flag, const int gi, const int fmt, const char *file){
    return CreateEncoder(w, h, fps, br, scale_flag, gi, fmt, file);
void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int scale_flag, const int gi){
    return CreateEncoder(w, h, fps, br, scale_flag, gi);
}
void c_ffmpeg_destroy_encoder(void *h){