Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 AVMutableComposition 组合两种媒体(一个视频一个图形叠加)。该视频是使用 UIImagePickerController 捕获的。
视频录制良好,预览录制时有音频。
使用合成处理和导出会话。视频保存良好(带有覆盖),但没有音频。
IOS 7。
我并没有专门对作品中的音频做任何事情。我只是假设它会与视频文件“一起出现”。这准确吗,还是我需要在乐曲中创建专用音轨?
_麦克风
经过大量研究,我在另一个 Stackoverflow 问题(和答案)中找到了解决方案。
iOS AVFoundation 导出会话缺少音频。
非常感谢那个用户。