video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-11-13 64fed650d429fdbdfa4011956a2c057dd0348914
cffmpeg.h
@@ -32,7 +32,7 @@
void* c_ffmpeg_decode(const char *file, const int gb, int *wid, int *hei);
// 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);
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);
void c_ffmpeg_destroy_encoder(void *h);
int c_ffmpeg_encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key);