Skip to content

whydna/Reverse-AVAsset-Efficient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description:

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

Usage:

#import "AVUtilities.h"

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

Result:

alt tag alt tag

About

Reverse videos efficiently in Objective C and Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published