Vhonowslend / StreamFX-Public

StreamFX is a plugin for OBS® Studio which adds many new effects, filters, sources, transitions and encoders! Be it 3D Transform, Blur, complex Masking, or even custom shaders, you'll find it all here.
https://streamfx.vhonowslend.com
GNU General Public License v2.0
3.94k stars 3.03k forks source link

Virtual Greenscreen filter does not initialize if Source is 0x0 #760

Closed adjstreams closed 4 months ago

adjstreams commented 2 years ago

Operating System

Windows 10 1903 and higher

OBS Studio Version?

27.1

StreamFX Version

0.11.0a1

OBS Studio Log

https://obsproject.com/logs/ze6AL_A8Cb-sJz64

OBS Studio Crash Log

No response

Current Behavior

After an OBS restart, a source mirror (of a camera) with virtual greenscreen filter applied is still present in the filter list and enabled with "quality" selected, but doesn't actually apply the greenscreen effect at all, until you go into the filter and toggle the dropdown value to performance, then it becomes re-enabled. It appears to forget, or perhaps has a failure to enable the virtual greenscreen filter properly after the restart.

Expected Behavior

At the point of restarting OBS, the source mirror should retain the virtual greenscreen effect that was previously applied, without the need to open the filter and toggle the quality/performance mode.

Steps to Reproduce the Bug

1) Add video capture device 2) Add a Source Mirror source 3) Add the virtual green screen effect to that source mirror, set it to "quality" mode. Behaviour as expected. 4) Close OBS and reopen it. 5) The source mirror greenscreen filter is present in the filter list and enabled but doesn't actually apply the greenscreen effect until you go into the filter and toggle the dropdown value to performance, then it becomes re-enabled.

Any additional Information we need to know?

No response

austins commented 2 years ago

Same here.

Xaymar commented 2 years ago

Confirmed

Problem is not tied to Source Mirror, but any source that can have 0x0 as resolution when it is created.

coelhoricardo commented 2 years ago

Hi, is there any known workaround ?

spectangulation commented 2 years ago

Hi, is there any known workaround ?

set it to performance and then back to quality.

confirming i have this issue too.

inconsx commented 2 years ago

spectangulation @.***> schrieb am Mo., 24. Jän. 2022, 05:19:

Hi, is there any known workaround ?

set it to performance and then back to quality.

confirming i have this issue too.

— Reply to this email directly, view it on GitHub https://github.com/Xaymar/obs-StreamFX/issues/760#issuecomment-1019703271, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJDZFRKSNDY66NF7PD25TDUXTHMJANCNFSM5LB5BATA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

skeletonbow commented 2 years ago

If anyone needs any kind of support with StreamFX, the support channels are on the Discord server. Be sure to carefully read the #rules channel and #support-hub channel to gain access to the proper channel for your platform. You need to respond at the bottom with an emote for your operating system. Hope this helps.

OsiMood commented 2 years ago

Same issue with OBS 27.2 and StreamFX 0.11.1

HunterAP23 commented 2 years ago

Same issue with OBS 27.2 and StreamFX 0.11.1

That's to be expected - if you read the changelog for StreamFX 0.11.1 Alpha 1, it says the only changes were made to the ffmpeg libraries: "Add support for FFmpeg versions other than 4.2."

Xaymar commented 2 years ago

Please do not flood the message thread with "I have this issue too". If you have the same issue, just react with a 👍.

EliottGaboreau commented 2 years ago

In case this helps, when running obs from a shell I get this error message :

Caught exception: cudaErrorInvalidPitchValue: cudaMemcpy2DFromArrayAsync(...)