-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Android] [libAVProVideo2Native.so] VulkanPlayerRenderBuffer::render(PushConstants const&) #2099
Comments
Can we get a full, unfiltered logcat as well as the video asset you are playing please? |
Auto Graphics API is checked |
We are seeing that older devices do not do so well with Vulkan. We have code in the plugin to detect when Vulkan is simply not supported, and as long as OpenGLES3 is in your list of Graphics APIs then it will fall back and use OpenGLES3. This, however, I do not think you are seeing here. I think it is likely the former comment re older devices and Vulkan. If there is no pressing requirement to use Vulkan, can you not set your app to use OpenGLES3? This will mean better backward device compatibility. |
There are quite new devices I presented on screenshot. At least they still on sale. For example, |
Is there a specific reason you are using the MediaPlayer API path rather than ExoPlayer? Can we get a copy of the video asset you are seeing crash? Any/all information will help us reproduce and then, hopefully, offer a fix. |
I think I will try to switch to ExoPlayer. |
Are all your videos HLS then? If so, do they all have adaptive variants? (a variety of streams with different resolutions in the main manifest) |
In this moment I switch off HLS, becouse of this issue #2079. Our videos have these settings:
and encoded like this: than: ffmpeg -i MB128_proxy.mp4 -c:v nvenc -pix_fmt yuv420p -preset medium -level 4.1 -pass 2 -c |
But the crashing has come when using HLS? |
Yes, it has. And it was also present on older versions of the plugin |
Unity version
2022.3.32f1
Unity editor platform
Windows
AVPro Video edition
Core
AVPro Video version
3.1.2
Device hardware
asus ASUS_X01BDA
Which Android OS version are you using?
9
Unity Graphics API
Vulkan
Video API
MediaPlayer
Texture format
BGRA
Audio output
Unity
Any other Media Player component configuration required to reproduce the issue.
No response
Which output component(s) are you using?
No response
Any other component configuration required to reproduce the issue.
No response
The issue
It happens on Samsung only:
Media information
No response
Logcat output
No response
The text was updated successfully, but these errors were encountered: