Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge 2 videos together like FaceTime

I have been working on an iPhone app, that will work similarly to FaceTime. I want to be able to take 2 videos and have one large and the other small like the FaceTime setup, but made into 1 video file for sending.

I know looking at the Video Editing code that you can merge files one after another, but I want to be able to play both videos simultaneously so that it will have the effect of two people talking to each other.

Any suggestions?

like image 362
SibSys Avatar asked Feb 11 '11 17:02

SibSys


People also ask

Can I merge 2 videos on iPhone?

You can combine videos on your iPhone into a single video file using Apple's free iMovie app. With iMovie, you can combine multiple videos, add transitions to the file, and export your final video all on your iPhone.

Can you FaceTime and watch a movie together?

One feature now available on FaceTime that can help you spend time together is SharePlay. This feature allows you to watch shows, movies, videos, or listen to music with other people over FaceTime.

Can we watch Netflix on SharePlay?

Netflix, Spotify and YouTube are a few of the apps that won't sync with SharePlay. Apple also notes that a subscription will be required for both parties in order to share streaming services (like HBO Max or Disney Plus) through SharePlay.


1 Answers

Try AVFoundation - it's the new library from Apple that lets you stitch-together multiple videos streams into a single video.

It's quite low-level, and there's no web tutorials out yet, but the WWDC video from 2010 has lots of detail on how to use it.

Requires OS 4 and a 3GS or better, though.

like image 120
Adam Avatar answered Oct 14 '22 19:10

Adam