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

demandé il y a 3 ans232 vues
4 réponses
0
Réponse acceptée

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

répondu il y a 3 ans
profile picture
EXPERT
vérifié il y a un mois
0

Thanks Alex for the feedback!

répondu il y a 3 ans
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.

répondu il y a 3 ans
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.

répondu il y a 3 ans

Cette publication est fermée : l'ajout de nouvelles réponses, commentaires et votes est désactivé.