GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

I find a bug in GPUImageMovieWriter,and I solved

Open mokeClub opened this issue 9 years ago • 3 comments

When I use example iOS SimpleVideoFileFilter to add filter, I find movie cannot be create. I output error:

Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x7fde9371c6f0 {Error Domain=NSOSStatusErrorDomain Code=-12142 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-12142), NSLocalizedDescription=The operation could not be completed}

After almost a day , I finally find the code CPUImageMovieWriter.m 281row has be commented.I get rid of the commented ,My problem be solved;

mokeClub avatar Mar 14 '16 07:03 mokeClub

I find a bug in GPUImageMovieWriter,and I solved

mokeClub avatar Mar 14 '16 07:03 mokeClub

@ChiLian1207 It is call in - (void)processAudioBuffer:(CMSampleBufferRef)audioBuffer and - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex;

linjiansheng avatar Mar 15 '16 07:03 linjiansheng

for camera record, the comment should on, because the camera time not from zero.

AndrewChan2022 avatar Mar 31 '20 02:03 AndrewChan2022