Resource icon

Corner Pin 1.6

Xaymar

Active Member
communicate?..

I was thinking that you will be interested in how StreamFX may interact with some algorithms. That's all. You have mac and have programming skill, your work was mentioned.
StreamFX uses libOBS APIs in their hopefully intended and documented behavior (except for Dynamic Mask and Blur Masking, those are being modified to that as well). I don't think I could comment all that much about anything here.
 

DefJeff

New Member
My distorted video using corner pins is ghosted outside the pinned corners.
1657497202700.png

How do I correct this? I want to appear as it is on a tv screen from an underlying image. Chroma key does not work since the background changes color according to the pinned video. Thanks!
 

khaver

Member
DefJeff, thanks for pointing out this error. I don't know how I missed it. Source code is now updated.
 

Dick Dawson

Member
@Want To Learn
1) The "no properties available" message is normal here because the script itself is not configurable. The script simply adds new filter to the list of available filters. As long as you running script - there is new filter in the list that you can use. By removing the script - the filter disappears from the list of available filters (thus the effect becomes inaccessible). Nothing to configure in the script itself, thus you see "no properties available" message.in the Tools>Scripts. It is pretty normal for this kind of scripts.

2) About "Crop/Pad" filter. Yeah, here I mean build-in OBS filter. The idea was to check if any filter that modifies size of the source, when it placed before this filter, affects the rendering of the filter's preview. If build-in filter works OK then sure - there is something strange is going on.
What if we are getting no properties available in the filter window? Running windows 10 and OBS 28 and I can select the corner pin filter on any source but nothing will give me the controls I should see. Any thoughts? I have tried placing the LUA it in a few locations and nothing seems to work.
 

khaver

Member
khaver updated Corner Pin with a new update entry:

Major Bug Fix

Senior moment major bug fix. When I'm working on filter script code, I use a separate shader file. The LUA script loads this shader file to use it. Usually, when I'm ready to submit the filter to the OBS forum, I will copy and paste the shader code from the external file into the LUA script and change the reference from the external file to the pasted code. DOH!!! I forgot to do this in version 1.5.

If you downloaded version 1.5, delete it and download and install version 1.6.

Sorry for...

Read the rest of this update entry...
 

jalav

New Member
Great Filter! Allows me to skew my Source window. However, when I apply it on "Scene A," that same source is skewed in "Scene B."

I figured out a work around, but was wondering if it were possible to have the filter only apply to the source in only "Scene A."

Another way to explain what is happening is that when this Effect Filter is applied to a Source, then regardless of the Scene that it's in, the Filter will always be active.
 

SeekerFinder

New Member
Hi @khaver
Thank you for making this filter!
Need some help with install pls. New to OBS and apologies in advance if this is a silly question.
I understand we should put the LUA file in the SCRIPTS folder.
Tried
C:\Program Files\obs-studio\data\obs-scripting\64bit
and
C:\Program Files\obs-studio\data\obs-plugins\obs-filters
And a few other things that seemed to work with another filter.

It's not coming up in the filters list.
Some direction would be appreciated.
Tnx
 

SeekerFinder

New Member
Also, I just remembered that there was a 'frontend-tools' folder before, in the obs-plugins folder, which has a scripts folder in. This folder, together with the scripts folder, seems to have disappeared.... I admit that this might be a case for Tintin, since I have no idea what's going on right now...

Anyways, if you could let me know where to create the folder it would hopefully solve the mystery (?)
 

khaver

Member
meant to say 'HAD a scripts folder in it'....
@SeekerFinder, the lua script files don't have to be put in any special folder. In OBS, open Tools>Scripts and click the "+" button at the bottom of the Scripts panel. Then browse to where you put the script and load it. If this is the first time you're adding a script, when you click the "+" button it will open in OBS's default location for scripts. If you've already added scripts in the past, right click on one of the already loaded scripts and select "Open file location", and note where other scripts were placed.
 
Top