Page 1 of 1

Keeping last frame when loading a clip

Posted: 21 Apr 2015, 18:39
by arthamas
Hi,

I hope you guys are doing fine. I'm trying to create a transition between different clips in a smooth manner.
The issue is that when I try to load a new clip the texture is removed from the buffer and I either get blank or nothing if I block the node.
I want to get the last frame of the clip on screen while loading the new clip then cut to the new clip. Is that possible?

I'm currently working on a version where I have two clips (A and B) which I transition in between but it becomes messy and I have to load the clip twice.

Any suggestions on how to achieve what I want?

Daniel

Re: Keeping last frame when loading a clip

Posted: 24 Apr 2015, 14:35
by Eric_RD
You could use a Render-Target with a Texture and Overlay Rect behind in Hierachy.
Connect the Move Texture to the Texture behind the Render Target.
Set it to "Render once" and Fire the "Render now event" on the last Frame of the Movie (note: the rendered Frame appears one Frame after hitting "Render Now")
Now you can switch from the Movie Texture to the Texture output of the Render Target via value switch.

You have to play a little bit with Event delays so that the Picture doesn't jump at the time you switch the Textures.

Switch back, if the Movie is playing again.

Note that Render targets may require a lot of performance.

Re: Keeping last frame when loading a clip

Posted: 27 Apr 2015, 11:31
by chriss0212
to be ownest:
i would stay with the 2 player version! gives much more possebilities....including fading between 2 running movies! and the logic to do this is very simple!

greetz

christian

Re: Keeping last frame when loading a clip

Posted: 29 Apr 2015, 21:13
by arthamas
Hi,

I will stay with the current logic that I have then.
Thank you both for your insight!

I do love the render once of the render target! :)