Forum Discussion

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

Oculus Quest / Unreal 4 Media Player Material and /or Sequence Material

Has anyone had any luck getting a Media Player Material and/or a Sequence Material to work in the Oculus Quest? When I launch  to the Quest all my materials show up except for the Media Player material. Any suggestions?

10 Replies

Replies have been turned off for this discussion
  • is the source file in the contents directory of your project?
  • No way.. I cant see video inside my quest.. someone try to use media player with ue 4.23 inside quest?
  • Anonymous's avatar
    Anonymous
    Approved
    Same here. Can't map quicktime video...

    TomCHall: Tried to put it a the root of the content but It doesn't solve the problem.

    I'm using 4.22.

    Any solution?
  • Anonymous's avatar
    Anonymous
    Approved
    Up!
    Success there with a mp4 file into the Content/Movies/ directory !

  • Anonymous's avatar
    Anonymous
    Approved
    Rename my Mov to Mp4 works too :)
  • Is there an other solution? I have mp4 files but the material is still not playing the video.

    Edit: I am using 4.23
  • Anonymous's avatar
    Anonymous
    Approved
    @ijinprod did you ever use 4.23? - i have same issue. 

    Im using Vulkan

    I have files in Content/Movies/

    Im considering different format - as you mentioned you are using MOV file? - did you actually just renamed to MP4 - and did it work as mov and also as mp4? - can you telle anything about the format, frame size(1920x1080?)

    Thanks a lot.

  • Anonymous's avatar
    Anonymous
    Approved
    now i tested few things. 
    1. it shows ok when i turn on HDR mobile. 
    2. I ran it with Vulkan - but it shows very bad FPS - like 30-50
    3. I then converted back to ES3.1 - and now we are pretty close to desired 70 fps… 

    Does anyone know that Vulkan should be slower than ES3.1?
  • Sata-3D's avatar
    Sata-3D
    Honored Guest
    you can play the video in ES3.1 ? or only in vulkan ?
  • Hi, I've just spent half my day on this and seem to have it working well.

    Firstly I followed this tutorial:
    Youtube - "How To Add 360 Video To Your Oculus Quest Using UE4" by Game Dev XR

    Then I used Blender to make a sphere and flipped the normals.
    Tip for the sphere: Rotation (0,0,180), Scale (-10,10,10) otherwise the video will be mirrored.

    For optimisations, I followed the official Quest UE4 setup docs with the exception of changing Vulkan back to OpenGL ES3.1 (Project settings > Platforms > Android > Build )
    Vulkan was giving me 17 FPS, OpenGL ES3.1 72 FPS

    Another tip: Instead of using a delay before play
    This calls an event when the source is opened then you trigger play. 


    Oculus Quest 1
    UE 4.25.3
    Vulkan - 17 FPS
    OpenGL ES3.1 - 72 FPS
    Arm64
    Tested on industry-standard professional 360 video (3840x1920 h264 mp4)
    Using Unreal MediaPlayer & a flipped normal sphere

    Hope this helps someone :)