Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
lwolfe26's avatar
lwolfe26
Honored Guest
9 years ago

2880px 360 video resolution is way way lower on device.

I have an S6 and am using Unity 5.2.4, I'm able to play the video from the streaming assets folder, but the resolution is being clamped at like 960px. Unity import settings don't show up for mp4, only way I can see it is on the device, but it's so aliased it's unusable.....

Is there a way to use the movieplayer script in the example scene that comes with the sdk to play a higher resolution video? I haven't tried loading it off the sdcard yet as my first test didn't work and it was working from the streaming assets folder. What can I do to increase the resolution to 2k or so?? 

6 Replies

Replies have been turned off for this discussion
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    You could modify the C++ plugin code for OculusMediaSurface in the mobile SDK. It's in ovr_sdk_mobile_1.0.0.1\VrAppSupport\MediaSurfacePlugin. We haven't invested too much in this example because there are already good ones available in the asset store, such as EasyMovieTexture.
  • lwolfe26's avatar
    lwolfe26
    Honored Guest

    vrdaveb said:

    You could modify the C++ plugin code for OculusMediaSurface in the mobile SDK. It's in ovr_sdk_mobile_1.0.0.1\VrAppSupport\MediaSurfacePlugin. We haven't invested too much in this example because there are already good ones available in the asset store, such as EasyMovieTexture.


    Can you confirm EasyMovieTexture works in Unity 5? It was submitted with 4x. 
  • lwolfe26's avatar
    lwolfe26
    Honored Guest
    Well I dropped $55 on Easy Movie Texture and now I cannot build with a bunch of errors during build about cant convert classes to dex, and now get to go troubleshoot unity versions, plugin versions, etc and figure out a new problem. This is the main reason it would be great if Oculus would support this, I get burned on the asset store all the time. 
  • lwolfe26's avatar
    lwolfe26
    Honored Guest
    Apparently it uses class names in it's jar file that conflict with the oculus ones..........does anyone have any other ideas? I don't have visual studio on this computer, to recompile the C++ source do I need just the one script or are there dependencies?
  • Huanqing's avatar
    Huanqing
    Honored Guest

    vrdaveb said:

    You could modify the C++ plugin code for OculusMediaSurface in the mobile SDK. It's in ovr_sdk_mobile_1.0.0.1\VrAppSupport\MediaSurfacePlugin. We haven't invested too much in this example because there are already good ones available in the asset store, such as EasyMovieTexture.



    Dave, what do you mean by saying that? Does it mean that EasyMovieTexture is better than the MediaSurfacePlugin included in your mobile SDK?

  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    Yes. EasyMovieTexture is a higher-quality professional solution, while MediaSurfacePlugin is a basic sample.