videocall-ios-swift icon indicating copy to clipboard operation
videocall-ios-swift copied to clipboard

The output frame zoom out than the current frame

Open tms-phuongvo opened this issue 5 years ago • 7 comments

I am using DeepAR for Agora Video Call. But I found an issue about output frame scale-up than the current frame when sending to Agora Video Call This is code set frame output for Deep AR

let width = Int(self.deepAr.renderingResolution.width) self.deepAr.startCapture(withOutputWidth: Int(width), outputHeight: Int(0),subframe: CGRect(x: 0, y: 0, width: 1, height: 1))

This is code convert output frame and pushes to external Agora guard let pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer) else { print("*** NO BUFFER ERROR") return } let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer) let videoFrame = AgoraVideoFrame() videoFrame.format = 12 videoFrame.time = time videoFrame.textureBuf = pixelBuffer agoraKit?.pushExternalVideoFrame(videoFrame)

Pls help me with this issue

tms-phuongvo avatar Sep 03 '20 03:09 tms-phuongvo

@Luka-M Please help me check this issue. My client is claiming performance of DeepAR Effect after push video frame to Agora. It is so bad

tms-phuongvo avatar Oct 12 '20 09:10 tms-phuongvo

@Luka-M This is evidence for zoom out frame of DeepAR when using it in the Agora SDK. Please check and help me fix it image

tms-phuongvo avatar Oct 30 '20 02:10 tms-phuongvo

I am using the DeepAR with Agora for Live streaming. But there is an issue with video recording, DeepARDelegate methods not called for video Recording. Any solutions? Please help me to fix it.

sagarmodi61 avatar Jan 16 '21 09:01 sagarmodi61

@Luka-M This is evidence for zoom out frame of DeepAR when using it in the Agora SDK. Please check and help me fix it image

Hello, where you able to find a walk around this issue?

mtellect avatar Mar 02 '21 06:03 mtellect

Hello, please is there a solution for this? as i am still experiencing this issue

mtellect avatar Mar 16 '21 08:03 mtellect

I wasn't able to start the project at all. https://github.com/DeepARSDK/videocall-ios-swift/issues/7 https://github.com/DeepARSDK/videocall-ios-swift/issues/6

AlexanderKozhevin avatar Oct 06 '21 11:10 AlexanderKozhevin

@AlexanderKozhevin one of my friend is also facing the same camera issue #7. Did you find any solution for this?

akshayadd avatar Dec 21 '22 18:12 akshayadd