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

memory or cpu question #167

Open
wkl-coder opened this issue Jul 20, 2018 · 4 comments
Open

memory or cpu question #167

wkl-coder opened this issue Jul 20, 2018 · 4 comments

Comments

@wkl-coder
Copy link

when I not open virocore , I do audio convert is fast , when I open virocore then do audio format is slow , for I use ffmpeg demo do wav->m4a (11s audio need near 5s), in arproject do wav->m4a (11s audio need near 15s), virocore use so much thear and memory ?

@wkl-coder
Copy link
Author

@dthian

@VikAdvani
Copy link
Contributor

Hi @544531645, memory use depends on how many models, textures and other assets you load for your AR Scene. You can use the android profiler in android studio to see the memory usage. If your scene is using high resolution textures plus complicated models w/ animations then memory use will likely be high.

CPU usage is also driven by how complicated your scene is. If you have a scene with animations, lighting and shadows then cpu use will be higher vs a more simple scene.

@wkl-coder
Copy link
Author

yes ,I have animations, lighting and shadows , but when I convert audio so slow , It affects the user experience, but again on ios, scenekit's speed is not affected at all. Is there a good solution?

@VikAdvani
Copy link
Contributor

Hi @544531645, the speed and performance depends on the phone you are using. What phone are you seeing this type of performance on? On older android phones, I'd recommend leaving out some features(such as shadows and complicated lighting, use flat lighting). On newer Android devices(like Samsung s8 and higher) then you can include more complicated scenes. Is the audio conversation slow on some devices or all of them?

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

2 participants