video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2021-05-25 470d4180e2b86eee41c9c14910e4131d16edb8b7
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