Quote:
Originally Posted by wwwmaze
... may be improved by filtering frames over time but it probably reduces the image sharpness.
|
This is a very primitive motion blur (it just averages the last and current frame).
Basically it's just a tiny mod of Justins "show motion- subtract last frame" preset:
PHP Code:
// Simple motion blur
input = 0; // could also do input = input_track(0);
input > 0 || input_track(0) > 0 || input_count() == 0 || input_ismaster() ? (
input_info(input,project_w,project_h);
hf > 0 ? (
gfx_img_getptr(hf) != gfx_img_getptr(input) ? (
gfx_img_free(last_frame);
last_frame = hf;
hf = gfx_img_hold(input);
);
gfx_blit(last_frame);
gfx_a=0.5;
gfx_blit(input,1);
) : (
// first frame: black
gfx_fillrect(0,0,project_w,project_h);
hf = gfx_img_hold(input);
last_frame = gfx_img_hold(hf);
);
);
Maybe it helps a bit.
You can increase the effect by duplicating the preset.
EDIT: updated to set preferred video size to size of input