Skip to content
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

sample video plays in apk but my own 360 is just black #2003

Open
frowestbrennan opened this issue Sep 16, 2024 · 7 comments
Open

sample video plays in apk but my own 360 is just black #2003

frowestbrennan opened this issue Sep 16, 2024 · 7 comments
Labels
Android Android platform

Comments

@frowestbrennan
Copy link

Problem description:

Hello! I am trying out this plugin and can get the Media Player to play my h265 6k stereo video
great in Unity. Your sample video also lays fine. After I build an apk and side to a
quest 3 the video is black without audio. However your sample footage will build.
I have a Media Reference for my video file as well.

Device (which devices are you having the issue with - model, OS version number):

quest 3

Media (tell us about your videos - number of videos, resolution, codec, frame-rate, example URLs):

eventually lots of videos but starting with just 1. 5760 x 5760. 29.97. h265. No streaming videos- I have the video files in the project itself.

System Information:

AVPro Video: v3.0.11 (plugin v3.0.10f1-trial)
Target Platform: Android
Unity: v2022.3.11f1 WindowsEditor
OS: Desktop - MS-7C91 (Micro-Star International Co., Ltd.) - Windows 11 (10.0.22631) 64bit - English
CPU: AMD Ryzen 9 5900X 12-Core Processor - 24 threads - 65461KB
GPU: NVIDIA GeForce RTX 3090 - NVIDIA - Direct3D 11.0 [level 11.1] - 24326KB - 16384

@Chris-RH Chris-RH added the Android Android platform label Sep 16, 2024
@Chris-RH
Copy link
Collaborator

  1. Can you reproduce this in a new project with only AVPro Video, running the 360 demo scene with your video?
  2. Can you provide a full, unfiltered logcat in txt format?
  3. Have you encoded the video with faststart?
  4. Have you tried reducing the resolution to something like 4096x4096?
  5. Are you able to provide a sample of the video you are using for testing? Either here or to [email protected]

@frowestbrennan
Copy link
Author

frowestbrennan commented Sep 16, 2024 via email

@Ste-RH
Copy link
Collaborator

Ste-RH commented Sep 17, 2024

@frowestbrennan For reference, I have tested your video on a Quest 2 in our 360 Demo scene and it plays just as it should (when using both OpenGLES and Vulkan). I do not have a Quest 3 to hand at the moment, but I would think if the 2 plays the video, the 3 should be the same result.

When you get chance, send us over a log so we can take a better look. We will get you up and running in no time :)

@frowestbrennan
Copy link
Author

frowestbrennan commented Sep 17, 2024 via email

@Chris-RH
Copy link
Collaborator

Hi @frowestbrennan

Unfortunately files can't be sent via email replies to github. Could you email it to [email protected] please.

@frowestbrennan
Copy link
Author

frowestbrennan commented Sep 18, 2024 via email

@Ste-RH
Copy link
Collaborator

Ste-RH commented Sep 19, 2024

@frowestbrennan The log you sent is does not look like a complete log from start of app run to end.

From what we can see in the log, there is a hint of it being related to an issue we fixed in v3.0.11. Can you try updating to the latest release and see if your issue still persists?

You could also try changing the Grpahics API used from Vulkan (which is used by default when using 'Auto') to OpenGLES.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android platform
Projects
None yet
Development

No branches or pull requests

3 participants