Skip to content

Instantly share code, notes, and snippets.

@javiersuazo
javiersuazo / merge.m
Created March 9, 2017 01:40
Merge videos on ios with audio and right orientation.
#import "MKOVideoMerge.h"
#import <AVFoundation/AVFoundation.h>
@implementation MKOVideoMerge
+ (void)mergeVideoFiles:(NSArray *)fileURLs
completion:(void(^)(NSURL *mergedVideoFile, NSError *error))completion {
NSLog(@"Start merging video files ...");