You can use AVMutableComposition
. To create the video track from your UIImage use AVAssetWriter
.
Take a look at this Beautiful Link : Create movie from array of images.
This is the Best Answer.
Вопрос
I am working on application in which I am suppose to implement the functionality where the user can merge images and videos to make a complete movie.
I know how to merge videos only using AVMutableComposition
, but how to merge images in it ?
We can make a video from the images using AVAssetWriter
but i guess we cannot add videos in it...
Can anyone help me out to sort out this issue ?
Решение
You can use AVMutableComposition
. To create the video track from your UIImage use AVAssetWriter
.
Take a look at this Beautiful Link : Create movie from array of images.
This is the Best Answer.