How to create a Video ghosting effect

Is there any way to create an echo or ghost effect like this one in Adobe After Effects?

Or this, but with video, not 3D models


I have a video file but I want to change the direction of the ghosting in real time so I can’t just edit the video.

I would prefer to do the effect through the media material itself as this is for a VR project.

Thanks!

a simple way is to store the location of StaticMesh in a queue; then u can render multiple meshes with different transparency, for skeletal mesh its a little bit different u need to store each bone transform too.

Thank you for your reply! :slight_smile:

This would work if I was moving a mesh in 3D space but will that work with a video file too?

I managed to accomplish the effect by taking a video, making multiple copies of the video and offsetting the starting time. It feels really brutal and unnecessarily performance heavy. I’m trying to find another way.

This is for a drunk effect in VR.

Simply playing with an offset isn’t what I need.
I need to freeze a frame every say, 1 second for .5 secs that’s .2 secs behind the current frame at the time I freeze the frame.

EX:
Play time is 2 secs.
Freeze at 1.8 for .5 secs
Freeze at 2.8 for .5 then 3.8 for .5, etc etc etc etc.

Would using Scene Capture do it?
Or is there a way I could save off frames of the video itself?

You could probably do this with a shader that uses the media texture as an input sampler.

How could I save the 5 frames previous from current?

I don’t know, sorry. Perhaps take a look at how Temporal AA and Motion Blur is done.

create 5 texture render target and every frame set the oldest one to SceneCaptureComponent

I am also desperately trying to achieve this effect (also in VR). Im going to try UPO33’s suggestion when I get home, it would be really great if there’s away to do this. Seemed like a common, simple effect until i tried to learn to do it

FWIW, I recently saw this in the UE4 Marketplace for $10.

Demo:

Thanks, not quite what im looking for personally (though i did buy it cause it will be useful), because its leaving trails in 3d space; if you look away, the effect isn’t still leaving a lasting image over your FOV. What I need (and probably the OP) is a 2d texture effect

Oh, I see. Well, I guess it was worth $10 to find out, lol.

Been trying to decode this but Im pretty new to UE4. Any chance you (or somebody) could show a screengrab of what this looks like as a blueprint?

I think what I really need is a way to take SceneTexture and blend it with a 1 frame delayed (and slightly faded to black) version of itself, and repeat this on a loop.

This guy seems to have gotten it in Unity [Unity 4] Creating a drunk effect (JavaScript) - YouTube