Adding Movies to Game

Hi I want to add a couple movies dispersed around the map I’m constructing. What is the best way to go about it? I haven’t found much information on the topic so can someone guide me step by step?

thanks!

There is now a new engine for playing media within your level’s environment, and can be applied to pretty much any surface. It is called the Media Framework and works with MediaPlayer assets in the content browser.

For more info on this new (UE4 version 4.5 or later), there is some preview documentation available here:

It is a brand new available in 4.5 so it may not be production ready, but should work in most cases, and will be improved in upcoming versions.

Hope that helps! :slight_smile:

thank you! getting started with it now. im trying to import a video URL from a site. I placed the link on the URL box and saved following that I created a video texture yet its only showing up black and the video doesnt seem linked yet…how exactly do i proceed.

What is the link to the video? I can test it on my end and see what’s preventing it from showing up. If you don’t want to post a link here, I go by the same name on the forums, from there you can private message me. :slight_smile:

Also, you should be able to download the video, and then import the video file into UE4. if the link wont work.

I would just download the file (click download on the page that loads when you click that link). Just save it to your computer and then import the file into UE4. Then instead of using the URL you can just make the media player play that file in the content browser.

the only problem is that im trying to keep the file size of the executable low since its for a larger audience who would fuss if a file is over 500mb (considering i’d add a 5-6 more of these). have you successfully used a URL link using any specific video format?

Yeah I see what you mean. I remembered hearing of a current limitation with the media player, it looks like *.wmv files will work no problem, but almost all other video formats are having some issues, it says the following in the thread linked above:

The Media Framework is not quite ready for production yet. Only Windows (and to some extent MacOS, and possibly iOS) is supported right now, and even there it can be a pain to find a working video format. Microsoft’s own formats, such as .wmv generally work without problems. Other common formats, such as .mp4 are more difficult. So far we only found the MPEG-4 codec to work reliably – H.264 is still having some problems, and .avi sometimes renders upside down. Microsoft is currently helping us to get these issues resolved and also to make everything work on XboxOne. We also still haven’t found a reliable way to embed caption text tracks inside media files, but hopefully that will soon be solved as well. Once everything is more polished we will release tutorials on how to properly create media content for your game.

So that is mot likely the here, I attempted to use an mp4 off of youtube and it didn’t work either. Hopefully this will be fixed in the next update.