Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
JTubbritt's avatar
JTubbritt
Protege
10 years ago

HD Video has awful performance

Hi all.

If I create a new scene with nothing in it but a single quad, and I apply a 1080P movie texture to that quad, the amount of drain this places on system resources is insane,

A GTX 770 M GPU for example can't keep a solid 75fps lock, as as a result I get tons of judder. Ok it's runs smooth on my GTX970, but seriously, I shouldn't need that amount of power to play back a video. If that were the case, a Gear VR would be entirely useless at playing video.

Don't even get me started on trying to play 4K in on a sphere.

Anyone know why this is happening, and how to resolve this issue?

Regards
James

5 Replies

Replies have been turned off for this discussion
  • Can confirm. You won't be able to get HD video running smoothly in Unity without a third-party component or by writing your own external DLL.

    FWIW, I tried every available solution I could find 3 months ago for my project "VROOM: Aerie" (http://store.steampowered.com/app/375190) and AVPro was the best of the bunch. (Most components crash or otherwise suck.) It's a bit expensive at $200, but works very well. 1080p runs buttery-smooth. They have a free demo available. The only downside is the lack of online streaming support.
  • Thank you kindly.
    Shame it's such an expensive solution, but I guess I have little choice.

    Do you know if Unity has the same issue when compiling for Gear VR, if yes, will this Video Asset work with apps compiled for Gear VR also?

    Regards
    James
  • On Gear VR, Theora is a showstopper for even the most basic video, so we provide a sample that uses a plugin to decode h264 in hardware. However it isn't a full-featured utility. It's just an example for you to extend. See the MoviePlayerSample scene in SDKExamples: https://developer.oculus.com/downloads/ ... _Examples/.
  • Thank you for all your help. I sincerely appreciate it.
    I'm sure this will get me back on track again.

    Kind regards
    James.