RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

When I try to play a video on Android, the video appears to flash, and it crashes when I try to seek. #1868

Closed meka6021 closed 1 month ago

meka6021 commented 1 month ago

Describe the issue A clear and concise description of what the issue is.

Your Setup (please complete the following information):

Sorry for my poor English. When I play a video on an Android device, the video screen appears to flash. When I load a video on an Android device and then try to seek, it crashes.

Logs

Screenshots

Videos

Chris-RH commented 1 month ago

I'm not entirely sure what you mean

  1. Can you reproduce this in a new project, using only the mediaplayer demo scene?
  2. Can you reproduce this in a new project, using only the mediaplayer demo scene, using your video?
  3. Can you provide a sample of the video or URL if it is a stream
  4. Are you using OpenGLES or Vulkan?
  5. Are you using Exoplayer or Android Mediaplayer?
  6. Can you provide a full logcat of the crash please
meka6021 commented 1 month ago

Sorry for the trouble. I found a solution.

Chris-RH commented 1 month ago

For reference, can I ask what the solution to your issue was please?

meka6021 commented 1 month ago

2024-05-22 164142 I changed the "Texture Format" setting of the attached image from "BGRA" to "Y Cb Cr 420_OES".