video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2022-07-20 b3dd7bdf54aff8c85a36d9637258050e68820abd
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