Frame blending shader plugin for OBS Studio
This is a long awaited alternative to the painstakingly slow and inconvenient use
of Premiere's Frame Blending
and VEGAS's Smart resampling
effects in video editing programs.
~
Design:When configurated for a 60
FPS output video:
1/60
second+
Pros:If the blending is done before the encoding that means it significantly reduces the encoder load, allowing games to run at an even higher FPS, and allows for more slower/efficient encoding configuration (or Streaming lol)
editing high fps footage is slow to decode (preview lag) and means you need to do the frame blending each time you export, with it it’d be like editing conventional 30/60 fps videos
-
Cons:the way the blending is configured is final (if it’s 30fps there won’t be any raw footage to blend it back some way differently)
for people who like to apply a slow-mo effect in post they’ll either need to cope with choppy slowmos or resort to imperfect solutions like frame interpolation
Here's an agregation of open-source frame blending implementations
These solutions are slower but simpler
ffmpeg filter, example useage:
ffmpeg -i input.mp4 -c:v libx264 -vf tmix=frames=4 output.mp4
by luminance, chad did it in assembly
For smoothie-rs I now use faster code (which I honestly admit don't understand much) which makes use of vs-akarin
very primitive as it decodes individual image files rgb
code: https://github.com/martinjungblut/flowfps
replay system addon for half-life, uses vulkan and shaders
Article: https://bxt.rs/blog/motion-blur-for-half-life-video-recording-with-vulkan/#how-motion-blur-works
This has an interesting quirk: it dynamically blends whatever FPS your game's getting in the last 1/60th of a second (for 60FPS).
ReShade lets you overlay shaders on games
experimental minecraft demo system
it has a "Blend Factor" option
osu demo system
https://github.com/Wieku/danser-go/blob/master/assets/shaders/blend.fsh