# Media Player Artifacts with GearVR

**URL:** <https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644>\
**Category:** XR Development\
**Tags:** GearVR, unreal-engine, bug-report, question\
**Created:** [October 8, 2015, 9:56am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644 "2015-10-08T09:56:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 8, 2015, 9:56am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/1 "2015-10-08T09:56:30Z")

</div>

I’m using a media player to show a streamed video (mp4) on a plane in a GearVR project. The video works fine, but whenever the plane is completely out of my current field of view the scene turns black and I see portions of the video locked to the display (eg not moving when I look around). The colors are inverted, too. If I look back to the plane, the scene comes back to normality.  
The same problem arises also when the plane with the video is the only object in the scene.

The same application works fine disabling the GearVR plugin.

Tested on Note4 (snapdragon, lollipop 5.1.1) and S6 (lollipop 5.1.1)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 13, 2015, 8:47pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/2 "2015-10-13T20:47:47Z")

</div>

Hi devel.bmad,

At the moment I’ve not been able to get media textures to work on my Note4 that I have to test on. I’ve used the media texture of the UE4 logo that is available in Content Examples.

I’ve tried this with the Gear VR plugin enabled and disabled but no luck. I’m probably missing something while setting this up that I’ve not got right yet, but if you have a test project that can reproduce this that may be quicker than me attempting to set up.

If that’s feasible let me know, otherwise I’ll have to set this up when I get more time to see why the media texture I have isn’t working compared to what you’re seeing.

Let me know or if you are able to reproduce with the assets from the Media map I can use whatever steps you have to do that. Migrating the assets over and setting up the media texture on a cube works fine in editor, just not on the device that I can see.

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 14, 2015, 10:35am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/3 "2015-10-14T10:35:09Z")

</div>

You can download a sample project replicating the problem here:

> **[Google Drive: Sign-in](https://accounts.google.com/v3/signin/identifier?dsh=S1359509238%3A1686579862656626&continue=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F0B7SpUfi4PH7aUldDdVhkLUwzdk0%2Fview%3Fusp%3Dsharing&ffgf=1&followup=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F0B7SpUfi4PH7aUldDdVhkLUwzdk0%2Fview%3Fusp%3Dsharing&ifkv=Af_xneFuESm8OcH9kmTDH6k0nGTQAsgpKsxSqKUsx-jN8p3PT67NVyZDQkq3BfB07fpmTa1RbiQE_Q&osid=1&passive=1209600&service=wise&flowName=GlifWebSignIn&flowEntry=ServiceLogin)**
>
> Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

The material set up is emissive and there are no lights in the scene. Adding a light prevents the problem (but I think this is a bug that needs to be addressed anyway)

Please let me know if I can help with further details.

---

<div class="post-metadata">

**Author:** ![Rafibs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rafibs](https://forums.unrealengine.com/u/Rafibs)\
**Post date:** [October 14, 2015, 1:47pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/4 "2015-10-14T13:47:25Z")

</div>

I’m have a problem that look alike yours.  
I dont know how to make my mp4 goes into the build for gearVR, when I build and the scene starts everything stays black…

Take a look at my post, see if you can help me!  
[https://answers.unrealengine.com/questions/317855/360-movietextures-gearvr-android.html](https://answers.unrealengine.com/questions/317855/360-movietextures-gearvr-android.html)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 14, 2015, 9:16pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/5 "2015-10-14T21:16:30Z")

</div>

Thanks for the project. I’m still looking into this and trying to reproduce in a new blank project, but I’m having a bit of trouble. I’ll update once I’ve had a bit of time to dig into this one a little more and get it reported. Thanks for your patience.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 15, 2015, 10:56am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/6 "2015-10-15T10:56:28Z")

</div>

Ok, If you need any help setting up the blank project just tell me.  
Little update, adding the light does not actually prevent the problem, the artifacts are still an issue in most situations and show up when the the texture with the video is no directly visible.

---

<div class="post-metadata">

**Author:** ![Rafibs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rafibs](https://forums.unrealengine.com/u/Rafibs)\
**Post date:** [October 15, 2015, 11:11am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/7 "2015-10-15T11:11:24Z")

</div>

Man, I downloaded your project and builded for my GearVR and it worked, I’m working with a 360 videos, so i changed your plane with a sphere with inverted faces and I placed the player inside of it.

Your video works in my sphere (all distorted because is a plane video, not 360) but my video does’t work in my sphere neither in your plane, it does not give play, just stays black with no sound…

My video is also .mp4, I used Adobe Media Encoder to convert the video to less quality to see if this was the problem, but still no sucess…

I did all the things that should be done, put in the content/movies, create texture, then material, change the material to emissive and change the Movie Play in your blueprint to mine video… Am I missing something?

---

<div class="post-metadata">

**Author:** ![Rafibs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rafibs](https://forums.unrealengine.com/u/Rafibs)\
**Post date:** [October 15, 2015, 11:27am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/8 "2015-10-15T11:27:57Z")

</div>

Here some prints of my project

Project: [http://i.imgur.com/3S2SJJz.png](http://i.imgur.com/3S2SJJz.png)

Video: [http://i.imgur.com/HyKELXe.png](http://i.imgur.com/HyKELXe.png)

Texture: [http://i.imgur.com/k3g2DnO.png](http://i.imgur.com/k3g2DnO.png)

Texture Material: [http://i.imgur.com/Lt3i5Xp.png](http://i.imgur.com/Lt3i5Xp.png)

Level Blueprint: [http://i.imgur.com/aCs98iY.png](http://i.imgur.com/aCs98iY.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 15, 2015, 1:04pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/9 "2015-10-15T13:04:08Z")

</div>

The .mp4 container is ok, but which codec are you using and which is the size / aspect ratio of the video?  
I’m using H.264, AAC and it works fine. Also, the video should be placed in the Content/Movies folder, or it won’t be correctly loaded.

---

<div class="post-metadata">

**Author:** ![Rafibs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rafibs](https://forums.unrealengine.com/u/Rafibs)\
**Post date:** [October 15, 2015, 1:12pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/10 "2015-10-15T13:12:51Z")

</div>

The original file .mp4 is 133MB 4096x2048, I don’t know which CODEC is… But I reduced it to 1600x800 (45,5MB) H.264, AAC too and still didn’t work

Look at the Adobe Media Encoder export config that I’m using: [http://i.imgur.com/4aJD9yk.png](http://i.imgur.com/4aJD9yk.png)  
(sorry for the portuguese interface, hope you understand the configs that I’m using for the export)

And it is in the Content/Movies folder just like your test video…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 15, 2015, 1:48pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/11 "2015-10-15T13:48:12Z")

</div>

Looks fine. Just try using a different image size to start with, e.g. 1280x720 (or 640x320 or any standard format)

In any case: from my experience you may have problems of performance in UE 4.9 and gearVR with a video of this size (I’m using 480p and I’m already at 30fps), and this resolution is anyway too low for a 360 VR video. There are optimisations coming, but apparently not before 4.11…

> **[Media Framework Documentation for 4.5 Preview](https://forums.unrealengine.com/showthread.php?46879-Media-Framework-Documentation-for-4-5-Preview&p=397631&viewfull=1#post397631)**
>
> Hi all, We’ve been working on a new feature called the Media Framework for the past few weeks. It will add media playback functionality back into the Engine. A preview version is already in the Master branch, and it will also be available in 4.5....

---

<div class="post-metadata">

**Author:** ![Rafibs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rafibs](https://forums.unrealengine.com/u/Rafibs)\
**Post date:** [October 15, 2015, 6:19pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/12 "2015-10-15T18:19:14Z")

</div>

I changed to a standard format and still not working… I don’t understand why the cat video works and the one that i’m using doesn’t.

I’m uploaded to dropbox my project, see if you can figure out what the he\*\* is the problem…

> **[Dropbox - File Deleted](https://www.dropbox.com/s/3wocwpwe5kyn3p2/360Video.zip?dl=0)**
>
> Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!

thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 15, 2015, 8:59pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/13 "2015-10-15T20:59:40Z")

</div>

So, two kinds of problems. Not sure why, but there may actually some kind of issue with your codec, re-encoding it with ffmpeg had it working with my test project.  
ffmpeg -i SeSquareAndroid.mp4 -c:v libx264 -preset veryslow out.mp4

In your project though, I wasn’t able display your video correctly, presumably for the same issue I’m talking about in this post. Indeed, if you look straight above you, you can see a negative and planar version of your video (the same issue I’m experiencing when my video is out of sight)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 28, 2015, 3:16pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/14 "2015-10-28T15:16:45Z")

</div>

Hi Tim, any feedback? Did you manage to reproduce the problem?  
This issue is completely blocking one of our projects, no workaround found at the moment, any help is very welcome.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 28, 2015, 3:20pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/15 "2015-10-28T15:20:58Z")

</div>

Due to other priorities I’ve not been able to dig into it as much this week yet. It’s still on my list of things to check and test though. Apologies for the delay.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [November 16, 2015, 8:13pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/16 "2015-11-16T20:13:46Z")

</div>

Just a quick update. I’ve spent a good bit of Friday and Today trying to package and even just launch on device for 4.10 and our internal 4.11 builds. At the moment I’m having trouble getting this working for those builds with the sample project that reproduces the issue. I’m still looking into it and will figure out during this week what’s wrong with my Android setup that’s causing it to not work properly. I’ll let you know when I have more information.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [November 17, 2015, 7:58pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/17 "2015-11-17T19:58:42Z")

</div>

Ok thanks Tim. Please let me know if I can help. By chance, do you know if 4.11 will feature any media player performance improvements on android?

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [November 17, 2015, 9:51pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/18 "2015-11-17T21:51:30Z")

</div>

Unfortunately, I’m not aware of any at the moment.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [December 4, 2015, 6:35pm UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/19 "2015-12-04T18:35:16Z")

</div>

Hi Devel.bmad,

I was able to get this packaged in what will be 4.11 and the issue is still happening. Apologies for the delay in getting a response for this one. The issue has been reported with UE-24121. Once there is any updates I’ll post back here.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [December 5, 2015, 12:06am UTC](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644/20 "2015-12-05T00:06:44Z")

</div>

Thank you Tim! I do hope this gets fixed by 4.12, this bug is really hindering my project. Any chance the performance improvements related to the android media player will also be in next release?

[Next page](https://forums.unrealengine.com/t/media-player-artifacts-with-gearvr/334644.md?page=2)
