MP4 not importing as media player

So, I’ve been trying to import an example video into my level, but I cannot get the video to import. I have tried using .wmv, .avi, and .mp4 with mpeg4 encoding but all of them show up as grey in the content browser and do not play when I click on them.

As you can see, the video (the example I screenshot was the .mp4 mpeg4 encoded one) shows up as a grey icon instead of the Video Player one. So, I decided to create a video player file and clicked it, and it allows me to play the source file but it doesn’t do so automatically.

I’m currently trying to get it so that I can make a texture and material out of the video, but I cannot with it being a source file.

Starting with 4.13, media players (the thing that plays media) and media sources (the media being played, i.e. files, streams, capture hardware) are two separate asset types. The former is represented by a MediaPlayer asset, the latter by MediaSource assets. There are different types of media source assets. For playing an MP4 file, you want to create a FileMediaSource.

Another change since 4.13 is that media sources (formerly media URLs) are no longer stored and automatically played in the player. Instead you have to open a media source and initiate playback from Blueprint. While this is more work than before, it gives you more fine control over when media sources should be loaded and played, and it prevents people from shooting themselves in the foot by unintentionally playing lots of videos even though they’re not even used anywhere.

You can find detailed instructions on how to set this up in our Media Framework How-To.

I’m using 4.16 and when I go to right click and create a new asset in the content browser I don’t even have a “media” section to choose a FileMediaSource or anything else for that matter (MediaPlayer, playlist, etc.). Still shows up if I go to create a new C++ class, can’t do that yet though, I’m currently trying to get Visual Studio installed first to see if I can create it that way. But it seems to be a pretty big bug if I can’t create one through the normal menu. Also doesn’t work by dragging it in from the Content/Movies folder, says mp4 is unrecognized. If I go to Import there are also no options in the available file types that include .mp4 or anything like that for that matter, for some reason. I’m having the same issue in 4.17; I do have a “media” section though, but it only listed “layers” and no MediaPlayers or FileMediaSource assets. Any ideas?