Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The output frame zoom out than the current frame #3

Open
tms-phuongvo opened this issue Sep 3, 2020 · 7 comments
Open

The output frame zoom out than the current frame #3

tms-phuongvo opened this issue Sep 3, 2020 · 7 comments

Comments

@tms-phuongvo
Copy link

tms-phuongvo commented Sep 3, 2020

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
Copy link
Author

@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
Copy link
Author

tms-phuongvo commented Oct 30, 2020

@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 tms-phuongvo changed the title The output frame scale up than the current frame The output frame zoom out than the current frame Oct 30, 2020
@sagarmodi61
Copy link

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.

@mtellect
Copy link

mtellect commented Mar 2, 2021

@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
Copy link

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

@AlexanderKozhevin
Copy link

I wasn't able to start the project at all.
#7
#6

@akshayadd
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants