Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Large resolution videos are aliased #1035

Open
M-Pixel opened this issue May 23, 2019 · 0 comments
Open

Large resolution videos are aliased #1035

M-Pixel opened this issue May 23, 2019 · 0 comments

Comments

@M-Pixel
Copy link

M-Pixel commented May 23, 2019

SPECIFIC ISSUE ENCOUNTERED

Playing a video that has a significantly higher resolution than that of the screen (e.g. 4K video on a flat plane that takes up ~90° FOV on a Daydream device with 1280x1440 screens, resulting in higher than 1 texel density), results in the video rendering as highly aliased.

HARDWARE/SOFTWARE VERSIONS

  • Unity: 2019.1.2f1
  • Google VR SDK for Unity: 1.200
  • Device manufacturer, model, and O/S: Lenovo Daydream Solo, Android Oreo
  • Device fingerprint: Lenovo/vega/vega:8.0.0/OVR1.190228.001/5343941:user/release-keys
  • Device display metrics: mBaseDisplayInfo=DisplayInfo{"Built-in Screen", uniqueId "local:0", app 1440 x 2560, real 1440 x 2560, largest app 1440 x 2560, smallest app 1440 x 2560, mode 1, defaultMode 1, modes [{id=1, width=1440, height=2560, fps=75.0}], colorMode 0, supportedColorModes [0], hdrCapabilities android.view.Display$HdrCapabilities@1d6308, rotation 0, density 400 (537.882 x 537.388) dpi, layerStack 0, appVsyncOff 1000000, presDeadline 13333333, type BUILT_IN, state OFF, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, removeMode 0}
  • Google VR Services: 1.20.234682102.release_aio
  • Link to Unity project that reproduces the issue: https://github.com/googlevr/media-app-template/

STEPS TO REPRODUCE THE ISSUE

  1. Play a 4K video
  2. Your eyes will scream

ADDITIONAL COMMENTS

The essential question at hand here is: where can we restrict the resolution of the texture that ExoPlayer renders to, in the way that GVR Unity sets it up? I dug around in the gvr-exoplayersupport source code for answers, but it's rather circuitous and I'm relatively unfamiliar with the Android ecosystem, so I wasn't able to identify any place where the surface size could be specified.

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

No branches or pull requests

1 participant