video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-11-29 b8c69e1f08f748dd19da3637f23bf680ad14b0ec
csrc/cffmpeg.cpp
@@ -110,8 +110,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){
    return CreateEncoder(w, h, fps, br, scale_flag, gi);
void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int pix_fmt, const int scale_flag, const int gi){
    return CreateEncoder(w, h, fps, br, pix_fmt, scale_flag, gi);
}
void c_ffmpeg_destroy_encoder(void *h){