feat(ffmpeg): speed optimization and export memory buffer
This commit is contained in:
parent
3a5e26f37c
commit
ce911eaf8a
6 changed files with 28 additions and 53 deletions
|
|
@ -48,8 +48,6 @@ int create_codec_context(AVStream *video_stream, AVCodecContext **dec_ctx);
|
|||
|
||||
AVFrame *convert_frame_to_rgb(AVFrame *frame, int alpha);
|
||||
|
||||
int encode_frame_to_image(AVFormatContext *fmt_ctx, AVFrame *frame, AVPacket *pkt);
|
||||
|
||||
AVPacket create_packet();
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue