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

Video Stabilizer outputs a few pixels from the top left corner of the input #10

Closed unfa closed 1 year ago

unfa commented 1 year ago

System/Software Setup

Issue Description

When adding video stabilizereffect the preview shows what looks like pixels taken from the top left corner of the camera input. I I wave my hand in that corner, the image color changes accordingly, that's how I've determined this is what's going on.

image

This also produces solid black (invisible) output in the scene view in OBS.

Expected Behavior I'd expect to see the full camera frame stabilised.

Reproduction Steps

  1. Install the add-on as instructed copying files to C:\Program Files\obs-studio\
  2. Add a LVS Video Stabilizer effect onto a camera input.
  3. Observe erronous image
Crowsinc commented 1 year ago

Hi, could you please provide me with a link to your OBS log and let me know whether the (LVK) Adaptive DeBlocker effect filter, with test mode turned on, also produces solid black output in the scene view or has any similar effects? More information about your camera and how it is set up (resolution, fps etc.) would be helpful too!

unfa commented 1 year ago

Hey!

The deblocker filter works fine, same with FSR sharpening. The camera input is 1280x720p 60 FPS through a UVC HDMI -> USB converter.

I'd need to test again on Windows - my main work environment is Linux, so that's really where I focus my attention.

soares1990 commented 1 year ago

Também estou com o mesmo problema.

Crowsinc commented 1 year ago

I have a good idea of what the issue is but I haven't found the cause yet because I have been unable to reproduce the bug. Access to an OBS log would greatly help confirm my diagnosis.

Regardless, I will push some updates in LVK 1.2.1 which should hopefully stop this from happening.

soares1990 commented 1 year ago

Ok. Obrigado pelo retorno. Fico no aguardo. Tem algo que consigo ir fazendo por aqui para testes?

Crowsinc commented 1 year ago

LiveVisionKit should be constantly printing out an error to the OBS log while this bug is happening, do you think you could let me know what it says?

Information about your OBS set up would also be helpful, such as how you are running the filter.

D1aN1 commented 1 year ago

heres my logs. gives me black screen when using stabilizer. 2022-09-24 18-56-32.txt

Crowsinc commented 1 year ago

Hi, thanks for the log. I believe this issue comes from a bug in how OBS 27.0.0 copies textures. Updating to 27.1.0 or newer should fix the problem. Let me know how it goes!

unfa commented 1 year ago

On Arch Linux it seems to not be an issue running in OBS 28. Didn't check on Windows yet.

Crowsinc commented 1 year ago

Enough has changed under the hood in the last update, that its worth creating a fresh issue if his bug still exists for some users.