I am trying to take a .mp4 file and have it play on a BSP brush or static mesh inside of my game. It does not appear to be working, despite following a few tutorials.
I had similar problems.
It seems that different video editing toolsets use different encoding schemes. On a high level they are both the same format, but some optional/omitted/not implemented datafields in the header render the file unplayable for UE4.
So far I was lucky with the AVS video editor.
Vegas, Premiere and even the Windows movie maker fail to create UE4 compatible video files. They play however well in the media player.
My assumption is that the UE4 media framework does not handle all possible file headers properly.
Unfortunately I dont have enough C++ knowledge to look into the responsible code…
Are you saying that, as far as you’re concerned, my process is correct but the file handle might not be fully integrating? Perhaps I should take the file and convert it to a bunch of file types and test
I’ve tried several different filetypes and it’s still not working. Perhaps it doesn’t work properly on MAC? Not sure what to do. Anyone else have this problem? I really need to have videos in my game
I tried importing this file into Unreal Engine and it literally broke Finder on OS X and I had to make a new user account and move all my files over using Terminal…
Am going to try again with a new user account and report back.
This doesn’t work for me. Did I mention I’m on a Mac? I imported the file into unreal, made a media texture, then a material (from the media texture) and applied it to the BSP. It does nothing.
Hmmm, I never laid hands on a Mac, so Im not sure. But it seems to be a matter of video codecs.
Does the video playback in your normal media player, or does it not decode at all?
Well when I try and play it just normally it converts it into a .mp4 then plays it. When I bring either the .mp4 conversion or your .avi codec into Unreal, neither of them play in the video playback box.
In this case, maybe you should post on AnswerHub about this. You can include both videos for reference.
Maybe Epic staff will have a chance to look into thisone…