Creating Video material & Sound.
Created
April 21, 2017 19:45
-
-
Save derofim/5007d0d7ac270aaab90de86ddde58500 to your computer and use it in GitHub Desktop.
UE4 Video Plane
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Import wav audio (as Sound Wave) and mp4 video (as Media Source).
Create new new Media Player asset as in https://docs.unrealengine.com/latest/INT/Engine/MediaFramework/HowTo/FileMediaSource/.
Open created Media Player.
Set "Play on Open" and Loop" to true.
Check Sound Wave and Video Texture.
Create Media Texture from Media Player.


Create Material from Media Texture.
Add Emmisive Color to Material.

Open Level Blueprint.

Add MediaPlayer variable of type Media Player.
Save All.
Set varible "Media Player" field to created Media Player.
"OnBeginPlay""->"OpenSource"->"Media Player"
Set "OpenSource" field "Media Source" to created "File Media Source".
Apply video material to game object. Save all and check in "Simulate" mode .
Drag imported "Sound Wave" to Game.
Set "Override Attenuation" and set proper "radius" and "falloff distance".
Set "Auto Activate" to true.
Click right mouse button at "Sound Wave" and choose "Edit" in Content Browser:

Set "Looping" to true.

Or create sound class and set Always Play to true.

