If the video doesn't appear in your brush, just drag and drop the video file from the movies folder into the widget. It'll create the image automatically.
If you are getting a black screen around 2:50 Then project settings and change your "SOMETHING" setting to not direct X 12. In Conclusion Direct X 12 is causing the issue of a mp4 media texture not loading in a media player and changing to Direct X will likely solve the problem.
To whomever is having trouble with the media texture, there's a more flexible way. Create a material like you normally would and drag your media texture to the graph, connect the texture sample node to Base color. Go back to your widget and look for this new material instead (you can select materials, not just textures), UE4 is going to ask you something about setting the material domain correctly for you, just accept and you are done.
Hello, Thanks for the video. When i try to create a new media player, I do not have the option 'Audio output SoundWave Asset' like you do. Any idea what might cause the problem? Moreover, the video works (without any audio) in the engine, but after i package the project, the video does not play and instead, a black screen is shown.
Thank you for the tutorial it was very helpful !! only about the clicking sound, no need to add clicking because you microphone already pick the sound of your keyboard and mouse therefore it is a little annoying and destructing with all the clicking noise
You shouldn't set the size of the image to 1920 x 1080 otherwise it won't work properly for other resolutions. You should just use the Anchor to set it to Full Screen which is the one in the bottom right corner that looks like a square.
Very good tutorial, but with the actual version (UE4 4.24), we can't play the sound with the video, so we must create a separate sound in .wav and launch it at the same time of the video.
yeah this DOESN'T WORK please help me i can't add the media texture as an image, idk why, i tried everything , drag and drop (it doesnt work), selecting the asset in viewport, searching for it, nothing works
in recent versions like 4.20 and higher you just drag a media texture(NOT a media material) into widget area, where you usually place a buttons, text, images etc.
@@Dadane oh, damn I can't recall it now. I have forgotten a lot details over these two month, I'll pop up here in the comments once I recall a thing, ok?
Very useful tutorial. I have a question. After packaging the game, the video file will be shown on content folder and thus everyone can play it. I know it unity it converts to .resource file, so one one can't open it. But unreal engine will show the real format.
My movie widget is lagging on playing my movie, I don't know why, cause the frame rate is largest than 60 fps on logs, any ideas please ? (I have try to launch my app at 200 fps but the movie widget lagging too)
Without looking at it, it's hard to say. When you play it back in the set-up previewer is it working there? Did you create an audio file with it when you imported? Unreal can be very specific with sound sometimes. Might be easier to just bring it in as a separate file in fire off a 2D sound when you play the video.
in version .18 there is no automatic audio file creation anymore when you import the video as a media player. But your suggestion with creating a "play sound at location"- node when you play the video is good. I gonna try that, thanks ;)
Pick any actor in your level or add one if your level is empty. With that object selected, click the green add component button and choose the MediaSound component. Next, under the Media section, choose your Media Player to specify the sound associated with your video ;)
Thanks for the tutorial! I finally got it working, but now when I start a game, it's fine if it starts in the level, but if I do a quit to menu, and click new game, my character is frozen! I can't move around or look around. Also, with the event beginplay, if I have it connected, it goes to the menu when I start a game, but when I click new game, it just reloads the menu! I can't actually get into the game. When I unlink it, it plays fine and starts out in the game level, but again, if I go back to the menu and start a new game, my character is frozen. Something broke my game.. and I can't figure out how to fix it.
Have you used the "set input mode UI only" node (from player controller)? If so, then you will have to "set input mode game only" so that it doesn't think you are still trying to interact with a menu. There are three input modes: UI only - interacting with menu Game only - interacting with game UI or game - after a mouse click it decides which input mode should be chosen (is there an intractable widget or not)
Really. Weird. Usually drag and drop works. Try expanding the selectin box and getting it from there. Failing that maybe look at going into your material editor and setting it to be used for a widget. Can't recall the lingo they use. Above the two sided check box option off the top of my head.
FOr anybody else having this problem: Open the widget in a window, go to your content browser (in the other window), click and drag it into the canvas, its going to make a new image with it already set as the brush, and voala
What engine version are you using? I find it is not a system that works very well. I'd say double check that you have the videos in the correct folder, linked them there and make sure they play in the media player.
i am already animator and i believe i can make story game like "WALKING DEAD", "WOLF AMONG US". is there any tutorials that can guide me here or anybody with any recomendations?
If the video doesn't appear in your brush, just drag and drop the video file from the movies folder into the widget.
It'll create the image automatically.
you updated this video.. thanks..
For everyone having troubles, you have to drop the media texture in your widget
and how we do that ?
@@dreasan7251 i cant be more specific than that sorry
@@falseee4445 where I have to go to put media texture in widget
@@dreasan7251 you need to drop the texture on an image
@@falseee4445 but how I transform my vidéo in texture
If
you are getting a black screen around 2:50
Then
project settings and change your "SOMETHING" setting to not direct X 12.
In Conclusion
Direct X 12 is causing the issue of a mp4 media texture not loading in a media player and changing to Direct X will likely solve the problem.
UP
wth you mean 'SOMETHING' setting
To whomever is having trouble with the media texture, there's a more flexible way. Create a material like you normally would and drag your media texture to the graph, connect the texture sample node to Base color. Go back to your widget and look for this new material instead (you can select materials, not just textures), UE4 is going to ask you something about setting the material domain correctly for you, just accept and you are done.
The problem is that once exported the image becomes white and blank there is no more video, a solution?
@@comptequisertpresquearien2326 add the video to the movies folder. This is just basic unreal knowledge
Has this changed? I can't select my Media Texture in the Image Widget Brush
When I search my video in brush, I dont find it
I had the same problem, but I found I could just drag and drop the video file into the widget directly and it would create an image automatically.
Me to
Hello,
Thanks for the video. When i try to create a new media player, I do not have the option 'Audio output SoundWave Asset' like you do. Any idea what might cause the problem? Moreover, the video works (without any audio) in the engine, but after i package the project, the video does not play and instead, a black screen is shown.
yeah wtf this is pissing me the fuck off
how has it been 4 years and no one helped you with this fuck unreal community is trash
Very helpful m8! keep up the great work!
Thank you for the tutorial it was very helpful !! only about the clicking sound, no need to add clicking because you microphone already pick the sound of your keyboard and mouse therefore it is a little annoying and destructing with all the clicking noise
Great video thanks mate.
Thanks, guy!
This was just what i was looking for,Thank you very much.
Worked Great. Thanks !
Got the video to work, but has no audio. It did not import with the video like it showed in your example. How do I do that? Using version 4.25
You shouldn't set the size of the image to 1920 x 1080 otherwise it won't work properly for other resolutions. You should just use the Anchor to set it to Full Screen which is the one in the bottom right corner that looks like a square.
Thank you! Exactly what I was looking for!
Very good tutorial, but with the actual version (UE4 4.24), we can't play the sound with the video, so we must create a separate sound in .wav and launch it at the same time of the video.
I can play the sound with 4.24 version. Maybe you can check the options in Media Player - Playback Options - Audio.
Thank you :D This was a very helpful tutorial!
works like a charm, Thank you
I use ue4.22 and my media player does not provide output? is there another way?
yeah this DOESN'T WORK please help me i can't add the media texture as an image, idk why, i tried everything , drag and drop (it doesnt work), selecting the asset in viewport, searching for it, nothing works
in recent versions like 4.20 and higher you just drag a media texture(NOT a media material) into widget area, where you usually place a buttons, text, images etc.
@@torgath5088 man i tried this on ue4.24 and it doesn't work ... can you help me please
@@Dadane oh, damn I can't recall it now. I have forgotten a lot details over these two month, I'll pop up here in the comments once I recall a thing, ok?
Does anyone know how to add a video player into a widget, like give the users the ablity to play and pause a video export (with audio)?
Bloody Marvelous!!
Bloody welcome!!
This is amazing! May I know how to stream audio from that same video source! thank youuu
And how can i do for when you complete the mission the cutscene start ??
It dose the play the video just stays on a still screen
Very useful tutorial. I have a question. After packaging the game, the video file will be shown on content folder and thus everyone can play it. I know it unity it converts to .resource file, so one one can't open it. But unreal engine will show the real format.
My movie widget is lagging on playing my movie, I don't know why, cause the frame rate is largest than 60 fps on logs, any ideas please ? (I have try to launch my app at 200 fps but the movie widget lagging too)
working like a charm in editor (4.23) but not in HTML5, any tips ?
And something else I'd like to know too, how to spawn to the next level after the video is completed :-)
create widget > add to viewport > delay (time as you wish) > open level > remove all widgets OR remove from parent
thank you !
i got scared when i heard my computer making a weird high pitched noise then i realized it was yours
Hahaa right! Good time for me to mention our Patreon ...
Does it work for when u hit new game and make a movie play
idk if its dependent on the video format or if Unreal Engine made changes, but this does not work. atleast not for the MP4 visualizers im trying.
Just curious, what mouse were you using?
Errrm. I think just a standard cheap mouse.
@@8fifty2torials the mouse clicks were louder than i can describe. 😂
@@nizarshawwa3704 Hahaa fair enough. Thanks for the heads up
becouse there was no audio i tryed to play 2d sound and i selected the mediaplayer vawe and it started working but crashed my engine
great tutorial, my video finally works!! But unfortunately it has no sound :( do you know how to fix this?
I'm using version 4.18
Without looking at it, it's hard to say. When you play it back in the set-up previewer is it working there? Did you create an audio file with it when you imported? Unreal can be very specific with sound sometimes. Might be easier to just bring it in as a separate file in fire off a 2D sound when you play the video.
in version .18 there is no automatic audio file creation anymore when you import the video as a media player. But your suggestion with creating a "play sound at location"- node when you play the video is good. I gonna try that, thanks ;)
GoogleUser for 4.18 and latter you should called Sound Media Component . I have similar problem, but it was good solution.
Александр Науменко how and where do I call the sound media component?
Pick any actor in your level or add one if your level is empty. With that object selected, click the green add component button and choose the MediaSound component. Next, under the Media section, choose your Media Player to specify the sound associated with your video ;)
Thanks so much ^ ^
how can i add stop button?
Thanks for the tutorial! I finally got it working, but now when I start a game, it's fine if it starts in the level, but if I do a quit to menu, and click new game, my character is frozen! I can't move around or look around. Also, with the event beginplay, if I have it connected, it goes to the menu when I start a game, but when I click new game, it just reloads the menu! I can't actually get into the game. When I unlink it, it plays fine and starts out in the game level, but again, if I go back to the menu and start a new game, my character is frozen. Something broke my game.. and I can't figure out how to fix it.
Have you used the "set input mode UI only" node (from player controller)? If so, then you will have to "set input mode game only" so that it doesn't think you are still trying to interact with a menu.
There are three input modes:
UI only - interacting with menu
Game only - interacting with game
UI or game - after a mouse click it decides which input mode should be chosen (is there an intractable widget or not)
I can't chose a Media Texture like a image in the Brush. Help please ?
Really. Weird. Usually drag and drop works. Try expanding the selectin box and getting it from there. Failing that maybe look at going into your material editor and setting it to be used for a widget. Can't recall the lingo they use. Above the two sided check box option off the top of my head.
FOr anybody else having this problem: Open the widget in a window, go to your content browser (in the other window), click and drag it into the canvas, its going to make a new image with it already set as the brush, and voala
beatiful...
thanks!
This is not working on version 4.21.
Hi, did you find a way to solve this for version 4.21?
Thanks
I liked while the video was still loading
if i have video with it's sound and i want to skip it like many games how can i do that i mean stop video with it's sound and continue play
Seperate video sound as a sound cue or 2d sound, then stop it whenever you want.
For some reason the video will show but it won't play
cheers!
i followed everything but when i hit play the video wont play ;/. Any help would be really appreciated !
What engine version are you using? I find it is not a system that works very well. I'd say double check that you have the videos in the correct folder, linked them there and make sure they play in the media player.
how to Playing a MOV Video with a Alpha Channel in UE4
It works 100%! Thank you! Great tutorial!
Yeah....cant add the video texture to my widget for some reason.
Why is your clicking so loud? It was very annoying.
i am already animator and i believe i can make story game like "WALKING DEAD", "WOLF AMONG US".
is there any tutorials that can guide me here or anybody with any recomendations?