Home telegram - ffmpeg - packet
Post
Cancel

telegram - ffmpeg - packet

class FFMpegPacket

AVPacket 的封装

@property (nonatomic, readonly) int64_t pts;
@property (nonatomic, readonly) int64_t dts;
@property (nonatomic, readonly) int64_t duration;
@property (nonatomic, readonly) int32_t streamIndex;
@property (nonatomic, readonly) int32_t size;
@property (nonatomic, readonly) uint8_t *data;

- (void *)impl;
- (int32_t)sendToDecoder:(FFMpegAVCodecContext *)codecContext;
This post is licensed under CC BY 4.0 by the author.