Embedded Video Player
Add relevant Actors to your level
BPM_VideoPlayer
BPM_VideoPlayerControl
Ensure your video is the correct format (as required by Unreal's Electra media player) We test video assets encoded with ffmpeg. To install ffmpeg, you can run a powershell terminal (as Administrator) as run
choco install ffmpeg
(or download from their website).Then, for a given video called
in.mp4
you can run:ffmpeg.exe -i in.mp4 -crf 28 -preset slow out.mp4
Place the encoded
out.mp4
video into yourContent/Movies
folder in your project (create theMovies
folder yourself if you need to)Create an
M2 File Media Source
by right-clicking in your Content Browser and selecting:Name your asset whatever you like, e.g.
TestVideo
, then double-click to open itIn the right-hand panel, select your video asset from the
Content/Movies
folder you put it in:This should result in:
Lastly, either in PiE or after uploading your content, launching a world, and connecting in:
Ensure you are
Director
mode in order to be able to manage the video player controlRight-click to display your cursor and click video player control
Select your video asset from the
Embedded Video
drop-down list
Last updated
Was this helpful?