Reverse videos efficiently in Objective C
Objective-C Swift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
AVUtilities.h Initial commit May 17, 2015
AVUtilities.m Fix while loop May 20, 2015
AVUtilities.swift AVUtilities in swift. Dec 9, 2016 Damn my readme is bad May 17, 2015


Reverse and output a video file keeping the same compression, format, and frame rate as the source video.


#import "AVUtilities.h"

AVAsset *originalAsset = [[AVURLAsset alloc] initWithURL:[NSURL urlWithString:@"~/video.mp4"]];
AVAsset *reversedAsset = [AVUtilities assetByReversingAsset:originalAsset outputURL:[NSURL urlWithString:@"~/reversedvideo.mp4"]];


alt tag alt tag