I know you could merge multiple clips and create a single video by appending one after other using AVFoundation classes- AVURLAsset, AVMutableComposition, AVMutableCompositionTrack etc.
There are apps like 'Video-Joiner' that do that.
What I want to do is to juxtaposition 2 videos.
My app idea - SelfInterviewer please don't steal :)
First I record video 1 using front facing camera standing left to the frame. Then video 2 standing to the right. In video 1 ask a question and in video 2 I answer.
When I merge, it should appear like I am being interviewed by myself.
I am almost sure its not feasible in iOS, just wanted to confirm.
Also, if it's a no go, I would be interested in any server-side solutions - Upload the two videos and accomplish the same. I think adobe premiere can do it. Not sure if they have any public API.
Appreciate any ideas.
Thanks.
Yes it is possible to merge 2 videos:
1. Add both assets to an AVMutableComposition at start time 0.
2. Set the preferred Transform to the tracks, in this example scale transform.
i found this link when im trying to do the same thing , But for me its not side by side , its video top of another video, You can do the same thing by this link
Video Manipulation