-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
AndroidAndroid platformAndroid platformBug 🐛Something isn't workingSomething isn't workingFixedA fix will be in the next releaseA fix will be in the next release
Milestone
Description
Unity version
2021.3.57f2
Unity editor platform
macOS
AVPro Video edition
Ultra
AVPro Video version
3.3.3
Device hardware
Galaxy S9
Which Android OS version are you using?
10
Unity Graphics API
OpenGLES 3
Video API
media3/ExoPlayer
Texture format
Y Cb Cr 420_OES
Audio output
System Direct
Any other Media Player component configuration required to reproduce the issue.
No response
Which output component(s) are you using?
Apply to Mesh
Any other component configuration required to reproduce the issue.
No response
The issue
I am experiencing a significant drop in frame rate when playing videos using the OES texture format.
Using the demo scene Assets/AVProVideo/Demos/Scenes/Demo_360Stereo.unity, I achieve approximately 30 fps with the default settings (without OES). However, when I switch to using OES, the frame rate drops to around 15 fps.
Is there any way to achieve better performance when using the OES path?
Configuration & Results
I compared the performance using the following settings:
| Setting | Default | OES |
|---|---|---|
| Texture Format (Android Platform) | RGBA | Y Cb Cr 420_OES |
| Shader | AVProVideo/VR/InsideSphere Unlit (stereo+fog) | AVProVideo/VR/InsideSphere Unlit (stereo+color) - Android OES ONLY |
| Observed FrameRate | ~30fps | ~15fps |
Media information
No response
Logcat output
Metadata
Metadata
Assignees
Labels
AndroidAndroid platformAndroid platformBug 🐛Something isn't workingSomething isn't workingFixedA fix will be in the next releaseA fix will be in the next release