SDAVAssetExportSession
SDAVAssetExportSession copied to clipboard
AVAssetExportSession drop-in replacement with customizable audio&video settings
it seems that the member variable "lastSamplePresentationTime" cause the problem. **\* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '**\* -[AVAssetWriter endSessionAtSourceTime:] invalid parameter not satisfying: ((Boolean)(((endTime).flags & (kCMTimeFlags_Valid |...
hi, I'm not sure why CVPixelBufferLockBaseAddress is called here: CVPixelBufferLockBaseAddress(renderBuffer, 0); [self.delegate exportSession:self renderFrame:pixelBuffer withPresentationTime:lastSamplePresentationTime toBuffer:renderBuffer]; CVPixelBufferUnlockBaseAddress(renderBuffer, 0); in our case we use the buffer only the GPU in that...
No audio
encoder.audioSettings = @ { AVFormatIDKey: @(kAudioFormatMPEG4AAC), AVNumberOfChannelsKey: @2, AVSampleRateKey: @44100, AVEncoderBitRateKey: @128000, }; doesn't return audio in the export while the same audioMix return audio in the classic AVAssetExportSession
Is there any way by which we can set the video transform using SDAVAssetExportSession ?
if i try to resize more than 3 videos at a time using a loop, i'm just getting a error while resizing the fourth video. So what could be the...
SDAVAssetExportSession is more easily to get memory warning than IOS API AVAssetExportSession when export video.