video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2022-04-26 ab3d17cd44625a762fc10f0f1fd8f2c46b980aff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _cffmpeg_common_hpp_
#define _cffmpeg_common_hpp_
 
#include <stdint.h>
#include <memory>
 
namespace ffwrapper{
    class CodedData;
}
// 缓存的视频帧
class CPacket{
public:
    std::shared_ptr<ffwrapper::CodedData> data;
    int64_t v_id;
    int64_t a_id;
    int64_t id;
};
 
#endif