Stable WarpFusion v0.5.18-nightly - frame comparison (Patreon)
Downloads
Missing 1 full-res photo, 1 file, as this post has not yet been imported.
Content
An expected successor to the schedules' update, this build allows us to compare init video frames, detect high difference areas, and automatically create schedules to stylize those frames better.
Example video: cc means consistency channel mixing settings. noshed means schedules from stable-settings are being used, autosched - schedules were created from frame difference.
Changes:
- add frame difference analysis
- add difference plotting
- add automated schedule templates
- make persistent preview image
- fix some bugs leading to unsaveable output frames
New cells:
Content-aware scheduing
Plot threshold vs frame difference
Create schedules from frame difference
Content-aware scheduing:
analyze_video: turn on frame comparison
diff_function:
rmse - root mean squared error. Basic Function, won't work well in scenes where the colors are close, but the content is different.
lpips - compares features, slower but better.
rmse+lpips: a combo, slower, not neccessarily better.
After running this cell you'll get a plot of frame differences, and a suggested threshold (blue line) to use when creating schedules. You can try your own threshold in the next cell- Plot threshold vs frame difference, make sure it covers all the peaks and doesn't cross other values.
Create schedules from frame difference
Creates schedules from frame difference, based on the template you input below. If you leave the input empty, the template from stable-settings cells will be used.
Template format:
[normal value, high difference value, difference threshold, falloff from high to normal (number of frames)]
For example, setting flow_blend template to [0.999, 0.3, 0.5, 5] will use 0.999 flow_blend value everywhere unless a scene has changed (frame difference >threshold, which is 0.5 here) and then set flow_blend for this frame to 0.3 and gradually fade to 0.999 in 5 frames
Don't hesitate to share your results and questions on discord. Good luck with your experiments!
Files
Previews only