RenderHeads / UnityPlugin-AVProLiveCamera

AVPro Live Camera is a Unity plugin for webcams, TV cards and capture cards
https://renderheads.com/products/avpro-live-camera/
11 stars 0 forks source link

Capture Results in Resolution Artifacts #32

Closed Soaryn closed 3 years ago

Soaryn commented 3 years ago

Describe the bug When use a capture image from a Magewell Pro Capture Dual HDMI source, I noticed that the quad had a "fuzzy" appearance when looking more closely at objects or text.

Your Setup (please complete the following information):

Screenshots The top illustrates a single frame in the AVLiveProCamera capture; the bottom from OBS. both

This shows that the capture card is not the core problem, but my supposition is generating the backing render texture. Note: The AV illustration is the raw capture texture provided from the "select texture" in the camera component.

My settings: settings

Further info: the fps shows 45 as it is being shared with OBS for this test, but otherwise it is at 60fps with the same artifact problems.

kahnivore commented 3 years ago

Hi @Soaryn

This could possibly a small bug in the shader.

Could you please navigate to AVProLiveCamera_YUV_HDYC2RGBA.shader and look at line 77:

if (frac(i.uv.z) > 0.5 )

And then change the '>' symbol to a '<' symbol?

It would be good to know if that change fixes it.

Thanks

kahnivore commented 3 years ago

Hi @Soaryn

Any word on this?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.