- Home /
VideoPlayer not update each frame when moving time or frame manually
Hi everyone, I need to create a video editor. I connect a slider to a playervideo and when i move the slider to change frame or time, it's work partialy, texture not updated each frame, just sometimes. Unfortunately, i need a precision to the frame. Do you know a method to force refresh of texture whatever the frame or the time you assigne to the videoplayer? Thank you all, Regards, Charly
not sure if this is what you are looking for, but videoplayer has a property called texture which you can access, so for example if you are using a rawimage as videoplaye ryou could do something like this
GetComponent<RawImage>().texture = videoPlayer.texture;
thank you for your answer, yes i do it. videoplayer work fine if i don't change manually the time or the frame.
i think i missundertood you, do you mean that after changing the frame or time the videoplayer doesnt reproduce every frame?
Your answer
Follow this Question
Related Questions
GST Movie Texture - How to mute video?? 0 Answers
Movie/Video Texture 0 Answers
show video frame on texture in ios 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers