Forum Discussion
JTubbritt
10 years agoProtege
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
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
- vrdavebOculus StaffUnity's MovieTextures use Ogg Theora, which is quite CPU intensive. I would recommend using a third-party codec pack such as AVPro (https://www.assetstore.unity3d.com/en/#!/content/2546) instead. Then you can use h264 or vp9 decoding with hardware acceleration.
- kideternalProtegeCan 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. - JTubbrittProtegeThank 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 - vrdavebOculus StaffOn 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/.
- JTubbrittProtegeThank you for all your help. I sincerely appreciate it.
I'm sure this will get me back on track again.
Kind regards
James.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years ago
- 4 months ago
- 2 years ago