Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting previous (1 or more) frames? #13

Open
Pomax opened this issue Nov 14, 2018 · 2 comments
Open

Getting previous (1 or more) frames? #13

Pomax opened this issue Nov 14, 2018 · 2 comments

Comments

@Pomax
Copy link

Pomax commented Nov 14, 2018

Does this shader filter come with the ability to get the previous (original or post-processed) frame (or previous N frames) for things like time smoothing and noise reduction? Or, does it get run in a way that makes it possible to buffer a frame at each pass so that it stays available for the next pass? (if so, what's the right way to do that buffering?)

@nleseul
Copy link
Owner

nleseul commented Dec 2, 2018

Not currently supported... you'd need to capture each frame in the backend and store it in memory, and then decide how each old frame would be exposed to the shader on subsequent frames. I think it's probably a bit beyond the scope of this plugin to do this; the behavior is specific enough to your use cases that you'd probably do better writing a dedicated effect plugin to handle the memory management and configuration.

@Pomax
Copy link
Author

Pomax commented Dec 3, 2018

noise reduction and temporal smoothing aren't really esoteric things, though, they're things I literally don't understand OBS doesn't come with out of the box... even 2000's virtualdub had those =(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants