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

Got Green Screen after play HDR video on Vulkan #1827

Open tinigon89 opened 2 months ago

tinigon89 commented 2 months ago

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Describe the issue A clear and concise description of what the issue is. I got a green noisy screen after play a HDR video(it play fine) then stop and play normal video H264 without HDR and vice verse

i use these code to stop mediaplayer: mediaPlayer.Stop(); mediaPlayer.CloseMedia();

Your Setup (please complete the following information):

To Reproduce

  1. Open a video with HDR
  2. then stop video
  3. Then open a video without HDR

Logs If applicable, add error logs to help explain your problem.

Screenshots If applicable, add screenshots to help explain your problem. fd1d5cac-7bf1-4948-b98e-b2caf8539716

Videos If applicable, add a copy of your video or the URL https://drive.google.com/file/d/18veeLImd7i3Z1CqKubAVbEZ3ASepGnRL/view?usp=drive_link

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Instead email the link to us unitysupport@renderheads.com

Chris-RH commented 2 months ago

Hi @tinigon89

We don't currently support HDR, see #1502

tinigon89 commented 2 months ago

Hi @tinigon89

We don't currently support HDR, see #1502

Hi, i mean it play HDR video ok(in SDR mode) but when switch to non HDR video it have problem above, i think it have problem with surface texture. Do you have anyway to reset the texture?

Chris-RH commented 2 months ago
  1. Are you using Exoplayer or Android Mediaplayer?
  2. Are you using OpenGLES or Vulkan? Could you try both please and let us know if it occurs in both or not :)
  3. What are the details of the other video you are trying to play?
  4. Can you provide a full logcat from the moment you load the app on the device please
tinigon89 commented 2 months ago
  1. Are you using Exoplayer or Android Mediaplayer?
  2. Are you using OpenGLES or Vulkan? Could you try both please and let us know if it occurs in both or not :)
  3. What are the details of the other video you are trying to play?
  4. Can you provide a full logcat from the moment you load the app on the device please
  5. Im using Exoplayer
  6. i changed from Vulkan to OpenGLES and it ok now.