SDAVAssetExportSession
SDAVAssetExportSession copied to clipboard
AVAssetExportSession drop-in replacement with customizable audio&video settings
@rs it always call avassetexportstatuscancelled.
About 1 in 100 of our users' video exports crashes in ``` (void) finish; ``` at: ``` [self.writer endSessionAtSourceTime:lastSamplePresentationTime]; ``` with the exception: ``` NSInvalidArgumentException: *** -[AVAssetWriter endSessionAtSourceTime:] invalid parameter...

Exception: *** -[AVAssetWriter endSessionAtSourceTime:] Cannot call method when status is 1 0 CoreFoundation (null) 1 libobjc.A.dylib (null) 2 AVFoundation (null) 3 AVFoundation (null) 4 Veme (null) 5 Veme (null) 6...
I was the first time to do the video transcoding related parts of the function, but I can not be a good implementation of video transcoding based on your tools....
I use AVCaptureMovieFileOutput to record videos. SDAVAssetExportSession works fine, I use it to compress my recorded videos. An issue appear when I setVideoMirrored to true , SDAVAssetExportSession crop the video....
- Added an example delegate that just copies the input to the output - It handles both planar and packed formats - Only create a pixelBufferAdaptor if a delegate is...
_This is a question about the scope and design of this library, not an issue or question about the code itself._ Just curious, what is the expected crop and resize...
Seems to hang about 30% of the time here: - (BOOL)encodeReadySamplesFromOutput:(AVAssetReaderOutput *)output toInput:(AVAssetWriterInput *)input line 225 CMSampleBufferRef sampleBuffer = [output copyNextSampleBuffer]; It'll just be stuck there and hang forever. The...
Hello, I'm trying to use SDAVAssetExportSession in the iOS Simulator, but it's not working any more. I'm calling `encoder.exportAsynchronouslyWithCompletionHandler()`, but the completion handler is never called. The same code works...