4.13 preview 2 Media texture goes black on GearVR
I've been working on my GearVR project which is about to create an application to play 360 movie. Since,I've already done this in 4.12 and everything has worked correctly but the limitation of video's quality seem too low (Because the media texture was put on the sphere's surface) even though the resolution is Full-HD. So,I've decided to use 4K movie but for 4.12 the result still the same(low quality). After that, I think i should wait for 4.13 because 4.13 claim to support 4K movie(without reducing the resolution).
and this is my material settings. Every materials in my project has been set to fully roughness and unlit shading model.
My scene is very simple it contains just 2 cube , 2 sphere and 1 player start. There are no light source,visual effect and any volume. In my content folder, there is a "Movies" folder for my .mp4 movie. Path of file media source has been set in term of relative path.
My video codec is mp4.
I've not tried it myself yet but does anything Chris says in his comment here help? : https://forums.unrealengine.com/showthread.php?119261-4-13-How-does-the-new-media-player-work-in-4-13&p=576100&viewfull=1#post576100
My guess is your path to the content in source is incorrect - have you tried hardcoding it to begin with to see if you can get it to play at all?
answered Aug 21 '16 at 07:35 PM
You should not call Play right after OpenSource. It will take some time to open the media, so Play will return false and not play anything. Instead, hook into the Media Player's OnMediaOpened event to call Play.
Or better yet, check the "Play On Open" checkbox in the Media Player asset.
answered Aug 22 '16 at 06:43 PM
I was getting similar behaviour; worked in the editor, was black on the device. Then some media worked and some didn't which was very strange. In the end I realised it was cos some mp4's I'd made in nuke, others in ffmpeg, and that was the pattern; the ffmpeg mp4's were h264 encoded, while the nuke ones were something else.
A quick re-encode in ffmpeg ( ffmpeg -i badvid.mp4 -vcodec libx264 goodvid.mp4), and all played correctly.
Follow this question
Once you sign in you will be able to subscribe for any updates here