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

gefragt vor 3 Jahren232 Aufrufe
4 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 3 Jahren
profile picture
EXPERTE
überprüft vor einem Monat
0

Thanks Alex for the feedback!

beantwortet vor 3 Jahren
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.

beantwortet vor 3 Jahren
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.

beantwortet vor 3 Jahren

Dieser Beitrag ist geschlossen: Das Hinzufügen neuer Antworten, Kommentare und Abstimmungen ist deaktiviert.