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

feita há 3 anos232 visualizações
4 Respostas
0
Resposta aceita

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

respondido há 3 anos
profile picture
ESPECIALISTA
avaliado há um mês
0

Thanks Alex for the feedback!

respondido há 3 anos
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.

respondido há 3 anos
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.

respondido há 3 anos

Esta postagem está fechada: a adição de novas respostas, comentários e votos está desativada.