ARVideoKit icon indicating copy to clipboard operation
ARVideoKit copied to clipboard

high CPU usage

Open dhavalSA opened this issue 3 years ago • 4 comments

Extremely high cpu is used when it start . it slow down application , and device is heating a lot , tasted in iphone 7,XR,11 .

dhavalSA avatar May 06 '21 20:05 dhavalSA

and Low FPS exported videos?

however, try to change HEVC to h264 maybe that decrease the processing -> File (Pod/ARVideoKit/WriterAR)

AMJ-7 avatar Aug 22 '21 14:08 AMJ-7

Yes even with low FPS .

i will try h264 and let you know

Thanks

dhavalSA avatar Aug 24 '21 08:08 dhavalSA

videoOutputSettings = [ AVVideoCodecKey: AVVideoCodecType.h264 as AnyObject, AVVideoWidthKey: width as AnyObject, AVVideoHeightKey: height as AnyObject ]

@AMJ-7 it is already h264

dhavalSA avatar Aug 24 '21 12:08 dhavalSA

Take a look at it @dhavalSA https://github.com/AFathi/ARVideoKit/pull/137

mikolajadamowicz avatar Oct 24 '22 18:10 mikolajadamowicz