Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Real-Time Video Stabilization for game sources #3

Closed
ASchneiderBR opened this issue Mar 21, 2022 · 9 comments
Closed

Real-Time Video Stabilization for game sources #3

ASchneiderBR opened this issue Mar 21, 2022 · 9 comments
Assignees
Labels
Feature Outlines a potential new feature

Comments

@ASchneiderBR
Copy link

What is the requested feature?
Hello! This plug-in is simply amazing, thanks for creating it. Do you think it would be possible to make Real-Time Video Stabilization work with a game source? Any other kind a part from media sources, really... I think that would be extremely useful.

Why do you want this feature?
This would help a lot while streaming VR first person view content, because it shakes a lot and it is not very pleasant for the viewer.

Possible Use Cases
VR content, stabilizing all kinds of footages from other source types .

Thank you very much!

@ASchneiderBR ASchneiderBR added the Feature Outlines a potential new feature label Mar 21, 2022
@ASchneiderBR
Copy link
Author

Here's an example: https://streamable.com/12p80w

@Crowsinc
Copy link
Owner

The video stabilizer and the other media filters need access to raw frame data which OBS only provides to video filters. I'm currently experimenting with ways of bypassing this limitation. If it works out, then there will be a future update that will will let you run any of the LiveVisionKit video filters as effect filters. The video stabilizer also needs to delay audio which cannot be done with an effect filter. I am aware of a potential work around for this which is a little unpleasant but should let you run the stabilizer on a game when the update comes.

I can't give you an ETA at this point, but it is a priority on my list.

@ASchneiderBR
Copy link
Author

Hello. That makes a lot of sense. Looking forward to that! Thanks for the great work here.

@Crowsinc Crowsinc pinned this issue Mar 23, 2022
@Crowsinc
Copy link
Owner

Crowsinc commented Apr 4, 2022

Hi, some form of this is expected to be released in the next feature update.

@Crowsinc
Copy link
Owner

This has now been released as part of LiveVisionKit 1.2.0 (currently Windows only). You will need to manually add an audio delay to match the stabilizers video delay. Check the wiki page for more information.

@ASchneiderBR
Copy link
Author

Amazing! Thank you very much. I’ll give it a try and let you know ASAP.

@ASchneiderBR
Copy link
Author

Hello @Crowsinc! Just test and it works great, thank you very much sir. I was wondering: do you know if it would be possible to have some kind of per object motion blur in real time? Something like this would be just awesome to have but also very resource intensive as well haha Thanks.

@Crowsinc
Copy link
Owner

It's probably possible to implement an approximation of such a filter, but not to the same level as the ReelSmart Motion Blur you mentioned. They use per-pixel tracking, which is too computationally expensive to run at over 60FPS. And it tends to produce bad tracking as objects move around and reveal/cover pixels, which is another problem that needs to be solved computationally for live video because you can't 'undo' bad tracking.

What's the application for this?

@ASchneiderBR
Copy link
Author

Thanks for answering! This is purely aesthetic. The image resulting looks a lot more realistic, fluid and most people just loves it when they see it. Most games (especially VR) doesn't have this effect so having it rendered in real time would be awesome.

These are some tests I've done:

https://streamable.com/9rmrh5
https://streamable.com/g4rjrs
https://streamable.com/m2z6gc

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Outlines a potential new feature
Projects
No open projects
Status: Completed
Development

No branches or pull requests

2 participants