Open ElKnarzo opened 6 years ago
I also met the question. Do you have any idea about it?
me too ..
Any update about this issue, I have same issue one of my application
maybe you should set completion block before you start processing?
i have added timer to monitor finish state:
Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { [weak self] timer in
if movieFile.videoEncodingIsFinished, movieFile.audioEncodingIsFinished {
timer.invalidate()
}
}
I try to apply a filter to a previously recorded video and save it again. However, neither the completionBlock nor the delegate are called. Re-encoding will hang after a certain time and no error will be returned.
I have looked at the example and there is the same problem. In the example I have disabled
[movieWriter startRecording];
and the delegate was executed, but the video with the filter is not saved.I think there is an error or something similar while running "startRecording" of the "GPUImageMovieWriter". Does anyone have any idea how this problem can be solved?
My code:
PS: I work with iOS 11.