How to display a VIDEO in UNREAL ENGINE 4 (Updated)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 257

  • @vekien
    @vekien 4 ปีที่แล้ว +7

    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.

    • @cagrisahinci
      @cagrisahinci 3 ปีที่แล้ว

      Thanks you bro!!!!!!!!! Why they are changing some things every new version??

    • @Deedo_67
      @Deedo_67 2 ปีที่แล้ว

      Thank you very much for this comment!

  • @original9
    @original9 4 ปีที่แล้ว +8

    Hi..."Get Video texture" doesn't show up in my list...what do i do???

    • @vekien
      @vekien 4 ปีที่แล้ว

      Check my comment, tl;dr is make a new video and select Media Texture, use that instead.

    • @Lucifer.496
      @Lucifer.496 3 ปีที่แล้ว

      @@vekien i cant understand, can you explain?

  • @piotrpieniak4747
    @piotrpieniak4747 5 ปีที่แล้ว +3

    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.

  • @elliotmallon9538
    @elliotmallon9538 7 ปีที่แล้ว +10

    Bless your heart. My brain hurts like hell after that, but it worked!

  • @kamisfx12
    @kamisfx12 5 ปีที่แล้ว +2

    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

    • @gdl-nik
      @gdl-nik 5 ปีที่แล้ว

      Same

    • @Varstle
      @Varstle 5 ปีที่แล้ว +3

      ​ 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.

    • @gdl-nik
      @gdl-nik 5 ปีที่แล้ว

      Solomon Little thank you for advice

    • @TheGeezaz
      @TheGeezaz 4 ปีที่แล้ว

      @@Varstle what?
      how do you create a media texture in the media player you cant create variables in media player ????

  • @TheRedflash777
    @TheRedflash777 3 ปีที่แล้ว

    One thing I don't understand, how the bleuprint actually understand, which sound to take, if it is even not in a playlist?

  • @FLTxxdxx
    @FLTxxdxx  6 ปีที่แล้ว +3

    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!

    • @aeuum4350
      @aeuum4350 5 ปีที่แล้ว

      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

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว +1

      @@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

  • @chopzymalone
    @chopzymalone 3 ปีที่แล้ว

    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)?

  • @BenjaminvonCramon
    @BenjaminvonCramon 6 ปีที่แล้ว

    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

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว +1

      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

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว

      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.

  • @krzysztofparadowski624
    @krzysztofparadowski624 5 ปีที่แล้ว +7

    Pleaaaaase make a new video. It doesnt work on 21.2

    • @artistjosephtubb
      @artistjosephtubb 5 ปีที่แล้ว +2

      yes - i'm trying to get it to work but nothing

  • @MUJONYC
    @MUJONYC 5 ปีที่แล้ว

    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

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว +1

      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

  • @MatthewRumble
    @MatthewRumble 7 ปีที่แล้ว

    Hi I was wondering how I could link the 2 videos so one plays once the other is done?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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 :)

    • @MatthewRumble
      @MatthewRumble 7 ปีที่แล้ว

      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

  • @slgamez1839
    @slgamez1839 5 ปีที่แล้ว

    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???

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว +1

      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
      @slgamez1839 5 ปีที่แล้ว

      @@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

    • @slgamez1839
      @slgamez1839 5 ปีที่แล้ว

      @@FLTxxdxx did you get that🙄

    • @slgamez1839
      @slgamez1839 5 ปีที่แล้ว

      @@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

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว +1

      @@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

  • @icarobezerrasoares5055
    @icarobezerrasoares5055 7 ปีที่แล้ว

    Great tutorial, but how do you approach a collider and then only run a video? can you do a tutorial on this later?
    Grateful

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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)

  • @WaddleQwacker
    @WaddleQwacker 7 ปีที่แล้ว +2

    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.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Hahaha, yes, very good point XD

    • @WaddleQwacker
      @WaddleQwacker 7 ปีที่แล้ว

      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.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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

    • @WaddleQwacker
      @WaddleQwacker 7 ปีที่แล้ว

      feels great to find usefull things by goofing around :)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Guess how this video was made Hahaha

  • @Mr_Dee
    @Mr_Dee 7 ปีที่แล้ว

    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!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      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.

    • @Mr_Dee
      @Mr_Dee 7 ปีที่แล้ว

      Cool:) Gonna give it a try!

  • @sanketvaria9734
    @sanketvaria9734 7 ปีที่แล้ว

    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."

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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

    • @sanketvaria9734
      @sanketvaria9734 7 ปีที่แล้ว

      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.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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 :)

  • @sanketvaria9734
    @sanketvaria9734 7 ปีที่แล้ว

    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.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Sanket Varia you'll need to do that in an exterior program, such as adobe premiere or simply windows movie maker

  • @nikitasuyazov2060
    @nikitasuyazov2060 5 ปีที่แล้ว

    Video start playing again from the very begining after pressing "Enter". I don't know how to fix it.

  • @TheCinoche
    @TheCinoche 4 ปีที่แล้ว

    nice tutorial, how to play the video on a plane when the camera gets closer ?

  • @globby13
    @globby13 7 ปีที่แล้ว

    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!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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.

  • @meziozed
    @meziozed 7 ปีที่แล้ว +1

    Well done. Thanks a lot for your work, and keep it up.

  • @diegofelix9868
    @diegofelix9868 4 ปีที่แล้ว

    how do i start the video as soon as i press play? Thank you!

    • @FLTxxdxx
      @FLTxxdxx  4 ปีที่แล้ว +1

      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

    • @diegofelix9868
      @diegofelix9868 4 ปีที่แล้ว

      @@FLTxxdxx Thanks Bro!

  • @pencilgun4934
    @pencilgun4934 7 ปีที่แล้ว

    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 !!!

    • @pencilgun4934
      @pencilgun4934 7 ปีที่แล้ว

      In other words a "title sequence" and "end credit scroll sequence"

    • @pencilgun4934
      @pencilgun4934 7 ปีที่แล้ว

      If you could do it in Unreal 4.15.1 that would be great :-)

    • @pencilgun4934
      @pencilgun4934 7 ปีที่แล้ว

      Don't bother with main menu setup since there are a lot of those tuts already on You Tune I think :-)

    • @pencilgun4934
      @pencilgun4934 7 ปีที่แล้ว

      But yeah this tutorial is the first really good one I saw with video in game setup.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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!

  • @manojyaso
    @manojyaso 6 ปีที่แล้ว

    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

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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"

  • @BriskKnuhm
    @BriskKnuhm 7 ปีที่แล้ว

    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?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      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

  • @BenjaminvonCramon
    @BenjaminvonCramon 6 ปีที่แล้ว

    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.

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว

      Thank you so much. I'm taking a look.

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว

      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!

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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.

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว

      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 ;^)

  • @MrPangahas
    @MrPangahas 7 ปีที่แล้ว

    can you do a tutorial on like a news ticker? with random text news scrolling?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      I'm not quite sure I understand what you are looking for.

  • @Hargan
    @Hargan 7 ปีที่แล้ว +2

    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.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Hahaha, thanks for the feedback, I'll try to be slower in later videos

  • @BenjaminvonCramon
    @BenjaminvonCramon 5 ปีที่แล้ว

    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

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว

      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

    • @BenjaminvonCramon
      @BenjaminvonCramon 5 ปีที่แล้ว

      @@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.

    • @BenjaminvonCramon
      @BenjaminvonCramon 5 ปีที่แล้ว

      @@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.

    • @BenjaminvonCramon
      @BenjaminvonCramon 5 ปีที่แล้ว

      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.

    • @BenjaminvonCramon
      @BenjaminvonCramon 5 ปีที่แล้ว

      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.

  • @yasconsoles358
    @yasconsoles358 7 ปีที่แล้ว +2

    Great tutorial! Thank you for dedicating your time and making this!
    -Yas

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      My pleasure! Thanks for the feedback

  • @AssassinGrudge
    @AssassinGrudge 6 ปีที่แล้ว

    i just wonder can we grap frames and do stuff to them with c++

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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.

    • @AssassinGrudge
      @AssassinGrudge 6 ปีที่แล้ว

      @@FLTxxdxx thank you for your replay. well i want to create geometry real time stereo reconstruction for teleprsence system

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว +1

      I'm afraid i won't be of much help here. I did not work a hole lot with Unreal's C++ dev kit

    • @AssassinGrudge
      @AssassinGrudge 6 ปีที่แล้ว +1

      @@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

  • @TheGeezaz
    @TheGeezaz 4 ปีที่แล้ว

    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?

    • @FLTxxdxx
      @FLTxxdxx  4 ปีที่แล้ว

      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

  • @nowipi8275
    @nowipi8275 5 ปีที่แล้ว

    I can't drag and drop audio files in ue4

  • @sidhanthmohithe8127
    @sidhanthmohithe8127 6 ปีที่แล้ว

    How do i get fade out effect when the video completes playing

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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.

  • @BenjaminvonCramon
    @BenjaminvonCramon 6 ปีที่แล้ว

    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.

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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.

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว

      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!

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      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.

    • @BenjaminvonCramon
      @BenjaminvonCramon 6 ปีที่แล้ว

      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!

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว

      Thanks! I am trying to keep them short, so I tend to move a bit fast yes :P

  • @michaelysmaelfernandez4444
    @michaelysmaelfernandez4444 4 ปีที่แล้ว

    is input key down is not working
    please help

    • @FLTxxdxx
      @FLTxxdxx  4 ปีที่แล้ว

      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

  • @HenriqueLeal92
    @HenriqueLeal92 7 ปีที่แล้ว

    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 ...

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      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.

    • @HenriqueLeal92
      @HenriqueLeal92 7 ปีที่แล้ว

      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

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      My pleasure!

  • @mcxlivemarket4589
    @mcxlivemarket4589 7 ปีที่แล้ว

    sir can you please upload the tutorial for melee combat as the god of war game have, like two sword in hands.

  • @icarobezerrasoares5055
    @icarobezerrasoares5055 7 ปีที่แล้ว +1

    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

  • @raulparada4244
    @raulparada4244 5 ปีที่แล้ว +1

    No CutScene Structure.... no material, no video texture, no idea how to make it work.... dated. Not working with UE4.22

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว +1

      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!

    • @raulparada4244
      @raulparada4244 5 ปีที่แล้ว +2

      @@FLTxxdxx But, why not? i do like my comment... LOL!

  • @Ballto
    @Ballto 7 ปีที่แล้ว

    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?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Normally just right click on the thing you need to split and the option will be there

  • @br0kenher0tv54
    @br0kenher0tv54 7 ปีที่แล้ว

    Where do i put the thing that Christpoher Combs linked?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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?

    • @alpieelviscanon1217
      @alpieelviscanon1217 7 ปีที่แล้ว

      yup, just a black screen with the audio playing.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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

    • @alpieelviscanon1217
      @alpieelviscanon1217 7 ปีที่แล้ว

      wow thx m8, I got my the first image z value wrong... thanks alot.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      My pleasure! :)

  • @Ekfantos
    @Ekfantos 7 ปีที่แล้ว

    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 :/

    • @Ekfantos
      @Ekfantos 7 ปีที่แล้ว

      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 :)

    • @TheLyosacks
      @TheLyosacks 7 ปีที่แล้ว

      Could you fix the video problem? I also can't see the video :/

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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).

    • @Ekfantos
      @Ekfantos 7 ปีที่แล้ว

      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:/

  • @jackbishop9582
    @jackbishop9582 7 ปีที่แล้ว

    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?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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.

    • @leocrow4849
      @leocrow4849 7 ปีที่แล้ว

      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

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Sure. I won't be able to do this tonight, but I'll post a link here as soon as it's uploaded.

    • @leocrow4849
      @leocrow4849 7 ปีที่แล้ว

      Thanks so much!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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

  • @peterhamsterhotdog613
    @peterhamsterhotdog613 7 ปีที่แล้ว

    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 :)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      I'll do a series of tutorials regarding cutscenes and how to use them, stay tuned, they're on their way :)

  • @earlygamer3590
    @earlygamer3590 7 ปีที่แล้ว

    Can you post a tutorial on main menu and pause menu ?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      EarlyGamer there exist already tutorials on the subject, but I had an idea to add to this subject, so I might do one soon

    • @earlygamer3590
      @earlygamer3590 7 ปีที่แล้ว

      and what you know i will be waiting.

  • @AetherAngel1
    @AetherAngel1 6 ปีที่แล้ว

    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).

  • @Naulapyssy
    @Naulapyssy 7 ปีที่แล้ว

    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?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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!

  • @yonghuazhai9442
    @yonghuazhai9442 7 ปีที่แล้ว

    Very smart, very clear. Hope see more! Subscribed.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Thanks for the feedback!

  • @Ekfantos
    @Ekfantos 7 ปีที่แล้ว

    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?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Ekfantos in what resolution, format and frame rate is your video?

    • @Ekfantos
      @Ekfantos 7 ปีที่แล้ว

      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..

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      No problem, but couldn't you just delete the volume after creating the widget? Or create a "do-once" node

    • @Ekfantos
      @Ekfantos 7 ปีที่แล้ว

      well, i'm really new to unreal and that sounds like an excellent advice, thanks :)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Haha, my pleasure

  • @kingace3c245
    @kingace3c245 7 ปีที่แล้ว +2

    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!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Thank you!

    • @convolution223
      @convolution223 7 ปีที่แล้ว

      i have the opposite problem: video but no sound

    • @convolution223
      @convolution223 7 ปีที่แล้ว

      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

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      None tanken. I know this process is a million times more complex than Epic could make it. 😂

  • @sanketvaria9734
    @sanketvaria9734 7 ปีที่แล้ว

    why audio separatly?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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

    • @sanketvaria9734
      @sanketvaria9734 7 ปีที่แล้ว

      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

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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.

    • @sanketvaria9734
      @sanketvaria9734 7 ปีที่แล้ว

      UE4 By Martin well we are using 4.14.3. anyways thanks

  • @pencilgun4934
    @pencilgun4934 7 ปีที่แล้ว

    Thank you again it works like a charm in 4.15.2 :-) YAY!

    • @pencilgun4934
      @pencilgun4934 7 ปีที่แล้ว

      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 :-)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      Yes Haha, trying to keep the tutorial brief and clear is hard :P Next tutorials are coming btw, I didn't forget!

  • @ihenners_
    @ihenners_ 7 ปีที่แล้ว

    My video just shows up black, followed the tutorial twice now :/

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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

    • @ihenners_
      @ihenners_ 7 ปีที่แล้ว

      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!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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.

  • @27kmaster
    @27kmaster 7 ปีที่แล้ว

    How did you seperate the audio and video files?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      27kmaster I used an exterior program. You can use just about any converting software, personally I used Xilisoft.

    • @27kmaster
      @27kmaster 7 ปีที่แล้ว

      I'm actually working on a project that will have a few cutscenes, would you say the quality is better keeping the audio seperate?

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      Yes, having them converted inside Unreal Engine doesn't work that great

  • @marc17092000
    @marc17092000 7 ปีที่แล้ว

    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

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Its accessing nothing, so it might not be loaded correctly. Does your cutscene work if you use it like I do in the vid?

    • @marc17092000
      @marc17092000 7 ปีที่แล้ว

      Nope, it jumps directly to open the game

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Yes, but I mean, if you trigger it the same way as I did (button press in character) does it work?

    • @marc17092000
      @marc17092000 7 ปีที่แล้ว

      UE4 By Martin will try that but I want to play the cutscene when you click on the start game button :/

    • @marc17092000
      @marc17092000 7 ปีที่แล้ว

      If I try it only the game goes black & is probally trying to show the video but I also have no sound

  • @bandoli66
    @bandoli66 7 ปีที่แล้ว

    Thanks a bunch!! Just what I needed.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      My pleasure!

  • @leotrapsteemit9806
    @leotrapsteemit9806 7 ปีที่แล้ว

    So clear..really geat work!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Photo Spot Thank you! The feedback is appreciated

  • @X2paine
    @X2paine 7 ปีที่แล้ว

    Very nice tutorial ! But the music was a bit too loud sometimes to clearly understand you for me.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Thanks for the feedback, I'll turn it down a notch in my next tutorials

  • @putrapasande8226
    @putrapasande8226 3 ปีที่แล้ว

    finished, thank bro

  • @likio5301
    @likio5301 7 ปีที่แล้ว

    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 :)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      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. :)

    • @likio5301
      @likio5301 7 ปีที่แล้ว

      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. :)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Hahaha, ok perfect :D

  • @reyreynoso8612
    @reyreynoso8612 7 ปีที่แล้ว

    Thanks alot!! I fixed my big problem!!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      My pleasure!

  • @altairfoo1920
    @altairfoo1920 8 ปีที่แล้ว

    It works m8! Thanks!

    • @FLTxxdxx
      @FLTxxdxx  8 ปีที่แล้ว

      My pleasure

  • @RockDude65
    @RockDude65 4 ปีที่แล้ว

    Didnt work :(

  • @IshakHeor
    @IshakHeor 4 ปีที่แล้ว

    Thank you very MUCH !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @Kiadaw77
    @Kiadaw77 6 ปีที่แล้ว +1

    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

  • @SwedishGameDeveloper
    @SwedishGameDeveloper 7 ปีที่แล้ว

    Nice video. Pity you stopped uploading good content like this.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Peter Löfgren I will continue, I am just short on time at the moment Haha. But thanks for the feedback!

  • @kaktys5376
    @kaktys5376 7 ปีที่แล้ว

    *I LOVE YOU!!!! :D*

  • @poluilluminat
    @poluilluminat 4 ปีที่แล้ว

    Shit... In ue4 varible "get video texture" nothing. Make a new video!

  • @grzegorzboduszek8687
    @grzegorzboduszek8687 7 ปีที่แล้ว

    thank You MATE!!!

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      grzegorz boduszek my pleasure!

  • @pencilgun4934
    @pencilgun4934 7 ปีที่แล้ว +3

    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!

    • @pencilgun4934
      @pencilgun4934 7 ปีที่แล้ว +3

      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

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว +1

      Looking at the thread I can see that you have found the problem! Nice work, I'll pin this comment for others to see :)

    • @TheBlueCaboose
      @TheBlueCaboose 6 ปีที่แล้ว

      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 :(

    • @Animewatch87
      @Animewatch87 6 ปีที่แล้ว

      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

  • @rjtucker1965a
    @rjtucker1965a 5 ปีที่แล้ว

    Slow Down Way to fast