2 Replies
      Latest reply on Jul 16, 2019 10:03 PM by Sunny.li
      quentinf Level 1 Level 1 (0 points)

        Hi there,


        I am currently running into an issue, I have been using a code to reverse an AVAsset by using an AVAssetReader and an AVAssetWriter, first using a typical

        while let sampleBuffer = assetReaderOutput.copyNextSampleBuffer() { ... }

        ..however, with my iPhone 5S, using I believe a 10-to-20s video, I run into a memory issue with that code, which just crash the app.

        I am not sure what would be a proper way of performing that task of reversing my asset. Would I have to do it by steps with several small reverse versions that I then adds up? What would I base the "small step"?

        Thanks in advance for your help.