Forum Discussion
Anonymous
9 years agoOculusMediaSurface on S7 - Texture not updating
I've been using the Note4 for some time with the Oculus Utilities to playback videos with no trouble. I'm now trying to get this to work on a Galaxy S7, but to no avail. The video is playing back - I can hear the audio and my progress bar and controls work. The assigned texture is just not updating.
Here's what I've tried so far:
The video in question plays in MilkVR, and in the stock video player.
The Galaxy S7 that I have has an Exynos 8890/Mali-T880.
I'm hoping this is something trivial that I've forgotten about - has anyone had success on the S7? Perhaps it is Exynos specific?
Here's what I've tried so far:
- Sample scene, straight "out-of-the-box"
- Various texture compression (on target texture): ASTC, ETC, ETC2, Auto Compressed, Auto Truecolor
- Dev build/Profiler/Script debugging: Doesn't show any errors or (extra) warnings
- GLES2, GLES3, and Auto Graphics API
- Unity 5.3.1p2 and 5.4.0b7
- Disabling multithreaded rendering
The video in question plays in MilkVR, and in the stock video player.
The Galaxy S7 that I have has an Exynos 8890/Mali-T880.
I'm hoping this is something trivial that I've forgotten about - has anyone had success on the S7? Perhaps it is Exynos specific?
11 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffCan you include full logcat from a run that didn't work? It would also be good to know what format the video is in and see how you've set up the project. Does the Henry short sample that comes with SDKExamples work properly?
- AnonymousThe original video I tried:
Video: MPEG4 Video (H264) 2048x2048 (2:1) 59.94fps 1690kbps
Henry short sample from the SDKExamples does not work (MoviePlayer_Sample.unity). Just shows the "HD" texture. Audio plays, however. This is using the included HenryShort.mp4. (For clarity: it works fine on the Note4)
Logcat from MoviePlayer_Sample attatched. - scottoculusProtegeMoviePlayer_Sample has been broken multiple times, even on the S6. Last time I tried was a few months ago when it had stopped working. I moved on to Unity and other projects.
- vrdavebOculus StaffSorry for the delay here. Your logcat looks fine and I see MediaSurface initializing and decoding an apparently valid stream. There is a bunch of OVR_TW_SetDebugMode spam, which is a known issue with our Unity 5 plugin, but it isn't clear what's wrong. On my S7, the HenryShort plays just fine with 5.4.0b10 and integration (Utils and OVRPlugin) 1.3.0 from https://developer.oculus.com/downloads. Does updating to those versions fix the issue for you?
- AnonymousNo worries, Dave. I ended up using EasyMovieTexture instead, which worked fine. I have since tested MoviePlayerSample in 5.4.0b13 with the latest Utils and OVRPlugin and it works fine. Cheers!
- Anonymous@vrdaveb: Just as a follow-up to this - I've done some more experimenting with MediaSurfacePlugin and MoviePlayerSample on the Note4 and S7 - turns out it was texture compression on the place holder texture that was causing problems on the S7 (GL_INVALID_FRAMEBUFFER_OPERATION). Using RGBA32 fixed the issue. The latest version creates a new RGBA32 texture programmatically, so it doesn't have this issue.
I've also been experimenting with timewarp layers and have successfully implemented it on the MoviePlayerSample. I've had to change the MediaSurfacePlugin to include an alpha 0 edge vignette (similar to the Oculus Cinema app) to get rid of the extraneous geo. It works really well, I encourage you to include it on the official release. I think people would find it really handy!
If anyone is interested in my implementation, let me know and I'll post it here. Unfortunately, it is not based off the 1.3.2 Utilities as the sources are not currently available, but it still works with 1.3.2 (just replaces libOculusMediaSurface.so). - scottoculusProtegeSure, if you can post it that woudl be great or put it on Git.
- AnonymousUploaded to GitHub here: https://github.com/gcschrader/MediaSurfacePlugin
- HuanqingHonored Guest
gconvergen said:
Uploaded to GitHub here: https://github.com/gcschrader/MediaSurfacePlugin
Thanks a lot! - shanzamHonored GuestThanks for sharing that @gconvergen! Have you tried this with a stream at all? I have some hosted videos I'm planning on integrating into an app I'm designing. I'll pull your GitHub code and try it but thought I'd ask anyway.
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
- 3 months ago
- 11 months ago
- 10 months ago
- 6 months ago
- 11 months ago