Question / Help fluorescent light flicker removal

coolice

New Member
Hi,
Terribly sorry for the Dummie question, but I could not found a solution by the search.
is there any way to achieve this in OBS:
1) Copy the existing source (this is only a right click I know, but doing it at this way, any filter applies to both source, which is not good in my case)
2) Set the copy opacity to 50% (again, i know how to do this in filter color correction, but effect both the copied and the original source)
3) Delay the copies source with 1 frame compared to the original one.
4) Put the copied source over the original one.
BIG thanks for your help,
Moore
 

koala

Active Member
Delaying a source by 1 frame isn't possible with stock OBS. However, your request is probably something for a shader. A shader is a small function, in a shader programming language, you write to manipulate all pixels of a source in a very flexible way. As as far as I know, the previous image info is available to a shader as well. This is a completely different approach to applying filters and overlaying sources. With the StreamFX plugin, you are able to create user-defined shaders.
 

coolice

New Member
Thank you for your quick reply. I had a look atthe StreamFX plugin, but I got lost a bit. Do you aware a dummie level step by step guide being available somewhere What i could follow?
 

coolice

New Member
Delaying a source by 1 frame isn't possible with stock OBS. However, your request is probably something for a shader. A shader is a small function, in a shader programming language, you write to manipulate all pixels of a source in a very flexible way. As as far as I know, the previous image info is available to a shader as well. This is a completely different approach to applying filters and overlaying sources. With the StreamFX plugin, you are able to create user-defined shaders.

Based on "Shader" keyword, I was also able to find ShaderFilters plugin, but could get a solution yet.

What i was wondering, if I could have the same result with the original scenario, but having 1ms delay instead of 1 frame, whats possible with OBS. But still my main problem, if I copy the source, any filter I add to one, also added to the other, so no idea how to separate it on source base and merge them on video level.

I am keep searching on the Shader way to as you suggested, just I thought I share what is in my mind.
 

coolice

New Member
Delaying a source by 1 frame isn't possible with stock OBS. However, your request is probably something for a shader. A shader is a small function, in a shader programming language, you write to manipulate all pixels of a source in a very flexible way. As as far as I know, the previous image info is available to a shader as well. This is a completely different approach to applying filters and overlaying sources. With the StreamFX plugin, you are able to create user-defined shaders.

I found an 95% solution, I write here, in case somebody else may need it as well:

Though it is not possible Delaying a source by 1 frame in OBS, there are still a possibility to delay the rendering by setting a ms value. And after a very long search, I realized, that Scene can have filters as well. And this is the way to do the trick. Let me share it step by step:
1) Lets create 3 scenes
2) Scene 1 -> add source
3) Scene 2 -> add same source
4) Scene 3 -> ass scene 1 & 2
4) Add color correction / opacity 50% filter on Scene 2
5) Add render delay with a specific ms (takes a bit time to figure it out by testing. for 1920x1080 @ 30 fps, the value for me was 79, but it depends on the florescent light as well) when it is kills the flickering but not create ghosting.
6) Make sure that in Scene 3, the order of the scenes are 2 and 1.

Thats it, Enjoy.
 

LetiP

New Member
1) Lets create 3 scenes
2) Scene 1 -> add source
3) Scene 2 -> add same source
4) Scene 3 -> ass scene 1 & 2

Hi coolice,
I am excited to try out your solution to flickering. However, I have difficulties following and understanding step 4).
What exactly should I do to the scenes in Advanced Scene Switcher? Could you at least point me to the relevant tab in Advanced Scene Switcher?

Edit: Or do you maybe mean just Automatic Scene Switcher, not the Advanced? Still unsure about what step 4) is. Would really appreciate any help!
 
Top