AVfoundation Reverse Video
Asked Answered
L

1

7

I tried to make video in reverse. While playing asset in AVPlayer i set the rate = -1 to make it work in reverse format. But how to export that video? I looked into docs. read about avassetwrite, sambuffers , compositions but didn't find any way to do this. Below links are refered by me

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

Reverse video demo - https://github.com/mikaelhellqvist/ReverseClip

Above example to no longer works in IOS 8. and even it is not reversing audio. If anyone give me little hint on it then i can do further. I am stuck up here from last 5 days but didn't find any answer in docs.

Legato answered 8/12, 2014 at 17:53 Comment(7)
Have you found a solution?Roussel
Hi Amit, Any luck on above. I am also looking for the same thing. If any please let me know. ThanksCryptic
The same problem, giving upvote.Chlores
same issue here? Anyone get the answer ?Hixon
[#12194273 , maybe my answer can help you)Handclasp
Any one got the solution for this........:)Burgeon
Still no success, using avassetreader with high quality video app crashes even in iphone 7. I asked this question long time ago but still no help. Something like monopoly in video editing apps in ios, only few people can work & submit apps stors for video editing.Legato
G
0

You'll probably have to play around with AVAssetExportSession ( MOV to Mp4 video conversion iPhone Programmatically ) - if it won't work, then your option will be to use AVAssetReader and AVAssetWriter and reverse the frames inbetween (don't know about the sound though).

Geology answered 6/1, 2015 at 10:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.