Putting Together Two 16:9 Videos into One 1:1 or 16:18 Video

Can anyone shed some light on AVMutableComposition for me? I’m trying to make a 1:1 or 16:18 video out of two 16:9 videos and one stereo audio track. In the newly created video, the first source video occupies the top half and the second source video, the bottom half. All source videos and audio have same duration and so does the newly created video, as they play simultaneously from .zero to asset.duration.

@sunyoon Please check out our AVFoundation tutorial when you get a chance:


I hope it helps!

This topic was automatically closed after 166 days. New replies are no longer allowed.