Let’s stop you doxing your secrets on stream!
This freebie, will allow you to toggle a cool effect, to blur your screen. So you can keep them secrets protected. Combining the Plugins from FiniteSingularity and Exeldro we can create this cool effect and this theory can be applied elsewhere and to make this match your own requirements!
How to Set Up
Firstly you are going to need 2 Plug-ins
- Move : https://obsproject.com/forum/resources/move.913/
- Composite Blur : https://obsproject.com/forum/resources/composite-blur.1780/
You will need to choose the Source you want to blur, this would usually be your Display Capture and we are going to add 3 filters,
- 1 Composite Blur Filter, called Screen Protection
- 2 Move Value Filters, called Protection On and Protection Off
The Screen Protection Filter is set up like this,
The Protection On and Protection Off are Set up like this, The only real difference between the 2 is that Protection On sets the value to 10, whereas Protection Off sets it to 0. Everything below that is not captured in the image is unchanged from the default.
Once these filters are in we need to go over to Streamer.bot and then you can import the code from below, once imported you will need to check the code,
The OBS Raw Sub-Action will need to know the Source and the Filter, this is the Composite Blur filter name its needs. If you named it Screen Protection like I suggested this won’t need adjusting, if you called it something else you can change it here along with the source your are blurring.
"sourceName": "Display Capture",
"filterName": "Screen Protection"
The next thing to is to modify the C# this is exactly the same as the raw, if you named them as I suggested you will have less to change, if you chose your own naming scheme you will need to replace the given names with the names you have chosen. It is likely you will need to edit the Scene and Source name. The main thing to remember is these values must still be strings (wrapped in " " ) and identical to OBS.
string scene = "Monitor"; //This is correct
string scene = Monitor; //This is incorrect
Once all that is done you should be able to trigger the test action and it should work.
If it works you can now attach your own trigger, for me I use a Stream Deck button.
Import Code
The action import for Streamer.bot.
U0JBRR+LCAAAAAAABACtV1tv4jgUfl9p/0OW50kVcgEy0jxwKRBmypb7ZTMPtuOkKc5l7QRKq0r7W/an7S/ZkwRoA3Q0Wi2SQfb3+fjcfHx4+fUXSaoENEGVz9JLNoFpiAIK08ok4RQFs3upyynFPpX++etvaUJgEkr3PEooSfworHw6bENp8hDxbOOUcu5T3kE8ESd4S7nI6IBXb5Qb5QQ4VBDux8kBbEo7tJeSSIqLI6R9lHJJFMfuHuBL5Hr5offb+7OjcRo2yUFKmD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