Unity version
2022.3.47f
Unity editor platform
Windows
AVPro Video edition
Trial
AVPro Video version
3.3.5 trail \ 3.3.6 trail & pro
Device hardware
mumu emulator: https://mumu.163.com/
Which Android OS version are you using?
8
Unity Graphics API
OpenGLES 3
Video API
MediaPlayer
Texture format
BGRA
Audio output
System Direct
Any other Media Player component configuration required to reproduce the issue.
any configuration with bgra
Which output component(s) are you using?
No response
Any other component configuration required to reproduce the issue.
No response
The issue
hi, i fond 3.3.5 & 3.3.6 has gamme / linear issues on some android emulators, such as mumu(https://mumu.163.com/) / xiaoyao(https://www.xyaz.cn/).
AVPro Video 3.3.5 Android BGRA8 on emulator returns AVPPlayerTextureFlags.None, while 3.3.4 returns AVPPlayerTextureFlags.Linear. In Unity Linear color space this changes PlayerSupportsLinearColorSpace() from false to true, so DisplayUGUI no longer uses Transparent Packed / APPLY_GAMMA, causing washed-out video on some emulators.
looks like Native.AVPPlayerGetTexture has a different return.
logs:
3.3.5: [AVProTextureDBG] flags=None, linear=False, planeCount=1, fmt0=BGRA8, supportsLinear=True
3.3.4: [AVProTextureDBG] flags=Linear, linear=True, planeCount=1, fmt0=BGRA8, supportsLinear=False
3.3.5

3.3.4:

Media information
No response
Logcat output
Unity version
2022.3.47f
Unity editor platform
Windows
AVPro Video edition
Trial
AVPro Video version
3.3.5 trail \ 3.3.6 trail & pro
Device hardware
mumu emulator: https://mumu.163.com/
Which Android OS version are you using?
8
Unity Graphics API
OpenGLES 3
Video API
MediaPlayer
Texture format
BGRA
Audio output
System Direct
Any other Media Player component configuration required to reproduce the issue.
any configuration with bgra
Which output component(s) are you using?
No response
Any other component configuration required to reproduce the issue.
No response
The issue
hi, i fond 3.3.5 & 3.3.6 has gamme / linear issues on some android emulators, such as mumu(https://mumu.163.com/) / xiaoyao(https://www.xyaz.cn/).
AVPro Video 3.3.5 Android BGRA8 on emulator returns AVPPlayerTextureFlags.None, while 3.3.4 returns AVPPlayerTextureFlags.Linear. In Unity Linear color space this changes PlayerSupportsLinearColorSpace() from false to true, so DisplayUGUI no longer uses Transparent Packed / APPLY_GAMMA, causing washed-out video on some emulators.
looks like
Native.AVPPlayerGetTexturehas a different return.logs:
3.3.5: [AVProTextureDBG] flags=None, linear=False, planeCount=1, fmt0=BGRA8, supportsLinear=True
3.3.4: [AVProTextureDBG] flags=Linear, linear=True, planeCount=1, fmt0=BGRA8, supportsLinear=False
3.3.5

3.3.4:

Media information
No response
Logcat output