rs / SDAVAssetExportSession

AVAssetExportSession drop-in replacement with customizable audio&video settings
MIT License
805 stars 212 forks source link

No audio #17

Open nicpro85 opened 10 years ago

nicpro85 commented 10 years ago

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

JohnEstropia commented 9 years ago

@nicpro85 have you found a solution for this?

nicpro85 commented 9 years ago

@JohnEstropia no I decided to leave this SDAVAsset and return to the original AVAssetExportSession

scottcarter commented 9 years ago

I don't have any issue getting audio in the export; however I am using 1 channel instead of 2 and a bit rate of 64000. I have a working project (in Swift) at https://github.com/scottcarter/VideoExport