x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

GearVR video & media formats

Hello,

I am using Unreal Engine 4.10.4 I am having trouble getting video to play in Gear VR. I have successfully gotten movies to play on the PC using Media Framework but when I build the project for GearVR, I don't see the video.

I put the movie in a movie folder inside Content. I make a movie texture and material. I change the movie material to unlit and input movie texture sample into Emissive. I make sure to start playing the movie by using Play Media on Event Begin Play in the level blueprint.

Thank you

Product Version: UE 4.10
Tags:
more ▼

asked Feb 23 '16 at 07:03 AM in Rendering

avatar image

so2gamemake
73 5 9 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Everything you did seems correct to me. (as a reference, I'll put here the link to the documentation, describing the steps you already did correctly: https://docs.unrealengine.com/latest/INT/Engine/MediaFramework/index.html )

In order to play the video, consider that Gear VR is an Android device, and it has the same specifics and limitations of an Android device: you can find the Android's supported media formats here: http://developer.android.com/guide/appendix/media-formats.html

Notice that there are situations where a media that can be played in Windows won't work in Android, and vice-versa.

more ▼

answered Apr 28 '16 at 03:54 PM

avatar image

ocramot
200 16 15 23

avatar image so2gamemake May 13 '16 at 01:55 AM

If you want to analyze video file you should try this program it is very helpful: http://www.xmedia-recode.de/

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

There are a lot of things that need to be taken care of when playing video on Android.

Regarding this topic, even the official UE4 documents are not well documented (dunno, probably because they're still working on it).

For example, I got mine working by following step 10 from this post here: Black Video Texture

This was never mentioned in any official UE4 documents, leaving me locked out for hours, trying to find solution.

more ▼

answered May 20 '16 at 12:42 AM

avatar image

Di Gago
6 6 5

avatar image so2gamemake Jun 02 '16 at 07:56 AM

Hi, I got movies to work without changing editing the Detail Mobile part of my material. What sunk me was a combination of File Format and Aspect Ratio. So far, I've ONLY gotten 16:9 H264 encoded MP4 to play. I took a 360 video and my camera made a 1920x1080 video. Didn't work. Converted to 1920x960 and boom, it worked.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question