Tag: 每个游戏都有一个

合并video和audio:导出透明/空白video

我正在尝试合并video和audio。 如果我粘贴video在我的主要包,然后video合并罚款。 但是,如果我使用任何录制的video(来自每个播放),那么导出的video没有video就是audio。 我看了我的相关问题,但没有一个和我的问题一样。 任何想法,为什么我得到与video主要捆绑工作正常时,有声音的空白video? 是因为录制的video有一些不同的属性? 任何帮助,将不胜感激。 谢谢。 合并audio(来自AVRecorder的m4aaudio)和video(来自everplay统一的mp4video)代码: -(void)mergeAndSave//:(NSURL*) video_url { //Create AVMutableComposition Object which will hold our multiple AVMutableCompositionTrack or we can say it will hold our video and audio files. AVMutableComposition* mixComposition = [[AVMutableComposition alloc] init]; //Now first load your audio file using AVURLAsset. Make sure you give the correct path of […]