心胸决定格局,眼界决定境界...

音频和视频合并

1
2
3
4
5
6
7
8
9
MP4Mix *mix = NULL;
mix = new MP4Mix();
bool mix_ret = true;
const char* h264_file ="temp/temp.h264";
const char* aac_file ="temp/temp.AAC";
const char* MP4_file ="temp/temp.MP4";
mix_ret = mix->Parse264File(h264_file);
mix_ret = mix->ParseaacFile(aac_file);
mix_ret = mix->WritePMP4File(MP4_file);

 

posted @   WELEN  阅读(347)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示