GPUImage2
GPUImage2 copied to clipboard
A few question about the new GPUImage2.
I'm new to GPUImage2, and having hard time to learn the new GPUImage2 from the iOS demo.
-
In the Camera Class, when you set the audioEncodingTarget, the fps will drop very hard, and the video will result a black screen for the first frame, how can I solve this problem?
self.camera.audioEncodingTarget = self.movie_output
By not setting audioEncodingTarget, the problem is solve, but the video is silence. -
SerialDispatchQueue, runOperationSynchronously(_ operation:() -> ()) method will crash, and I can't find a proper way to solve the problem.
self.serialDispatchQueue.sync {
self.makeCurrentContext()
operation()
}
You might try removing the call to removeAudioInputsAndOutputs() since it causes a black flash on video output when starting and stopping recording (aka from changing the audioEncodingTarget to a new MovieOutput).
Facing same issue, did you get any solution for it?