AVRoundation Reverse Video

I tried to make the video in reverse order. While playing AVPlayer, I set rate = -1 so that it works in reverse format. But how to export this video? I looked through the docs. I read about avassetwrite, sambuffers, compositions, but did not find a way to do this. The links below link to me

http://www.raywenderlich.com/13418/how-to-play-record-edit-videos-in-ios

Reverse Video - https://github.com/mikaelhellqvist/ReverseClip

The above example no longer works in iOS 8. and doesn't even reverse the sound. If someone tells me a little, then I can do more. I’ve been stuck here from the last 5 days, but could not find the answer in the docs.

+6
source share
1 answer

You will probably have to play with AVAssetExportSession ( MOV to Mp4 video conversion iPhone Programmatically ) - if this does not work, then your option will be to use AVAssetReader and AVAssetWriter and change the frames between them (I don’t know the sound about it).

0
source

All Articles