Media Player - Load to Memory?
I'm projecting a large MediaPlayer Texture onto a sphere for a VR 360 experience. I realize that the Media Player asset is still under development and a bit buggy but after some experimenting I've gotten some decent results.
Sometimes when I play the level, the video loads fine and I get decent frame rates (usually if I've been using the background video a few times and after restarting the editor). However, if I switch out the background video or change the video and go back to the old one my frame rates can drop down to single digits!
I assume that the times the video loads fine it is loaded into the memory buffer and being accessed more quickly. My question is, is it possible to force the media texture to load to memory before the level plays? Currently I have no load screen, but would prefer having one and allowing the video to buffer rather than starting out with a poor frame rate. Is there a node or something I'm missing that will let me load a video to memory before playing?
I'm using 4.12.5 and developing for Oculus DK2. Let me know if you need any more info, but this seems like more of a general question than a specific problem.
asked Jul 14 '16 at 05:23 PM in Using UE4
There will be a pre-cache option in 4.13 for selected platforms, including Windows. However, I wonder if the low frame rate doesn't indicate some other problem. Are you accidentally playing more than one video at a time? Could anything else be slowing down your I/O or CPU?
answered Jul 14 '16 at 05:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here