ffmpeg将h264和aac合成ts,内存输入输出
在内存中读取h264视频和aac音频,在内存中输出ts
AVOutputFormat *ofmt = NULL;
//Input AVFormatContext and Output AVFormatContext
AVFormatContext *ifmt_ctx_v = NULL, *ifmt_ctx_a = NULL,*ofmt_ctx = NULL;
AVPacket pkt;
原创
2016-05-13 17:05:25 ·
4564 阅读 ·
0 评论