Crowsinc / LiveVisionKit

LiveVisionKit brings the powers of computer vision and image processing to OBS Studio; implementing state of the art filters such as image enhancement and real-time video stabilization.
GNU General Public License v3.0
153 stars 14 forks source link

Crash and need for browser source. #6

Closed lewkmiller closed 2 years ago

lewkmiller commented 2 years ago

System/Software Setup

Issue Description I am attempting to apply the video stabilization filter to my webcam for testing. I apply and OBS crashes. Also I am unable to apply the video stabilization to a browser source. I want to use browser source because I am using VDO.Ninja for importing cameras. Expected Behavior I just want the filter to work correctly and or at all.

Reproduction Steps I opened OBS and added the video stabilization filter to a video source (webcam) and OBS throws an error message and it crashes. I will paste in the crash file contents.

LVK@C:\Users\sdm\Projects\C++\LiveVisionKit\LiveVisionKit\OBS\Interop\VisionFilter.cpp@VisionFilter(..) FAILED m_Context != nullptr && s_Filters.count(filter) == 0

Crowsinc commented 2 years ago

Hi, support for running the stabilizer on a browser source is expected to come in the next feature update. Please see Issue #3 for more information.

The error you are running into is rather strange and I'm unable to reproduce the bug on my end. I will need some further information to help isolate the issue on your system:

What source are you using to display your webcam on OBS?

Does the video stabilizer work on a media source such as the 'VLC Video Source'?

Does the '(LVK) Adaptive DeBlocker' filter work on either your webcam source or the 'VLC Video Source'?

I don't expect LiveVisionKit 1.1.1 to fix the issue, but the error message has been split into two which should help narrow things down as well.