Advanced Masks

Advanced Masks 1.5.4

Just FYI, 1.5.2 was crashing my OBS every few minutes, sometimes seconds. Very frustrating... So I finally put some time aside to diagnose what was causing it. I removed plugins based off what was most recently updated. When I removed yours it stopped. Reinstalled others I removed, still stopped. So installed 1.5.1. And it again stopped.

In discord, this is the feedback I got while hunting it down:

Matt | WizardCM
[OW]
OW
3dace7ce143291a0d37e3a20d8a0f418.webp
1:35 AM​

this means either a plugin is causing an infinite loop, or something external is affecting OBS.

The crashes did not generate crash log files, it would just freeze obs mostly, sometimes just close out of nowhere. I dont know what else to include, if you need more info let me know.
 

MWVD

New Member
Hello! Great plugin, small issue is when I restart OBS 31.0.4 I have to go into the filters, turn on "frame check" and turn it off to get it to start working again, turning the filter off then on again does not work.
This is my filter -
View attachment 114440

Thank you!


I'm seeing the same issue described by Grumpus using OBS (currently running 31.1.1 64-bit). The Advanced Mask plugin (v1.5.2) doesn't engage immediately after launching OBS. To activate it, I have to manually go into the source's filter and either check/uncheck "Frame Check" or "Scene View Transformation," or click within the geometry size fields. Once I do that, the plugin engages and shapes the source as expected.

This behavior only appears when selecting "Squircle/Superellipse/Superformula" with mode set to either "Squircle" or "Superellipse." The issue does not occur if I choose "General/Superformula" mode instead.
 
Hi @Grumpus, @MWVD, and @Charles_D -

Apologies for my delayed response- I've been on holiday for the last couple of weeks. Thanks for the bug report- I'm looking into the issue (its an issue that primarily seems to have popped up after the 31.1 update, but may have been present before 31.1, and is happening in some cases with my other plugins). I'll be working on a fix this week, and hope to have an update out soon.
 
Just FYI, 1.5.2 was crashing my OBS every few minutes, sometimes seconds. Very frustrating... So I finally put some time aside to diagnose what was causing it. I removed plugins based off what was most recently updated. When I removed yours it stopped. Reinstalled others I removed, still stopped. So installed 1.5.1. And it again stopped.

In discord, this is the feedback I got while hunting it down:


The crashes did not generate crash log files, it would just freeze obs mostly, sometimes just close out of nowhere. I dont know what else to include, if you need more info let me know.

Hi @EchoGalaxy-

Sorry you're having some issues with the plugin. I've not yet seen this behavior myself, and it might take some back and forth to figure out what is going on. Would you be able to open an issue with any details over on the project github issues page? That will help me to track it, and makes tracking down the problem quite a bit easier: https://github.com/FiniteSingularity/obs-advanced-masks/issues
 

BobbyJones

New Member
Nice plugin! Any chance for dynamic recognition of width and height so it doesnt need to be set manualy ?
example: Alpha Mask => Shape => Rectangle => in order to give every corner like 20px radius, it requires to manualy set correct width and height of source. If source width height changes like on resize, the mask is not in place anymore.
 
Nice plugin! Any chance for dynamic recognition of width and height so it doesnt need to be set manualy ?
example: Alpha Mask => Shape => Rectangle => in order to give every corner like 20px radius, it requires to manualy set correct width and height of source. If source width height changes like on resize, the mask is not in place anymore.
I'm glad you like the plugin.

Unfortunately, what you are proposing (which is a fantastic idea) is not possible currently in OBS due to how OBS treats sources and transformations. A source (and thus a filter) has no access to the transformations being applied to it (that is done by the parent scene, and is inaccessible to the source/filter itself).

However, this is what the "Scene view transformation" option in the shape masks is for. It does require you change how you resize sources in a scene (you'd need to use something like a Move Value filter on the original source to change the scaling/cropping, and a move action filter on the parent source to trigger the change). Its a bit clunky but the only way I've been able to find to get the behavior you want.
 

BobbyJones

New Member
oh I found a simple solution: Just putting an Effect Filter "Scaling/Aspect Ratio" before the Advanced Mask filter works.
Resolution for the Scaling filter can be set to the image size. When resizing the source, the advanced mask rounded corners now stay in place :)
 
Top