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"

media texture not showing

Hy! We have a media texture that is a working clock with the seconds passing, like in the screenshot attached. While in the engine and on playing the level the video is working, when we play the "Movie" button in Matinee, the texture dissapears. Does anybody knows how can we solve this problem? Thank you !

Product Version: UE 4.9
Tags:
more ▼

asked Sep 09 '15 at 09:30 AM in Rendering

avatar image

razanus
1 3 6 7

avatar image AndrewHurley Sep 10 '15 at 02:53 PM

Hey razanus,

Try creating a new folder called, "Movies" and placing your clock video within this folder. Then package your project, be sure however you are calling the media player movie to play is on start and the playback rate is set to 1.0.

Let me know once you have attempted this and are still having issues.

Thank you,

Andrew Hurley

avatar image razanus Sep 11 '15 at 12:13 PM

Sorry but it is still not working. Also, I want to mention that I do not need to package my project, but only to record some frames inside the matinee by clicking on the "movie" button, as in the screenshot. Thank you anyway for your answer.

avatar image AndrewHurley Sep 11 '15 at 03:51 PM

Hey razanus,

Would you mind providing me with some screenshots of how you are calling your Media Player Asset to playback through blueprints?

As an example of how I have my scene set up, you can create some blueprint logic so that on 'Event Begin Play' you can set the play rate of your media asset video. This way, when you press the movie button and your project begins playing, your media player asset will be playing as well.

Thank you,

Andrew Hurley

avatar image razanus Sep 12 '15 at 03:57 PM

Ok, 6 hours later, I am at the office. I am not using any blueprin to record the movie. Could you give me some hint on how to do that? Basically I have to setup that "On event begin play", my "Media Player Texture" to start playing. But I do not know how to bring inside my Level Blueprint the Media Texture. Thank you again, and sorry for being so noobish at blueprints!

avatar image razanus Sep 12 '15 at 07:41 AM

Sorry for answering so late. I left the office, but in two hours i will be back and will let you know if I can do what you say. Thank you very much!

avatar image Midsoft Games Mar 28 '17 at 08:09 PM

Esti roman? :)

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey razanus,

If you would like to achieve this option through the Level Blueprint using the Event Begin Play, you are going to want to create a new Media Player Asset variable.

Event Begin Play - Media Player Asset

alt text

Use the image above as a guide on how to set up your Media Player to play from Event Begin Play. Simply open your Level Blueprint and create a new Media Player Reference variable type. After you create this variable, compile your blueprint and select the media player asset from the content browser you wish to play.

Create a get reference to this variable by dragging it into your even graph. Connect this get reference to the Target input of the 'Set Rate' node. This will allow your Media Player Asset to play at 1.0 playback speed when you press play.

If you have other questions or need additional assistance let me know.

Cheers,

Andrew Hurley

more ▼

answered Sep 14 '15 at 02:16 PM

avatar image the_redmage May 13 '16 at 11:27 PM

Hi Andrew, I have done all of the above and I have had no luck in getting a video to play in a Build...Its just black... Works fine in viewer or PIE but not standalone or final Build. The video file I have tried multiple file sizes down to 1280x720 and various container types such as mp4 (using both h264 and mpg4) and wmv. I have used 4.11.2 and 4.12 preview3

any suggestions at this point I have no idea what else to do

avatar image AndrewHurley May 16 '16 at 04:05 PM

I would also try the .avi video format. You could try providing me with your sample video you are experiencing issues with, and I can test it on my end.

Also, are you working on a Mac or on a PC?

Thanks,

Andrew Hurley

avatar image the_redmage May 16 '16 at 08:18 PM

Hi Andrew, thanks for getting back to me. I am on a PC (two of them totally different) avi file was no luck and seem to have the same problem where when packaged or in standalone it is black... the file is very large so I hope a dropbox link is ok? For testing its just the kite demo downloaded from youtube and converted in AfterEffects to a .avi file. In the link is also the basic first person demo scene setup with what I was trying. Not sure where to go or what to try.

https://www.dropbox.com/sh/tpxv9nz035fzw33/AABIOYAKjeeqKtHeowt6F9SGa?dl=0

ps. I don't know if this has to with anything but every time the media texture playspeed defaults back to 0 when set to 1

avatar image AndrewHurley May 17 '16 at 02:21 PM

So I will say, the video file is 2.7 GB compressed, which is a rather large file. This could be part of the issue, as the Media Player does not handle large files like this super well at the moment.

Have you also made sure your movie file is in the folder labeled 'Movies' within your content browser?

What Packaging settings are you using as well?

The Playrate at 0.0 now is the new default as it used to be everytime you load the project and open the media player asset, it would play the video which was causing some issues and users projects to crash. I am unable to download the video as it is too large. I would try another video to see if it is the video or the media player asset itself.

Thanks,

Andrew Hurley

avatar image the_redmage May 17 '16 at 11:35 PM

Hi Andrew,

Sorry about the file size it was the project zipped up so you could see first hand if there was any mistakes I was making. The files were indeed in the Content/Movies folder

My Solution for 4.11.2 (still no luck with 4.12 p3/p4 but that's is understandable) after what seems like days of going back and forth with this issue is that the final builds packaged exe file must be run as administrator. I am admin of my computer and everything is allowed to run/permissions are allowed for unreal to run but I must right click and choose Run as Administrator and voila movie plays instead of black.

avatar image AndrewHurley May 18 '16 at 05:16 PM

Wow, that is an interesting workaround that I will be sure to forward to others experiencing the issue. As long as you have it resolved that is the important thing at the moment.

avatar image shrst Oct 09 '18 at 04:01 PM

@Andrew Hurley thanks a million it solved my problem of the video rendering super fast,

avatar image shrst Oct 09 '18 at 04:07 PM

https://youtu.be/hJ6T85mpadw the result,only want to know how to make resolution better

(comments are locked)
10|2000 characters needed characters left
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