how to play videos in widgets | unreal engine 4 umg tutorial

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

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

  • @TheLegoMaster261
    @TheLegoMaster261 3 ปีที่แล้ว +39

    If the video doesn't appear in your brush, just drag and drop the video file from the movies folder into the widget.
    It'll create the image automatically.

    • @digimikeh
      @digimikeh 2 ปีที่แล้ว +1

      you updated this video.. thanks..

  • @falseee4445
    @falseee4445 5 ปีที่แล้ว +80

    For everyone having troubles, you have to drop the media texture in your widget

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

      and how we do that ?

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

      @@dreasan7251 i cant be more specific than that sorry

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

      @@falseee4445 where I have to go to put media texture in widget

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

      @@dreasan7251 you need to drop the texture on an image

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

      @@falseee4445 but how I transform my vidéo in texture

  • @BVK_LMZ
    @BVK_LMZ 2 ปีที่แล้ว +4

    If
    you are getting a black screen around 2:50
    Then
    project settings and change your "SOMETHING" setting to not direct X 12.
    In Conclusion
    Direct X 12 is causing the issue of a mp4 media texture not loading in a media player and changing to Direct X will likely solve the problem.

  • @eduardoruizvereo897
    @eduardoruizvereo897 4 ปีที่แล้ว +5

    To whomever is having trouble with the media texture, there's a more flexible way. Create a material like you normally would and drag your media texture to the graph, connect the texture sample node to Base color. Go back to your widget and look for this new material instead (you can select materials, not just textures), UE4 is going to ask you something about setting the material domain correctly for you, just accept and you are done.

    • @comptequisertpresquearien2326
      @comptequisertpresquearien2326 3 ปีที่แล้ว +2

      The problem is that once exported the image becomes white and blank there is no more video, a solution?

    • @lorygames
      @lorygames ปีที่แล้ว

      @@comptequisertpresquearien2326 add the video to the movies folder. This is just basic unreal knowledge

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

    Has this changed? I can't select my Media Texture in the Image Widget Brush

  • @dreasan7251
    @dreasan7251 5 ปีที่แล้ว +26

    When I search my video in brush, I dont find it

    • @aimloading646
      @aimloading646 4 ปีที่แล้ว +6

      I had the same problem, but I found I could just drag and drop the video file into the widget directly and it would create an image automatically.

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

      Me to

  • @dipayanpaul7569
    @dipayanpaul7569 6 ปีที่แล้ว +7

    Hello,
    Thanks for the video. When i try to create a new media player, I do not have the option 'Audio output SoundWave Asset' like you do. Any idea what might cause the problem? Moreover, the video works (without any audio) in the engine, but after i package the project, the video does not play and instead, a black screen is shown.

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

      yeah wtf this is pissing me the fuck off

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

      how has it been 4 years and no one helped you with this fuck unreal community is trash

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

    Very helpful m8! keep up the great work!

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

    Thank you for the tutorial it was very helpful !! only about the clicking sound, no need to add clicking because you microphone already pick the sound of your keyboard and mouse therefore it is a little annoying and destructing with all the clicking noise

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

    Great video thanks mate.

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

    Thanks, guy!

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

    This was just what i was looking for,Thank you very much.

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

    Worked Great. Thanks !

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

    Got the video to work, but has no audio. It did not import with the video like it showed in your example. How do I do that? Using version 4.25

  • @TorQueMoD
    @TorQueMoD ปีที่แล้ว

    You shouldn't set the size of the image to 1920 x 1080 otherwise it won't work properly for other resolutions. You should just use the Anchor to set it to Full Screen which is the one in the bottom right corner that looks like a square.

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

    Thank you! Exactly what I was looking for!

  • @BigBoss-ei1qr
    @BigBoss-ei1qr 4 ปีที่แล้ว +11

    Very good tutorial, but with the actual version (UE4 4.24), we can't play the sound with the video, so we must create a separate sound in .wav and launch it at the same time of the video.

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

      I can play the sound with 4.24 version. Maybe you can check the options in Media Player - Playback Options - Audio.

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

    Thank you :D This was a very helpful tutorial!

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

    works like a charm, Thank you

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

    I use ue4.22 and my media player does not provide output? is there another way?

  • @Ivan.striker
    @Ivan.striker 5 ปีที่แล้ว +4

    yeah this DOESN'T WORK please help me i can't add the media texture as an image, idk why, i tried everything , drag and drop (it doesnt work), selecting the asset in viewport, searching for it, nothing works

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

      in recent versions like 4.20 and higher you just drag a media texture(NOT a media material) into widget area, where you usually place a buttons, text, images etc.

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

      @@torgath5088 man i tried this on ue4.24 and it doesn't work ... can you help me please

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

      @@Dadane oh, damn I can't recall it now. I have forgotten a lot details over these two month, I'll pop up here in the comments once I recall a thing, ok?

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

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

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

    Bloody Marvelous!!

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

    This is amazing! May I know how to stream audio from that same video source! thank youuu

  • @Fred-mt5co
    @Fred-mt5co 3 ปีที่แล้ว

    And how can i do for when you complete the mission the cutscene start ??

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

    It dose the play the video just stays on a still screen

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

    Very useful tutorial. I have a question. After packaging the game, the video file will be shown on content folder and thus everyone can play it. I know it unity it converts to .resource file, so one one can't open it. But unreal engine will show the real format.

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

    My movie widget is lagging on playing my movie, I don't know why, cause the frame rate is largest than 60 fps on logs, any ideas please ? (I have try to launch my app at 200 fps but the movie widget lagging too)

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

    working like a charm in editor (4.23) but not in HTML5, any tips ?

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

    And something else I'd like to know too, how to spawn to the next level after the video is completed :-)

    • @milan.980
      @milan.980 3 ปีที่แล้ว

      create widget > add to viewport > delay (time as you wish) > open level > remove all widgets OR remove from parent

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

    thank you !

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

    i got scared when i heard my computer making a weird high pitched noise then i realized it was yours

    • @8fifty2torials
      @8fifty2torials  3 ปีที่แล้ว +1

      Hahaa right! Good time for me to mention our Patreon ...

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

    Does it work for when u hit new game and make a movie play

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

    idk if its dependent on the video format or if Unreal Engine made changes, but this does not work. atleast not for the MP4 visualizers im trying.

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

    Just curious, what mouse were you using?

    • @8fifty2torials
      @8fifty2torials  6 ปีที่แล้ว

      Errrm. I think just a standard cheap mouse.

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

      @@8fifty2torials the mouse clicks were louder than i can describe. 😂

    • @8fifty2torials
      @8fifty2torials  6 ปีที่แล้ว

      @@nizarshawwa3704 Hahaa fair enough. Thanks for the heads up

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

    becouse there was no audio i tryed to play 2d sound and i selected the mediaplayer vawe and it started working but crashed my engine

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

    great tutorial, my video finally works!! But unfortunately it has no sound :( do you know how to fix this?
    I'm using version 4.18

    • @8fifty2torials
      @8fifty2torials  7 ปีที่แล้ว

      Without looking at it, it's hard to say. When you play it back in the set-up previewer is it working there? Did you create an audio file with it when you imported? Unreal can be very specific with sound sometimes. Might be easier to just bring it in as a separate file in fire off a 2D sound when you play the video.

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

      in version .18 there is no automatic audio file creation anymore when you import the video as a media player. But your suggestion with creating a "play sound at location"- node when you play the video is good. I gonna try that, thanks ;)

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

      GoogleUser for 4.18 and latter you should called Sound Media Component . I have similar problem, but it was good solution.

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

      Александр Науменко how and where do I call the sound media component?

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

      Pick any actor in your level or add one if your level is empty. With that object selected, click the green add component button and choose the MediaSound component. Next, under the Media section, choose your Media Player to specify the sound associated with your video ;)

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

    Thanks so much ^ ^

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

    how can i add stop button?

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

    Thanks for the tutorial! I finally got it working, but now when I start a game, it's fine if it starts in the level, but if I do a quit to menu, and click new game, my character is frozen! I can't move around or look around. Also, with the event beginplay, if I have it connected, it goes to the menu when I start a game, but when I click new game, it just reloads the menu! I can't actually get into the game. When I unlink it, it plays fine and starts out in the game level, but again, if I go back to the menu and start a new game, my character is frozen. Something broke my game.. and I can't figure out how to fix it.

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

      Have you used the "set input mode UI only" node (from player controller)? If so, then you will have to "set input mode game only" so that it doesn't think you are still trying to interact with a menu.
      There are three input modes:
      UI only - interacting with menu
      Game only - interacting with game
      UI or game - after a mouse click it decides which input mode should be chosen (is there an intractable widget or not)

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

    I can't chose a Media Texture like a image in the Brush. Help please ?

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

      Really. Weird. Usually drag and drop works. Try expanding the selectin box and getting it from there. Failing that maybe look at going into your material editor and setting it to be used for a widget. Can't recall the lingo they use. Above the two sided check box option off the top of my head.

    • @rzrsixfour6182
      @rzrsixfour6182 5 ปีที่แล้ว +9

      FOr anybody else having this problem: Open the widget in a window, go to your content browser (in the other window), click and drag it into the canvas, its going to make a new image with it already set as the brush, and voala

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

    beatiful...

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

    thanks!

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

    This is not working on version 4.21.

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

      Hi, did you find a way to solve this for version 4.21?

  • @Dsmit-zl7pm
    @Dsmit-zl7pm 3 ปีที่แล้ว

    Thanks

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

    I liked while the video was still loading

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

    if i have video with it's sound and i want to skip it like many games how can i do that i mean stop video with it's sound and continue play

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

      Seperate video sound as a sound cue or 2d sound, then stop it whenever you want.

  • @Elii94104
    @Elii94104 ปีที่แล้ว

    For some reason the video will show but it won't play

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

    cheers!

  • @JorgeCastro-nu1ck
    @JorgeCastro-nu1ck 6 ปีที่แล้ว

    i followed everything but when i hit play the video wont play ;/. Any help would be really appreciated !

    • @8fifty2torials
      @8fifty2torials  6 ปีที่แล้ว

      What engine version are you using? I find it is not a system that works very well. I'd say double check that you have the videos in the correct folder, linked them there and make sure they play in the media player.

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

    how to Playing a MOV Video with a Alpha Channel in UE4

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

    It works 100%! Thank you! Great tutorial!

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

    Yeah....cant add the video texture to my widget for some reason.

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

    Why is your clicking so loud? It was very annoying.

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

    i am already animator and i believe i can make story game like "WALKING DEAD", "WOLF AMONG US".
    is there any tutorials that can guide me here or anybody with any recomendations?