-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge 15 to 20 images #4
Comments
Hey @parvendraintigate did you find any solution for this? I also faced the same issue on my side. |
I have test it takes maximum 16 images to merge so you can create the different video of different images set and them merge according to them. |
But have to make final video of more than 16 selected images and video to combine at a time |
Finally I found out the cause and was my bad! The problem was that I was looping through AVMutableCompositionTrack. So that each video was on a different track and probably that caused a lack of resources. Right now I created only 2 tracks: 1 for video and 1 for audio. All my videos are stitched with time ranges. Just put this following code top of the loop let videoCompositionTrack = mixComposition.addMutableTrack(withMediaType: AVMediaType.video, |
thx @swami303 . |
i have used MergeVideos library making 15 to 20 images from video but issue come
Domain = AVFoundationErrorDomain Code=-11839 "Cannot Decode" UserInfo={NSLocalizedDescription=Cannot Decode, NSUnderlyingError=0x10e16d6c0 {Error Domain=NSOSStatusErrorDomain Code=-12913 "(null)"}, NSLocalizedRecoverySuggestion=Stop any other actions that decode media and try again., NSLocalizedFailureReason=The decoder required for this media is busy.}
The text was updated successfully, but these errors were encountered: