I think this updated needs a new updated video lol. Following Kennedy's link you can get it working. REGARDING VIDEO TEXTURE (View video description): I have it working in 4.25.3, basically when you import your video it will automatically create a "Media Texture". Simply create a new variable inside the UI Widget and name it "MediaTex" or whatever you want, it will be of type "Media Texture", Click compile and then go to edit the variable and set the default to be the media texture that was automatically created. Then at 7:39 instead of "Media Player > Target/Video Texture > Return Value Image" just stick in "Get Media Texture > Return Value Image". You can simplify a lot of this now in later versions.
If you don't have Get Video Texture in 7:27 look here -> forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18 You have to create variable with type MediaTexture and default MediaPlayer Value and link it to Return Value Image instead of Media Player -> Get Video Texture.
GDL - Nikita Osadchuk Good news. If you create a media texture from the media player, and import that as its own variable, you can use that instead and it works just fine.
For people using Unreal Engine 4.20 and Higher. Epic has made some changes yet again. To adapt this tutorial you only need to change in the "CutScene Structure" the Material to a "Media Texture". So you will have a File Media Source, a Media Player and a Media Texture. Plus of course, the audio. The same should be pretty much the same. Just make sure you remap the brush in the widget. You dont really need the playlist anymore, but it still works with it. Cheers!
Hi Martin. I would like to know if its possible to add a "Joinning Server" video when you Join Session with Steam or LAN while you finish loading the servers map
@@aeuum4350 I assume it is possible, but I have not worked with servers on my personal projects yet, so I won't be of much help to you in that regard, sorry
Hello Martin, I've returned to UE4, have added six 3D videos, all play fine, but I can't seem to find where I assign the separate wav audio files per video in your tut. I tried in the CutScenePlayer selecting one of the clips> Output>Sound Wave> clicking the arrow button to assign a selected audio assets from the Content Browser, but nada. Clicking "None" brings up an empty window. The wav files play fine in CB. When I drag the audio asset over to the Sound Wave section, a red dotted outline is displayed. I'm thinking this isn't where I assign audio per clip, rather relates to the CutScenePlayer widget generally. Thanks for a tip, and BTW I'm still in 4.17, need to stay there because of the 3D side-by-side plugin not being compatible with newer versions. I searched and see Sound Components are now handled differently in 4.18 and up. Also, what are your thoughts about an OnEnd command per video that returns the user to a specific level/player start? I know the CutSceneWidget contains an OnEndReached node, but that's applied globally to the library. Thanks if you can point me. Benjy Benjy
Hi Benjy! Did you create an Array of SoundWave as in minute 5:30 ? In your array you have to put the audio file of all your cutscene (in order they come up in your playlist) and call them later on by their Index as of minute 6:20. I have gone a bit fast in that part but you can see me in the bottom left corner putting my wav files in the array. For your second question, you could have it at the OnEndReached node. What I would recommand is creating a new structure and having both a Boolean and a text. In the "PlayCutscene" Event, make this structure be an input and save those values. At the "OnEndReached" check that boolean and if its true, instead of just destroying the widget, call the "Open Level" and use that text to point to the right one. Not sure if that was your question or if i read it wrong, hope this help! Martin
Great, now have audio back, wasn't looking closely enough while listening to that section ;^( Thanks for your tip on how to get each video to return to a different level. It's a bit over my head how exactly to implement, but I'll share with a colleague, hopefully he sees it. Very best, and again, big thanks! Benjy
Hello Martin, many steps forward and a step back with the videos. To support gesture-controlled lighting in this virtual cave with Leap Motion plugin, I had to upgrade UE to 4.19.2, now getting the red Error! beneath Target/Video Texture node in CutSceneWidget (Media Player node connected to Target, Video Texture to Return Value Image in Return Node. I read elsewhere folks having issues in 4.19.2 with how Materials call up textures, but not exactly video textures. Any idea what's different? Big thanks, so close to wrapping before it's due.
What a silly question I have. Let’s say I record the video of one minute and I import it in unreal engine and now I press play video. Can I play game inside the video for example as video is playing I have things popping out and I can shoot or ... or some similar idea
You would need, instead of creating this media player, to just have the video be a texture. There are tutorials on how to do this. But all the gameplay mechanic, you will need to implement yourself :P
Emojimatt If for exemple you start your first video with a colision box actor. You could put a public boolean that ask if you want 2 video to play. When the character enters the box it launches the first video and checks at the boolean value. If its set to true, starts a delay (another value public that you would set for the lenght of the first video) and after the delay, starts a the second video. There are others (and many) ways to do that, but thats one you could do thats not too hard :)
UE4 By Martin thank you! I used the level blueprint to start the first video when I start the game and I want the second to play right after automatically
hi der.i need your help.i need to play this video (if i go to the chekpoint ,then after the play this video and.then after the player need to stay another place on same map(level) ok ....could you plzzz.......help mee can you???
I would love to help you, but I don't understand what you want to do. If you want to change the location of the player, just use the node "SetActorLocation" after the PlayVideo
@@slgamez1839 You could create an actor that has a box collider. In your player, using the event for your "press key", do a "get all actor of class" then a "for each" and check if your player is overlapping the box collider. If it is, then Play your movie
A collision box? Well simply create an actor that has a collision box and use the "Begin Overlap Event" cast the "other actor node" to your character that you want to trigger the event with, launch the video via that and destroy the actor! as easy as ABC ;) (In text maybe not XD)
0:25 wmv is not as nice as mp4 anyway :) About the widget image, instead of skaling and positioning by hand with aproximation, you can simply reset the position X & Y (it will set them to zero) then set the size X ton 1920 and Y to 1080 (oh wait, like the video's resolution ?). Cheers.
actualy there is a better thing : instead of making the widget 1920x1080 (which will look ugly if the games doesn't run in 1920x1080), you can symply set the anchor to the "big one that fits all the icon" (yup I'm shit in english). Downside : it will stretch your video to the games display size, but at least it will not be a weird plan on top of the game. Or maybe you can set the video's image to the video size, and put an additionnal black image above with the right anchor so that it fills the screen in black and put the video above it with the good aspect ratio even if the game is set to an exotic display resolution.
Nice tutorial. Clean and crisp:) Just one question. I'm creating my first Archviz cinematic with Unreal and want to have a TV screen in my scene on a wall with a video playing on it. Is there a way to drag the mediaplayer inside a scene and place it in 3D space? Many thanks!
Of course. You can simply right click on the Media texture and select "Create material". From there just drag and drop onto your Tv screen. The only thing is that you will have to change the starting mechanism for the video.
hey i am unable to import sound. it gives error message "Failed to import 'C:\Users\Sanket\Documents\Unreal Projects\BombDiffuse\Content\Movies\BlastAudio.wav'. Failed to create asset '/Game/Cutscene/BlastAudio'. Please see Output Log for details."
Sanket Varia I would suggest trying another file see if the one you are trying to import isn't simply seen as corrupted by the Engine. If not, try converting it to mp3 and back to wav
actually it was a wav file that i converted from adobe audition CC17 because it also had some editing to be done. so i converted my wav audio again into wav on some online site and now its fixed. BTW do i really need to you media playlist if i have only 1 video and 1 audio? or it is just impossible for a video to play without playlist? if its possible then what sort changed i am supposed to be doing widget's blueprint? i don't require skip and fade in/out so i already removed them.
Well all you would need is to make them a simple variable instead of an array. You might need to tweek a couple of things, but you'll see as you do it. Shouldn't be a problem if you understood how the video player works :)
Nice tutorial, but all I really need is to make a video play on the same widget as my main menu and when trying to import WMV on 4.17 all I get is the media viewer so my UMG material doesn't contain any video. Help please!
I pinned a comment that had the problem in 4.18, he links the answer in the replies. I would have liked to add an annotation to say it, but TH-cam removed the option of adding annotations.
Hi thank you for this great tutorial. Here is a request for 2 more :-) Can you show us how to set up a cinematic (imported video like this one - I am thinking building it with Sequencer and then exporting it so I can add VFX and other things in compositing programs outside Unreal) right at the STARTUP of a game. In other words when the screen FIRST appears with logos everything. How this can transition into the game itself. And then CLOSING cinematic with credit scroll. I suspect it will probably be really close to how you did it here but I would like to see how you would set it up. Thank you !!!
Thanks for the feedback! I'll try to do your requests, they seem an interesting subject to cover. It won't come out on the next few weeks though cause I'm a bit busy at the moment, but I'll try to get a tutorial done by the first week or so of May. Thanks for the suggestion!
UE has Built in functions to pause the media player and a sound wave. So on your widget button press, just call the pause on both your soundwave and your media player, and on the widget button to resume, just call the unpause (or pause method, but unchecked). Has for the skip, its basiclly what I did with the "Enter to skip"
hey we are doing a game for a school project and we need the cinematic to play when the character enters a trigger box how would you set this up? should i just follow this tutorial but change the event begin play to play on begin overlap?
Hi Martin, maybe you're covered up, maybe you didn't see me reply below, hoping you have an idea what changed in 4.19.2 to torpedo your fine work in 4.17. I'm getting the red Error on Video Texture Node. Many thanks.
Yes, sorry, I didn't have time these past few days to check my notifications. I think I know what your problem is, I have linked in the description to a forum thread that dealt with this problem. You will likely find your solution there: forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
Hiya Martin. I tried to implement, was able to create the Mediatexture variable, but don't know how to create the Media Player node to include "Target". I also have a question, if it's not too much. When the game first launches I need everyone in the room to get their 3D glasses working, active shutter glasses with rechargeable batteries and such that need to sync to the projector/screen so we don't have a false start. To that end, I want to throw up a 3D test image, a looping video with some eye-candy animation and text (at screen plane) instructing you to put on your 3D glasses. I then want a key press to call up another video, so video 1 looping on key press cuts to video 2, with your widget taking care of the rest. I'm working with a coder, but any tips he might understand would be most welcome. Many thanks!
Yes, that should be totally do-able. I wont be able to test anything out for myself for the next few days, as I am not home, but what I could recommend testing is creating a boolean variable called "looping" that if set to true, instead of simply destroying the widget would restart the video at timecode 0. You can then add a custom event to terminate the video as we did for the "Skip the Cutscene" that would launch a second video (You can have the video and media player as inputs as we did for the normal "Play Cutscene"). For your problem on converting the HUD to 4.19 I cant look at the problem right now, so will have to get back to you.
Thanks once again, you're such a big help. I think this should be plenty to share with my coder, will report, but don't spend your time, you've done plenty in simply throwing me a text bone ;^)
Thank you soo much! I had literally no idea how to do any of this. I wouldn't have known where to start. Some constructive criticism... Slow down! I had to play the video on half speed and keep pausing it.
Martin, hello, been a while. Say, I've noticed an issue whenever I trigger a video via keypress, Media Player must have something in its head, I get a flash frame of another video on launch of a desired video, seems arbitrary how it pulls from other videos with this flash frame (maybe 2 frames). I'm thinking when Media Player is invoked to paint over UE4 that it's out of UE4's hands to intervene, other than to skip or maybe other type Media Player commands. But, can you think of a way to tell Media Player, "flush your cache or whatever silly ideas you have presenting this flash frame, now only show what I asked!" Is that wording too harsh? ;^) Thank you!. Benjy
Hmm, that is a good question. I have ran into this issue myself as well. on my end, I just started the video and removed the black fading effect .1 sec later than normal so we don't see those. But that's just a way around the issue. For a real answer I'll have to dive a bit deeper into the code. Ill take a look and get back to you
@@FLTxxdxx Thanks, I'm fine with an invisible workaround like that, assume there's a node in place to delay the fade in from black by .1 sec? I'll have a look.
@@FLTxxdxx Martin, I tried to implement that, not sure if I'm in the right node. In CutSceneWidget between Play Cutscene 1 and Set Opacity nodes I see a Delay node, which if I lengthen that only extends the amount of time in black before the video starts, still seeing the flash frame. Another issue, I'm seeing really bad lip sync, not so critical here, very minor on-camera bits, but it's like over two seconds out, if you have any thoughts on that. Much appreciate your thoughts.
Addendum - Regarding the audio sync issue, I just switched out an audio track and believe I'm seeing/hearing the frame offset being consistent, wondering if the delay applied to the video is possibly missing from the audio, which always precedes the video. Thanks if and when.
Whoops, should have tried that before writing. I just guessed where the Delay node belonged, placed it between the Play and Create Sound 2D nodes, matched the 1.5 sec delay in the video and tested. That did it, now in sync ;^) If you have thoughts on the flash frame. Many thanks.
Well, it depends what you want to do with them. If you want to add "effects" to them. Its a lot easier to just do it in a editing software. Same goes for crop or zoom.
@@FLTxxdxx thank you for ur replay sir. i did some research. and i found that EU4 version 4.20 has a new feature called mixed reality which is almost what i want. thank you again
hey awasome tutorial so... i made this tutorial i added on evet begin play in a level blueprint that is my credits level and i want to transition to main menu level what do you sugest 1 should i add a swich on int and after the code add an open level node 2 after the play cuscene to add a delay i'm confussed, can you give mea working solution?
If you are just trying to show some opening credits you dont actually need this tutorial. There is a built in thing for those. th-cam.com/video/gGRHBZFOzEk/w-d-xo.html
You could do the exact same thing as the fade in we did at 9:35 but inverse. So video finishes. Have a delay, and in your event tick, fade from 1 to 0.
Hi, really helpful video about video in UE4, many thanks. Instead of trigger with a key, I'd like to use a volume trigger. Is that done in the character BP as well? Since the OnActorOverlap Event usually happens in the Volume Trigger BP, how does this work to switch the "L" Event with something for the volume trigger? Big thanks.
Benjamin von Cramon So just to clarify. The video displays correctly but you can see the borders of it and the game behind it? If that is indeed your problem, just make the image larger in the HUD so that it goes a bit out of the "normal" boundaries. It should fix your problem. As for your second question, you could add in your "play cutscene" custom rvent you could add a float input that describes the volume and use it to ajust the volume of the sound. The other way would be to simply changr in the video itself the sound to fit the desire volume for the game.
I spoke to soon and then also misspoke ;^) I retraced my steps against your tut and saw I skipped setting the alpha on image 0 (the video layer) to zero, that allowed the game to fade over the underlying video, all good. I misspoke, not a volume trigger, rather a trigger volume, ha. Player character overlaps the trigger volume, video takes over, ends in another level. So very kind of you!
Yes, you can do that, trigger volume are the same as collision box, just use their Event to start the video like I did pressing "L" . You could add, after the "play cutscene" node in that event, a delay of the lenght of your video and after the delay load your next level. Its a barebones method, but it will work. The other way woud be to get the length of the video as the length of the delay, but it more complexe.
not only it didnt work, but also the menu does not appear now... what im trying to do is to play the video after the menu and before spawn on the map ...
Henrymrl I don't know how you menu is built, but nothing in here should affect it. For the video, the common problem people get is that their video file is not supported in UE. What I would recommend doing is to first make sure the cutscene works by a simple key press like I did, and once that problen is ruled out, try to understand why its not showing between the spawn and the menu. You can always download my project and try to figure out from there.
UE4 By Martin ive made a different thing now and it worked. I've build a new blank level with the blueprint with the movie alone and it work as it should. The main menu open. I've pressed and the video played. But then I've noticed the character was on empty space. So i copied the entire map to this new level and it worked!! Now I'm gonna see what was i missing in the last level so it was not working properly. And I'm gonna check your blueprint as well so i can see the thought behind it. Thank you so much for taking your time to help us all
Wow, thanks for the feedback, but if possible could you make a video tutorial showing how to do it another day? is that I am so noob in unreal that answering for comment is no use. anyway, thanks for the video tutorial
Did you just liked your own comment? Hahaha. Anyways, yes I'm afraid this video is outdated, but if you look in the description you will find a link to a thread explaining the few simple extra steps needed to make this work. I didn't re made this video cause it seems Unreal screws up with my methods every few updates (this was already the second video on the subject) Hope this helps!
Hi, I'm trying to follow your tutorial but you lose me whenever you try "Split Struct Pin" as no matter how hard I try I can't find that function, so I can't link things to it. Could you help please?
It can be multiple things. Have you checked the "play on open" of your video? Have you changed the Z values of your layers? It might just be under the black matte
Hi man first of all thanks for your video. I have the following problem: When i hit L i hear the sound of my video but the video itself doesn't appear. And secondly when i try to activate the video when i hit a trigger volume, Unreal crashes. I've tried both with wmv and mp4 files....please i'm kinda desperate here :/
I just fixed it! If anyone else has the crash problem, just make sure you're running your editor in realtime, or else it cannot calculate the video and the therefore you're stuck with a crash. Happy hunting everyone :)
I'm assuming you only see a black mate for the duration. Do you have audio? Can you see your video in the Media player itself? (2:36) Or does it show only black there too? If it does not show from there either, their might be a problem with your file, try converting it in a different format. If not, try checking/unchecking the precache file (1:30).
Well it actually depends on how you've set up our player..I made a series of mistakes in my game and i fixed them. For example try to run he executable and not on editor and see if your problem persists. Other than that you have to be more specific about your setup 'cause otherwise i can't help you:/
Hey. Great tutorial, by the way. I've run into an issue. My image that's playing the video stays transparent, even if I initially set the alpha to 1. However, I know it's playing because the widget disappears after 5 seconds (my video length). Any ideas?
Thanks for the quick reply. I actually tried removing the black but still no luck. Would it be possible for you to upload your level so I can take a look? Thanks again
There you go: drive.google.com/open?id=0B_NR7WAwPq2yMnJtOFJJMmxXTXc Let me know if it works as intended. If it does, I'll post the link in the description for others to access it. Thanks
i want to se my vidios as cutscenes for my game maby you could do a toturial on how to make vidios pop when you go in a specifik place. ore maybe you all ready made one like that and im just being stupid but eny way if you could do it it woud help me alot :)
i cant find the node with get video media, Help plz. Never mind, i created a variable (Media Texture) and replaces with media player, so after that i get a white screen in the video, that made me so angry hahaha so, i search and searh for a answer, but i almost get there, so i just go to the unreal's manual and there it says that I have to open the source to play the video, AND TADAAAA! thats tha answer, in the local that you put playlist index i replace with Open source, and works (In my case is just one video and i used for the intro).
Hi! Thanks for the awesome video! I´m running UE 4.17.2 + HTC Vive and when player hits triggerbox, video starts. It works fine, but the video is showing only for another (left) eye. Do you have any tips with that?
Hmm, I'm affraid I have never played with the VR in unreal Engine, so I have no idea how to fix your problem :/ But I would be interested to know if you find a solution!
Oh i have another issue, i noticed that even when i play in my packaged game, when i play the video my cpu hits almost 100%..is there any way to fix that?
Hey man thanks for answering. I figured out what happened. Because i wanted the video to play on trigger volume hit, i set up the whole thing correctly, but when i hit the volume video begun normally but when it was done it started over again. That is because the engine recognized the trigger constantly (kind of like an infinite loop)..I tried to find a way to make my volume a one-time-hit thing but i couldn't make it..
For anyone having the issue were you hear sound of the video but the video itself doesn't appear i found out the reason. docs.unrealengine.com/latest/INT/Engine/MediaFramework/HowTo/FileMediaSource/ Refer to step 16. @ FLTxxdxx Thank you for the video! helps so much for me being a visual learner!
nvrmind, i just manually told it to play the fucking audio. jesus christ epic games, how annoying do you want to make this process? no offense to the tutorial guy
Sanket Varia because their are no "legit" method of using both at once, and if you use the function yo create an audio mp3 inside UE, for me, it caused problems
UE4 By Martin so what kind of problem you got? my friend didn't got any problem but i need to make things for sure for myself. either way I'm going to try your method because it seems less bugy
It just didn't compile from time to time, or would have a slight delay that I could not predict. But I have not tried it in the latest version of UE, I was working with 4.11 at that moment, so they might have patched it.
You did skip to mention a few little things like which character BP you opened up at the end. Also you did click on a few things while talking "ahead" :-) Slow down just a little :-)
Thanks!! Is there a way I can get one video to show after another after a button press? EG. One video plays on event big play, then i press enter and the next plays? Thank you!
PoisonedAssassin You could always put a delay after the start of your first video (something like 1/2 sec) and after the delay start the second video. Because your game is paused during the video, the first one, the second one will not start until the first one finishes.
How I can fix this I want to have a video played before you spawn on the map & I get this error: LogScript: Warning: Accessed None trying to read property CallFunc_CreateSound2D_ReturnValue VideoPlayer_C /Engine/Transient.UnrealEdEngine_0:GameInstance_7.VideoPlayer_C_0 Function /Game/CutScenes/Anfang/VideoPlayer.VideoPlayer_C:ExecuteUbergraph_VideoPlayer:016D PIE: Error: Blueprint Runtime Error: Accessed None trying to read property CallFunc_CreateSound2D_ReturnValue from function: 'ExecuteUbergraph_VideoPlayer' from node: Play in graph: EventGraph in object: VideoPlayer with description: Accessed None trying to read property CallFunc_CreateSound2D_ReturnValue LogWmfMedia: Warning: Possible loss of audio quality in stream 0 due to sample rate != 44100 Hz
hey FTLxxdxx i am using this in VR and kinda need it how to use it that what i need to change and how :) thx btw it kinda works in vr but you need to use level bluprint and that is kinda a no go in my case :) but thanks for the info on how to do it keep up the good work :)
Nicolai Larsen Thanks for the feedback. for the VR question, its unfortunately out of my expertise, for I have never used the medium. If your video is a 360 degrees kinda thing you could always try to create a sphere in which you box the player in and display the video texture on there, but Im not sure about the result. I'm affraid I'm not going to be of great help on the subject. If you find an answer, let me know, I'm intrigued. :)
well i am trying somthing out its sadly not a 360 video but it works kinda, with this tourtorial, but you need to change some things or else it will overlap with alot of stuff and u get errors like theres no tommorow i will kep you updated as we get along. :)
Manage to get it working in 4.19. After wasting many hours, turns out the problem is with the version I use. Really Epic. I posted my solution in the forum link forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
Hi thank you for this video. Its time to update again :-) Your method is now not working in 4.18. I have a thread up here if you wanna see what the problem is: forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18 I have tried several different methods but cant get anything else but pure white to display in the viewer. If you have a moment and can maybe take a look and tell us how to rewire this to make it work in 4.18 :-) Thank you!
O.k. figured out how to make this work in 4.18 yay! You have to add a media texture type variable. Here is a link to the new setup: forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
hi! i hope you see this as i need help!!! Sound is working when pressing "L" and the game pauses, HOWEVER the video never fades in. Do you have any idea what i can do to fix it? i followed the link above to the texture problem. i have no errors, video just doesn't fade in :(
I right click on the event graph and I cannot find a node that has the word target before media player. I only have a mediaplayer node without target in it to attach mediatexture to target. Please help
I think this updated needs a new updated video lol. Following Kennedy's link you can get it working.
REGARDING VIDEO TEXTURE (View video description):
I have it working in 4.25.3, basically when you import your video it will automatically create a "Media Texture". Simply create a new variable inside the UI Widget and name it "MediaTex" or whatever you want, it will be of type "Media Texture", Click compile and then go to edit the variable and set the default to be the media texture that was automatically created.
Then at 7:39 instead of "Media Player > Target/Video Texture > Return Value Image" just stick in "Get Media Texture > Return Value Image".
You can simplify a lot of this now in later versions.
Thanks you bro!!!!!!!!! Why they are changing some things every new version??
Thank you very much for this comment!
Hi..."Get Video texture" doesn't show up in my list...what do i do???
Check my comment, tl;dr is make a new video and select Media Texture, use that instead.
@@vekien i cant understand, can you explain?
If you don't have Get Video Texture in 7:27 look here -> forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
You have to create variable with type MediaTexture and default MediaPlayer Value and link it to Return Value Image instead of Media Player -> Get Video Texture.
Piotr Pieniak thanks
thank you
Bless your heart. My brain hurts like hell after that, but it worked!
hey therem i'm in version 21 but when I drag off of media player in get brush 0 get video texture doesn't appear
Same
GDL - Nikita Osadchuk Good news. If you create a media texture from the media player, and import that as its own variable, you can use that instead and it works just fine.
Solomon Little thank you for advice
@@Varstle what?
how do you create a media texture in the media player you cant create variables in media player ????
One thing I don't understand, how the bleuprint actually understand, which sound to take, if it is even not in a playlist?
For people using Unreal Engine 4.20 and Higher. Epic has made some changes yet again. To adapt this tutorial you only need to change in the "CutScene Structure" the Material to a "Media Texture". So you will have a File Media Source, a Media Player and a Media Texture. Plus of course, the audio. The same should be pretty much the same. Just make sure you remap the brush in the widget. You dont really need the playlist anymore, but it still works with it. Cheers!
Hi Martin. I would like to know if its possible to add a "Joinning Server" video when you Join Session with Steam or LAN while you finish loading the servers map
@@aeuum4350 I assume it is possible, but I have not worked with servers on my personal projects yet, so I won't be of much help to you in that regard, sorry
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)?
Hello Martin, I've returned to UE4, have added six 3D videos, all play fine, but I can't seem to find where I assign the separate wav audio files per video in your tut. I tried in the CutScenePlayer selecting one of the clips> Output>Sound Wave> clicking the arrow button to assign a selected audio assets from the Content Browser, but nada. Clicking "None" brings up an empty window. The wav files play fine in CB. When I drag the audio asset over to the Sound Wave section, a red dotted outline is displayed. I'm thinking this isn't where I assign audio per clip, rather relates to the CutScenePlayer widget generally. Thanks for a tip, and BTW I'm still in 4.17, need to stay there because of the 3D side-by-side plugin not being compatible with newer versions. I searched and see Sound Components are now handled differently in 4.18 and up.
Also, what are your thoughts about an OnEnd command per video that returns the user to a specific level/player start? I know the CutSceneWidget contains an OnEndReached node, but that's applied globally to the library. Thanks if you can point me.
Benjy
Benjy
Hi Benjy! Did you create an Array of SoundWave as in minute 5:30 ? In your array you have to put the audio file of all your cutscene (in order they come up in your playlist) and call them later on by their Index as of minute 6:20. I have gone a bit fast in that part but you can see me in the bottom left corner putting my wav files in the array.
For your second question, you could have it at the OnEndReached node. What I would recommand is creating a new structure and having both a Boolean and a text. In the "PlayCutscene" Event, make this structure be an input and save those values. At the "OnEndReached" check that boolean and if its true, instead of just destroying the widget, call the "Open Level" and use that text to point to the right one.
Not sure if that was your question or if i read it wrong, hope this help!
Martin
Great, now have audio back, wasn't looking closely enough while listening to that section ;^( Thanks for your tip on how to get each video to return to a different level. It's a bit over my head how exactly to implement, but I'll share with a colleague, hopefully he sees it. Very best, and again, big thanks!
Benjy
Hello Martin, many steps forward and a step back with the videos. To support gesture-controlled lighting in this virtual cave with Leap Motion plugin, I had to upgrade UE to 4.19.2, now getting the red Error! beneath Target/Video Texture node in CutSceneWidget (Media Player node connected to Target, Video Texture to Return Value Image in Return Node. I read elsewhere folks having issues in 4.19.2 with how Materials call up textures, but not exactly video textures. Any idea what's different? Big thanks, so close to wrapping before it's due.
Pleaaaaase make a new video. It doesnt work on 21.2
yes - i'm trying to get it to work but nothing
What a silly question I have. Let’s say I record the video of one minute and I import it in unreal engine and now I press play video. Can I play game inside the video for example as video is playing I have things popping out and I can shoot or ... or some similar idea
You would need, instead of creating this media player, to just have the video be a texture. There are tutorials on how to do this. But all the gameplay mechanic, you will need to implement yourself :P
Hi I was wondering how I could link the 2 videos so one plays once the other is done?
Emojimatt If for exemple you start your first video with a colision box actor. You could put a public boolean that ask if you want 2 video to play. When the character enters the box it launches the first video and checks at the boolean value. If its set to true, starts a delay (another value public that you would set for the lenght of the first video) and after the delay, starts a the second video. There are others (and many) ways to do that, but thats one you could do thats not too hard :)
UE4 By Martin thank you! I used the level blueprint to start the first video when I start the game and I want the second to play right after automatically
hi der.i need your help.i need to play this video (if i go to the chekpoint ,then after the play this video and.then after the player need to stay another place on same map(level) ok ....could you plzzz.......help mee can you???
I would love to help you, but I don't understand what you want to do. If you want to change the location of the player, just use the node "SetActorLocation" after the PlayVideo
@@FLTxxdxx sry.for my😊english der.hm.i need to after i go some ware (it's mean some special location)then after press some key,then start the video
@@FLTxxdxx did you get that🙄
@@FLTxxdxx ex(if i will go near the door ,after i press (some key) then video will play) but i wont that video it can skip
@@slgamez1839 You could create an actor that has a box collider. In your player, using the event for your "press key", do a "get all actor of class" then a "for each" and check if your player is overlapping the box collider. If it is, then Play your movie
Great tutorial, but how do you approach a collider and then only run a video? can you do a tutorial on this later?
Grateful
A collision box? Well simply create an actor that has a collision box and use the "Begin Overlap Event" cast the "other actor node" to your character that you want to trigger the event with, launch the video via that and destroy the actor! as easy as ABC ;) (In text maybe not XD)
0:25 wmv is not as nice as mp4 anyway :)
About the widget image, instead of skaling and positioning by hand with aproximation, you can simply reset the position X & Y (it will set them to zero) then set the size X ton 1920 and Y to 1080 (oh wait, like the video's resolution ?).
Cheers.
Hahaha, yes, very good point XD
actualy there is a better thing :
instead of making the widget 1920x1080 (which will look ugly if the games doesn't run in 1920x1080), you can symply set the anchor to the "big one that fits all the icon" (yup I'm shit in english). Downside : it will stretch your video to the games display size, but at least it will not be a weird plan on top of the game.
Or maybe you can set the video's image to the video size, and put an additionnal black image above with the right anchor so that it fills the screen in black and put the video above it with the good aspect ratio even if the game is set to an exotic display resolution.
I actually did the anchor thing in my own version, just didn't think to put it here Haha, but thanks it is a good remark
feels great to find usefull things by goofing around :)
Guess how this video was made Hahaha
Nice tutorial. Clean and crisp:) Just one question. I'm creating my first Archviz cinematic with Unreal and want to have a TV screen in my scene on a wall with a video playing on it. Is there a way to drag the mediaplayer inside a scene and place it in 3D space? Many thanks!
Of course. You can simply right click on the Media texture and select "Create material". From there just drag and drop onto your Tv screen. The only thing is that you will have to change the starting mechanism for the video.
Cool:) Gonna give it a try!
hey i am unable to import sound. it gives error message "Failed to import 'C:\Users\Sanket\Documents\Unreal Projects\BombDiffuse\Content\Movies\BlastAudio.wav'. Failed to create asset '/Game/Cutscene/BlastAudio'.
Please see Output Log for details."
Sanket Varia I would suggest trying another file see if the one you are trying to import isn't simply seen as corrupted by the Engine. If not, try converting it to mp3 and back to wav
actually it was a wav file that i converted from adobe audition CC17 because it also had some editing to be done. so i converted my wav audio again into wav on some online site and now its fixed. BTW do i really need to you media playlist if i have only 1 video and 1 audio? or it is just impossible for a video to play without playlist? if its possible then what sort changed i am supposed to be doing widget's blueprint? i don't require skip and fade in/out so i already removed them.
Well all you would need is to make them a simple variable instead of an array. You might need to tweek a couple of things, but you'll see as you do it. Shouldn't be a problem if you understood how the video player works :)
ok but what if i want to reverse same video? i mean the video should start from end frame and end at starting frame. like rewind.
Sanket Varia you'll need to do that in an exterior program, such as adobe premiere or simply windows movie maker
Video start playing again from the very begining after pressing "Enter". I don't know how to fix it.
nice tutorial, how to play the video on a plane when the camera gets closer ?
Nice tutorial, but all I really need is to make a video play on the same widget as my main menu and when trying to import WMV on 4.17 all I get is the media viewer so my UMG material doesn't contain any video. Help please!
I pinned a comment that had the problem in 4.18, he links the answer in the replies. I would have liked to add an annotation to say it, but TH-cam removed the option of adding annotations.
Well done. Thanks a lot for your work, and keep it up.
how do i start the video as soon as i press play? Thank you!
There are many ways to do this, but one would be to just add an event in the level blueprint of the key press that creates the widgets and plays it
@@FLTxxdxx Thanks Bro!
Hi thank you for this great tutorial. Here is a request for 2 more :-)
Can you show us how to set up a cinematic (imported video like this one - I am thinking building it with Sequencer and then exporting it so I can add VFX and other things in compositing programs outside Unreal) right at the STARTUP of a game. In other words when the screen FIRST appears with logos everything. How this can transition into the game itself. And then CLOSING cinematic with credit scroll. I suspect it will probably be really close to how you did it here but I would like to see how you would set it up. Thank you !!!
In other words a "title sequence" and "end credit scroll sequence"
If you could do it in Unreal 4.15.1 that would be great :-)
Don't bother with main menu setup since there are a lot of those tuts already on You Tune I think :-)
But yeah this tutorial is the first really good one I saw with video in game setup.
Thanks for the feedback! I'll try to do your requests, they seem an interesting subject to cover. It won't come out on the next few weeks though cause I'm a bit busy at the moment, but I'll try to get a tutorial done by the first week or so of May. Thanks for the suggestion!
if i clik on a widget button need to play a video and pause and play button on video and skip,, can you help me how to do it
UE has Built in functions to pause the media player and a sound wave. So on your widget button press, just call the pause on both your soundwave and your media player, and on the widget button to resume, just call the unpause (or pause method, but unchecked). Has for the skip, its basiclly what I did with the "Enter to skip"
hey we are doing a game for a school project and we need the cinematic to play when the character enters a trigger box how would you set this up? should i just follow this tutorial but change the event begin play to play on begin overlap?
MainManLobe I trigger my videos using key press in my character, juste change that for your trigger box on character overlap and you should be good
Hi Martin, maybe you're covered up, maybe you didn't see me reply below, hoping you have an idea what changed in 4.19.2 to torpedo your fine work in 4.17. I'm getting the red Error on Video Texture Node. Many thanks.
Yes, sorry, I didn't have time these past few days to check my notifications. I think I know what your problem is, I have linked in the description to a forum thread that dealt with this problem. You will likely find your solution there: forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
Thank you so much. I'm taking a look.
Hiya Martin. I tried to implement, was able to create the Mediatexture variable, but don't know how to create the Media Player node to include "Target". I also have a question, if it's not too much. When the game first launches I need everyone in the room to get their 3D glasses working, active shutter glasses with rechargeable batteries and such that need to sync to the projector/screen so we don't have a false start. To that end, I want to throw up a 3D test image, a looping video with some eye-candy animation and text (at screen plane) instructing you to put on your 3D glasses. I then want a key press to call up another video, so video 1 looping on key press cuts to video 2, with your widget taking care of the rest. I'm working with a coder, but any tips he might understand would be most welcome. Many thanks!
Yes, that should be totally do-able. I wont be able to test anything out for myself for the next few days, as I am not home, but what I could recommend testing is creating a boolean variable called "looping" that if set to true, instead of simply destroying the widget would restart the video at timecode 0. You can then add a custom event to terminate the video as we did for the "Skip the Cutscene" that would launch a second video (You can have the video and media player as inputs as we did for the normal "Play Cutscene"). For your problem on converting the HUD to 4.19 I cant look at the problem right now, so will have to get back to you.
Thanks once again, you're such a big help. I think this should be plenty to share with my coder, will report, but don't spend your time, you've done plenty in simply throwing me a text bone ;^)
can you do a tutorial on like a news ticker? with random text news scrolling?
I'm not quite sure I understand what you are looking for.
Thank you soo much! I had literally no idea how to do any of this. I wouldn't have known where to start. Some constructive criticism... Slow down! I had to play the video on half speed and keep pausing it.
Hahaha, thanks for the feedback, I'll try to be slower in later videos
Martin, hello, been a while. Say, I've noticed an issue whenever I trigger a video via keypress, Media Player must have something in its head, I get a flash frame of another video on launch of a desired video, seems arbitrary how it pulls from other videos with this flash frame (maybe 2 frames). I'm thinking when Media Player is invoked to paint over UE4 that it's out of UE4's hands to intervene, other than to skip or maybe other type Media Player commands. But, can you think of a way to tell Media Player, "flush your cache or whatever silly ideas you have presenting this flash frame, now only show what I asked!" Is that wording too harsh? ;^) Thank you!. Benjy
Hmm, that is a good question. I have ran into this issue myself as well. on my end, I just started the video and removed the black fading effect .1 sec later than normal so we don't see those. But that's just a way around the issue. For a real answer I'll have to dive a bit deeper into the code. Ill take a look and get back to you
@@FLTxxdxx Thanks, I'm fine with an invisible workaround like that, assume there's a node in place to delay the fade in from black by .1 sec? I'll have a look.
@@FLTxxdxx Martin, I tried to implement that, not sure if I'm in the right node. In CutSceneWidget between Play Cutscene 1 and Set Opacity nodes I see a Delay node, which if I lengthen that only extends the amount of time in black before the video starts, still seeing the flash frame. Another issue, I'm seeing really bad lip sync, not so critical here, very minor on-camera bits, but it's like over two seconds out, if you have any thoughts on that. Much appreciate your thoughts.
Addendum - Regarding the audio sync issue, I just switched out an audio track and believe I'm seeing/hearing the frame offset being consistent, wondering if the delay applied to the video is possibly missing from the audio, which always precedes the video. Thanks if and when.
Whoops, should have tried that before writing. I just guessed where the Delay node belonged, placed it between the Play and Create Sound 2D nodes, matched the 1.5 sec delay in the video and tested. That did it, now in sync ;^) If you have thoughts on the flash frame. Many thanks.
Great tutorial! Thank you for dedicating your time and making this!
-Yas
My pleasure! Thanks for the feedback
i just wonder can we grap frames and do stuff to them with c++
Well, it depends what you want to do with them. If you want to add "effects" to them. Its a lot easier to just do it in a editing software. Same goes for crop or zoom.
@@FLTxxdxx thank you for your replay. well i want to create geometry real time stereo reconstruction for teleprsence system
I'm afraid i won't be of much help here. I did not work a hole lot with Unreal's C++ dev kit
@@FLTxxdxx thank you for ur replay sir. i did some research. and i found that EU4 version 4.20 has a new feature called mixed reality which is almost what i want. thank you again
hey awasome tutorial
so... i made this tutorial
i added on evet begin play in a level blueprint that is my credits level and i want to transition to main menu level what do you sugest
1 should i add a swich on int and after the code add an open level node
2 after the play cuscene to add a delay
i'm confussed, can you give mea working solution?
If you are just trying to show some opening credits you dont actually need this tutorial. There is a built in thing for those. th-cam.com/video/gGRHBZFOzEk/w-d-xo.html
I can't drag and drop audio files in ue4
How do i get fade out effect when the video completes playing
You could do the exact same thing as the fade in we did at 9:35 but inverse. So video finishes. Have a delay, and in your event tick, fade from 1 to 0.
Hi, really helpful video about video in UE4, many thanks. Instead of trigger with a key, I'd like to use a volume trigger. Is that done in the character BP as well? Since the OnActorOverlap Event usually happens in the Volume Trigger BP, how does this work to switch the "L" Event with something for the volume trigger? Big thanks.
Benjamin von Cramon So just to clarify. The video displays correctly but you can see the borders of it and the game behind it? If that is indeed your problem, just make the image larger in the HUD so that it goes a bit out of the "normal" boundaries. It should fix your problem. As for your second question, you could add in your "play cutscene" custom rvent you could add a float input that describes the volume and use it to ajust the volume of the sound. The other way would be to simply changr in the video itself the sound to fit the desire volume for the game.
I spoke to soon and then also misspoke ;^) I retraced my steps against your tut and saw I skipped setting the alpha on image 0 (the video layer) to zero, that allowed the game to fade over the underlying video, all good. I misspoke, not a volume trigger, rather a trigger volume, ha. Player character overlaps the trigger volume, video takes over, ends in another level. So very kind of you!
Yes, you can do that, trigger volume are the same as collision box, just use their Event to start the video like I did pressing "L" . You could add, after the "play cutscene" node in that event, a delay of the lenght of your video and after the delay load your next level. Its a barebones method, but it will work. The other way woud be to get the length of the video as the length of the delay, but it more complexe.
Many thanks. Your tuts move fast (visually), but I was always able to freeze on moments where a critical clue could be spotted. Great work!
Thanks! I am trying to keep them short, so I tend to move a bit fast yes :P
is input key down is not working
please help
Hmm that is a simple command that should work. Try printing a message to see if it works first. It might be something else that is causing the issue
not only it didnt work, but also the menu does not appear now...
what im trying to do is to play the video after the menu and before spawn on the map ...
Henrymrl I don't know how you menu is built, but nothing in here should affect it. For the video, the common problem people get is that their video file is not supported in UE. What I would recommend doing is to first make sure the cutscene works by a simple key press like I did, and once that problen is ruled out, try to understand why its not showing between the spawn and the menu. You can always download my project and try to figure out from there.
UE4 By Martin ive made a different thing now and it worked. I've build a new blank level with the blueprint with the movie alone and it work as it should. The main menu open. I've pressed and the video played. But then I've noticed the character was on empty space. So i copied the entire map to this new level and it worked!! Now I'm gonna see what was i missing in the last level so it was not working properly. And I'm gonna check your blueprint as well so i can see the thought behind it. Thank you so much for taking your time to help us all
My pleasure!
sir can you please upload the tutorial for melee combat as the god of war game have, like two sword in hands.
Wow, thanks for the feedback, but if possible could you make a video tutorial showing how to do it another day? is that I am so noob in unreal that answering for comment is no use.
anyway, thanks for the video tutorial
No CutScene Structure.... no material, no video texture, no idea how to make it work.... dated. Not working with UE4.22
Did you just liked your own comment? Hahaha. Anyways, yes I'm afraid this video is outdated, but if you look in the description you will find a link to a thread explaining the few simple extra steps needed to make this work. I didn't re made this video cause it seems Unreal screws up with my methods every few updates (this was already the second video on the subject) Hope this helps!
@@FLTxxdxx But, why not? i do like my comment... LOL!
Hi, I'm trying to follow your tutorial but you lose me whenever you try "Split Struct Pin" as no matter how hard I try I can't find that function, so I can't link things to it. Could you help please?
Normally just right click on the thing you need to split and the option will be there
Where do i put the thing that Christpoher Combs linked?
alpie elvis canon Good question, I haven't had this problem so I'm not sure what's happening on your part. Is the audio playing but not the video?
yup, just a black screen with the audio playing.
It can be multiple things. Have you checked the "play on open" of your video? Have you changed the Z values of your layers? It might just be under the black matte
wow thx m8, I got my the first image z value wrong... thanks alot.
My pleasure! :)
Hi man first of all thanks for your video. I have the following problem: When i hit L i hear the sound of my video but the video itself doesn't appear. And secondly when i try to activate the video when i hit a trigger volume, Unreal crashes. I've tried both with wmv and mp4 files....please i'm kinda desperate here :/
I just fixed it! If anyone else has the crash problem, just make sure you're running your editor in realtime, or else it cannot calculate the video and the therefore you're stuck with a crash. Happy hunting everyone :)
Could you fix the video problem? I also can't see the video :/
I'm assuming you only see a black mate for the duration. Do you have audio? Can you see your video in the Media player itself? (2:36) Or does it show only black there too? If it does not show from there either, their might be a problem with your file, try converting it in a different format. If not, try checking/unchecking the precache file (1:30).
Well it actually depends on how you've set up our player..I made a series of mistakes in my game and i fixed them. For example try to run he executable and not on editor and see if your problem persists. Other than that you have to be more specific about your setup 'cause otherwise i can't help you:/
Hey. Great tutorial, by the way. I've run into an issue. My image that's playing the video stays transparent, even if I initially set the alpha to 1. However, I know it's playing because the widget disappears after 5 seconds (my video length). Any ideas?
Jack Bishop Thanks for the feedback, have you changed the Z value for both the video and the black mate? Try hidding the black mate.
Thanks for the quick reply. I actually tried removing the black but still no luck. Would it be possible for you to upload your level so I can take a look? Thanks again
Sure. I won't be able to do this tonight, but I'll post a link here as soon as it's uploaded.
Thanks so much!
There you go: drive.google.com/open?id=0B_NR7WAwPq2yMnJtOFJJMmxXTXc Let me know if it works as intended. If it does, I'll post the link in the description for others to access it. Thanks
i want to se my vidios as cutscenes for my game maby you could do a toturial on how to make vidios pop when you go in a specifik place. ore maybe you all ready made one like that and im just being stupid but eny way if you could do it it woud help me alot :)
I'll do a series of tutorials regarding cutscenes and how to use them, stay tuned, they're on their way :)
Can you post a tutorial on main menu and pause menu ?
EarlyGamer there exist already tutorials on the subject, but I had an idea to add to this subject, so I might do one soon
and what you know i will be waiting.
i cant find the node with get video media, Help plz. Never mind, i created a variable (Media Texture) and replaces with media player, so after that i get a white screen in the video, that made me so angry hahaha so, i search and searh for a answer, but i almost get there, so i just go to the unreal's manual and there it says that I have to open the source to play the video, AND TADAAAA! thats tha answer, in the local that you put playlist index i replace with Open source, and works (In my case is just one video and i used for the intro).
Hi!
Thanks for the awesome video!
I´m running UE 4.17.2 + HTC Vive and when player hits triggerbox, video starts. It works fine, but the video is showing only for another (left) eye.
Do you have any tips with that?
Hmm, I'm affraid I have never played with the VR in unreal Engine, so I have no idea how to fix your problem :/ But I would be interested to know if you find a solution!
Very smart, very clear. Hope see more! Subscribed.
Thanks for the feedback!
Oh i have another issue, i noticed that even when i play in my packaged game, when i play the video my cpu hits almost 100%..is there any way to fix that?
Ekfantos in what resolution, format and frame rate is your video?
Hey man thanks for answering. I figured out what happened. Because i wanted the video to play on trigger volume hit, i set up the whole thing correctly, but when i hit the volume video begun normally but when it was done it started over again. That is because the engine recognized the trigger constantly (kind of like an infinite loop)..I tried to find a way to make my volume a one-time-hit thing but i couldn't make it..
No problem, but couldn't you just delete the volume after creating the widget? Or create a "do-once" node
well, i'm really new to unreal and that sounds like an excellent advice, thanks :)
Haha, my pleasure
For anyone having the issue were you hear sound of the video but the video itself doesn't appear i found out the reason.
docs.unrealengine.com/latest/INT/Engine/MediaFramework/HowTo/FileMediaSource/
Refer to step 16.
@ FLTxxdxx Thank you for the video! helps so much for me being a visual learner!
Thank you!
i have the opposite problem: video but no sound
nvrmind, i just manually told it to play the fucking audio. jesus christ epic games, how annoying do you want to make this process?
no offense to the tutorial guy
None tanken. I know this process is a million times more complex than Epic could make it. 😂
why audio separatly?
Sanket Varia because their are no "legit" method of using both at once, and if you use the function yo create an audio mp3 inside UE, for me, it caused problems
UE4 By Martin so what kind of problem you got? my friend didn't got any problem but i need to make things for sure for myself. either way I'm going to try your method because it seems less bugy
It just didn't compile from time to time, or would have a slight delay that I could not predict. But I have not tried it in the latest version of UE, I was working with 4.11 at that moment, so they might have patched it.
UE4 By Martin well we are using 4.14.3. anyways thanks
Thank you again it works like a charm in 4.15.2 :-) YAY!
You did skip to mention a few little things like which character BP you opened up at the end. Also you did click on a few things while talking "ahead" :-) Slow down just a little :-)
Yes Haha, trying to keep the tutorial brief and clear is hard :P Next tutorials are coming btw, I didn't forget!
My video just shows up black, followed the tutorial twice now :/
PoisonedAssassin Is the audio playing and the widget itself working? It could be your Z order. try deleting the black matte to see if it is under
Thanks!! Is there a way I can get one video to show after another after a button press? EG. One video plays on event big play, then i press enter and the next plays? Thank you!
PoisonedAssassin You could always put a delay after the start of your first video (something like 1/2 sec) and after the delay start the second video. Because your game is paused during the video, the first one, the second one will not start until the first one finishes.
How did you seperate the audio and video files?
27kmaster I used an exterior program. You can use just about any converting software, personally I used Xilisoft.
I'm actually working on a project that will have a few cutscenes, would you say the quality is better keeping the audio seperate?
Yes, having them converted inside Unreal Engine doesn't work that great
How I can fix this I want to have a video played before you spawn on the map & I get this error:
LogScript: Warning: Accessed None trying to read property CallFunc_CreateSound2D_ReturnValue
VideoPlayer_C /Engine/Transient.UnrealEdEngine_0:GameInstance_7.VideoPlayer_C_0
Function /Game/CutScenes/Anfang/VideoPlayer.VideoPlayer_C:ExecuteUbergraph_VideoPlayer:016D
PIE: Error: Blueprint Runtime Error: Accessed None trying to read property CallFunc_CreateSound2D_ReturnValue from function: 'ExecuteUbergraph_VideoPlayer' from node: Play in graph: EventGraph in object: VideoPlayer with description: Accessed None trying to read property CallFunc_CreateSound2D_ReturnValue
LogWmfMedia: Warning: Possible loss of audio quality in stream 0 due to sample rate != 44100 Hz
Its accessing nothing, so it might not be loaded correctly. Does your cutscene work if you use it like I do in the vid?
Nope, it jumps directly to open the game
Yes, but I mean, if you trigger it the same way as I did (button press in character) does it work?
UE4 By Martin will try that but I want to play the cutscene when you click on the start game button :/
If I try it only the game goes black & is probally trying to show the video but I also have no sound
Thanks a bunch!! Just what I needed.
My pleasure!
So clear..really geat work!
Photo Spot Thank you! The feedback is appreciated
Very nice tutorial ! But the music was a bit too loud sometimes to clearly understand you for me.
Thanks for the feedback, I'll turn it down a notch in my next tutorials
finished, thank bro
hey FTLxxdxx i am using this in VR and kinda need it how to use it that what i need to change and how :) thx btw it kinda works in vr but you need to use level bluprint and that is kinda a no go in my case :) but thanks for the info on how to do it keep up the good work :)
Nicolai Larsen Thanks for the feedback. for the VR question, its unfortunately out of my expertise, for I have never used the medium. If your video is a 360 degrees kinda thing you could always try to create a sphere in which you box the player in and display the video texture on there, but Im not sure about the result. I'm affraid I'm not going to be of great help on the subject. If you find an answer, let me know, I'm intrigued. :)
well i am trying somthing out its sadly not a 360 video but it works kinda, with this tourtorial, but you need to change some things or else it will overlap with alot of stuff and u get errors like theres no tommorow i will kep you updated as we get along. :)
Hahaha, ok perfect :D
Thanks alot!! I fixed my big problem!!
My pleasure!
It works m8! Thanks!
My pleasure
Didnt work :(
Thank you very MUCH !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Manage to get it working in 4.19. After wasting many hours, turns out the problem is with the version I use. Really Epic.
I posted my solution in the forum link
forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
Nice video. Pity you stopped uploading good content like this.
Peter Löfgren I will continue, I am just short on time at the moment Haha. But thanks for the feedback!
*I LOVE YOU!!!! :D*
Shit... In ue4 varible "get video texture" nothing. Make a new video!
thank You MATE!!!
grzegorz boduszek my pleasure!
Hi thank you for this video. Its time to update again :-)
Your method is now not working in 4.18.
I have a thread up here if you wanna see what the problem is:
forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
I have tried several different methods but cant get anything else but pure white to display in the viewer.
If you have a moment and can maybe take a look and tell us how to rewire this to make it work in 4.18 :-)
Thank you!
O.k. figured out how to make this work in 4.18 yay!
You have to add a media texture type variable.
Here is a link to the new setup:
forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1375550-media-player-issues-in-4-18
Looking at the thread I can see that you have found the problem! Nice work, I'll pin this comment for others to see :)
hi! i hope you see this as i need help!!!
Sound is working when pressing "L" and the game pauses, HOWEVER the video never fades in. Do you have any idea what i can do to fix it? i followed the link above to the texture problem. i have no errors, video just doesn't fade in :(
I right click on the event graph and I cannot find a node that has the word target before media player. I only have a mediaplayer node without target in it to attach mediatexture to target. Please help
Slow Down Way to fast