Video tracks disappearing from Media Player

When I import a video file, it creates a Media Player, inside which it lists a Video Track (eg. “Unnamed Stream 3,452,816,845”). When I click play, it plays the video.

However, upon closing the project, and reopening it later, it now says “No video tracks available” on the same Media Player. If I click play, it plays the audio but there is no longer any video.

I have tried deleting and re-importing the assets, but the same problem occurs.

Any ideas how to fix this?

I had a similar issue, but it happened whenever I called my blueprint in the editor. After further review, it looks like I was also calling the Media Player function “Close” which I assumed would be good housekeeping. It turns out that this removes the link between the media player and the actual media, which is a little confusing IMO but I’m assuming intended behavior and not a bug.

Removing the Close function allowed me to keep the media player linked to the media file.

85481-capture.png

Thanks for this possible answer.
Unfortunately that can’t be what’s going wrong my end. I’m not using the ‘close’ function.
This is happening on freshly imported Media Players that haven’t even been used in code yet – I haven’t even run the PIE, and yet the video streams are disappearing.

I just tried updating my project from 4.10.4 to 4.11 and the same problem still exists…
Completely stuck if I can’t solve this problem…

I’ve had luck with a blank project using an 60fps 720p .avi matinee recording from my main project. I used VLC media player to shrink the 1GB+ 30 second matinee clip down to a 18MB file, same specs, still .avi, and then used that for my media player (in 4.11). What video settings have you been using? I saw some report somewhere of .mp4 files behaving erratically.

I’ve finally got it playing and staying in the media player, although it will only render correctly if I play in the selected viewport, launch the game separately, or package and run from there. Playing from the editor as a standalone game shows just a blank white screen (I’m filling the screen with the media player material) though controls and action input still functions correctly.

Hey guys,

Just in case you have not taken a read over it already, the documentation on Media Framework states that this feature is still experimental and it is expected to encounter issues with specific media file types like .mp4 and H.264 encoded file types.

You will also want to make sure the media file is placed in your /Content/Movies folder directory. There are known issues with the media player not playing in a packaged or standalone game. We are working on improving this feature, and we have added additional media player plugins to help support a broader range of media file types. We ask that you remain patient while we get these issues resolved, and the you try not to use this feature as a major part in your projects as it is not quite production ready.

With all of this in mind, if someone could provide me a test asset and some reproducible steps to get this issue to appear on my end, I can begin the investigating and troubleshooting. Just as a little point of reference as well, I wrote a simple Media Player Tutorial for those having issues with playback.

Let me know if you have further questions or need additional assistance.

Cheers,

Hi Andrew,

I’ve been following the guidelines as closely as possible. Will definitely see if I can get some reproducible steps down to send you.

One question though: what are the most stable/reliable video formats to use for both Mac and Windows?

I would stick to .avi and .mpeg4 formats. They seem to work well in my experience.

What’s the difference between .mp4 and .mpeg4? If I try to create MPEG4 videos on Mac, they always come out as .mp4, and seem to have to be h.264 encoded, which is exactly what you’re saying to avoid. Can you recommend a specific way to encode .mpeg4 files on Mac?

Take a look at the page below to get a better understanding of the difference and good ideas on which software to use when encoding.

http://www.winxdvd.com/answers/mpeg4-vs-mp4.htm