音频和视频合并

  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);
原文地址:https://www.cnblogs.com/welen/p/3666320.html