在 2012-10-17,上午3:00,cocoa-dev-requ...@lists.apple.com 写道: > On Oct 16, 2012, at 8:45 AM, Jens Alfke <j...@mooseyard.com> wrote: > >> >> On Oct 15, 2012, at 11:41 PM, WUQWE <wuminghui...@163.com> wrote: >> >>> I want to record video from iPad screen by AVCaptureSession & >>> AVAssetWriter. now,i could capture video(include microphone sound)。but, >>> The background music will stop when begin record video and the record will >>> stop when play sound effect. >>> My goal is capture the video include microphone sound , background music >>> and sound sfx. >> >> You want to play music and record the music as it was picked up by the mic? >> That will sound terrible. Just record without the music and then mix the >> music track into the recording afterwards with full fidelity. > > Oh, I misread what OP wanted to do. > > Yes, if you have the source audio and video already captured, mix it together > using an AVComposition.
Use captureSession get the video and use AVAudioRecord get the audio. mix it. Thanks _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com