Top "Avassetexportsession" questions

An AVAssetExportSession object transcodes the contents of an AVAsset source object to create an output of the form described by a specified export preset.

AVAssetExportSession export fails non-deterministically with error: "Operation Stopped, NSLocalizedFailureReason=The video could not be composed."

We add subtitles to a video recorded by the user, but the export by our AVAssetExportSession object fails non-deterministically: sometimes …

ios swift avfoundation avassetexportsession
iOS - swift - merge videos using AVFoundation

I'm trying to merge some videos in a unique output.mov. The exported file isn't playable and I don't now …

ios swift avfoundation avassetexportsession
Unable to trim a video using AVAssetExportSession

I want to trim a video: -(void)trimVideo:(NSURL*)outputURL { //[[NSFileManager defaultManager] removeItemAtURL:outputURL error:nil]; AVURLAsset *asset = [AVURLAsset …

iphone objective-c ios avfoundation avassetexportsession
AVURLAsset loadValuesAsynchronouslyForKeys: completionHandler: never fires on device

I'm using next snippet to loadValues synchronously, so loading = NO never fires. And I have the same problem with AVAssetExportSession …

objective-c avfoundation avurlasset avassetexportsession