iphone - GPUImage + Lot of audio noise during video recording -


i recording video using gpuimage framework , done when playing recorded video, getting lots of background noise.

how can remove or reduce/remove background noise? please me reduce it. video store in m4v formate.

my code below:

 if(!self.moviewriter) {    self.moviewriter = [[gpuimagemoviewriter alloc] initwithmovieurl:movieurl size:cgsizemake(320.0, 480.0)];  } [filter addtarget:moviewriter];  double delaytostartrecording = 0.5; dispatch_time_t starttime = dispatch_time(dispatch_time_now, delaytostartrecording * nsec_per_sec); dispatch_after(starttime, dispatch_get_main_queue(), ^(void){     nslog(@"start recording");      videocamera.audioencodingtarget = moviewriter;     [moviewriter startrecording];      double delayinseconds = 60.0;     dispatch_time_t stoptime = dispatch_time(dispatch_time_now, delayinseconds * nsec_per_sec);     dispatch_after(stoptime, dispatch_get_main_queue(), ^(void){          [filter removetarget:moviewriter];         videocamera.audioencodingtarget = nil;         [moviewriter finishrecording];         nslog(@"movie completed");     }); }); 

thanks


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -