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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Videos not showing in android at all (Black Screen)

OK , so I wanted to run a h.264 mp4 sample video res (1920x1080) on android (Samsung galaxy s4) , it works fine on pc , but when running it on my device it shows a black screen and I can hear the video sound and after the video ends the app closes ?? so Iam going to show you the steps I made to make the project hoping that whoever read this can figure out my mistake and help me.

The steps I did:-

1) I created a new blank project with no starter contents and scalable for 2d and for mobile phones.

2) I created a new empty level and then I created new folder inside the content and named it movies and put my video in it.

3) I create a media source and browse my sample mp4 videos that is inside the Movies folder.

alt text

4) I create a media player and test my sample video in it to test that it works fine.

alt text

alt text

5) Also here is my media texture just in case you wanted to see it.

alt text

6) After that I right click on the texture and create the material and since iam using it on an empty level I set the shading model to unlit and in the mobile section I unchecked light map and checked the full precision and connected the texture to the emissive color.

alt text

Product Version: UE 4.15
source.png (92.3 kB)
video.png (431.1 kB)
videotexture.png (805.8 kB)
videomaterial1.png (402.0 kB)
more ▼

asked May 07 '17 at 06:54 PM in Blueprint Scripting

avatar image

83 3 4 8

avatar image Computer_Genius May 07 '17 at 07:06 PM

alt text

7) After that I created a widget and put an image in it and replaced the brush with the video material and then did the widget graph and the level blueprint graph to get every thing ready and then tested it on the pc and it worked fine.

alt text

alt text

videomaterial2.png (490.0 kB)
videowidget.png (284.5 kB)
avatar image Computer_Genius May 07 '17 at 07:07 PM

alt text

alt text

8) Finally I tried to run it on android and the project ran successfully but as I said only sound and black screen and after the video finishes the app closes.

here is my output log:-

link text

log.txt (501.9 kB)
levelblueprint.png (180.5 kB)
testonpc.png (1.3 MB)
avatar image ERuts Jul 18 '18 at 02:04 PM

Have you found a solution yet? I am having the same problem.

avatar image oxiuixo Oct 19 '18 at 01:23 PM

maybe you can try Samsung galaxy s7

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

1 answer: sort voted first

The problem is the widget. Try to apply the material to a cube or a mesh and it should work on android. Here is the link to my similar question: https://answers.unrealengine.com/questions/837237/view.html .

And I did not changed the material settings, so I don't know whether it works with your material settings.

more ▼

answered Oct 19 '18 at 08:57 AM

avatar image

76 1 4 5

(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