How to use ffmpeg component in ui editor?

0

I would like to use a video component ffmpeg, but I do not see it in the ui editor. How can you add it? REMOVEDUPLOAD

已提問 3 年前檢視次數 232 次
4 個答案
0
已接受的答案

Hi @REDACTEDUSER

REMOVEDUPLOAD

Then open up your UI canvas and add a UI Image and set the image spritetype to 'render target' and the render target name to $videotest.
REMOVEDUPLOAD

The contents of the UI Image should populate with the video when in game mode and the movie is playing

已回答 3 年前
profile picture
專家
已審閱 1 個月前
0

Thanks Alex for the feedback!

已回答 3 年前
0

Thank you! It really works. However, without the script canvas, it works like a picture. When you click and view the preview, everything stands still. The video does not play. However, I added a canvas script and now it is play only when the play game is pressed. It seems the ffmpeg (VideoPlayback) component is not finalized a bit.

已回答 3 年前
0

Oh yeah you definitely need some kind of script or c++ code telling the video playback component to play the video - forgot to mention that sorry.

已回答 3 年前

此貼文已關閉:已停用新增新答案、評論和投票功能。