Question / Help Source Timer Possible

PJGHangouts

New Member
Ok, so now you've popped in here, probably thinking I was looking for a timer, like a clock, nope, that is why google isn't being my friend on this one.

What I would like is to be able to activate a source, be it a webcam source, but it then starts a countdown (internally), lets say 5 minutes, then after 5 minutes, that source becomes hidden again, i.e the eye with the line through it. Everytime I turn on said source, it starts the timer again, again, duration, hides.

Is there a plugin, or a suggestion for that I'm trying to achieve?
Thanks in advance.
 

SumDim

Member
You don' t need a plugin for that.

Go find a countdown timer. Set it to a starting time, say 5 minutes.
Record that output with OBS as an mp4 to disk. Then, create a OBS media source that plays it.
 

PJGHangouts

New Member
You don' t need a plugin for that.

Go find a countdown timer. Set it to a starting time, say 5 minutes.
Record that output with OBS as an mp4 to disk. Then, create a OBS media source that plays it.

I'm guessing you didn't read the actual text of my needs?

What I would like is to be able to activate a source, be it a webcam source, but it then starts a countdown (internally), lets say 5 minutes, then after 5 minutes, that source becomes hidden again, i.e the eye with the line through it. Everytime I turn on said source, it starts the timer again, again, duration, hides.
.
 

SumDim

Member
timer.jpg

Of course I read your post. It doesn't necessarily mean that I understood exactly what you want. The above is what I thought you wanted. And a better way to respond back should have been "No, I think you misunderstood" instead of the way you did which is a totally shitty way of responding back to people on here who volunteer and have answers.

So you want a countdown timer that internally turns on or off a source after a set period of time. If there is not something like that available in the Resources section (I assume before you posted you looked) then you already know your answer. In that case, you need to solve the problem yourself.

Understand, your question has nothing to do with OBS Studio. Turning on/off something can be automated at the User Interface level. Go create an AutoHotKey program that runs in the background off a timer that triggers the hotkey you assign to the OBS Source that is to be turned on/off.
 
Hello, literally im searching the same, Timer For Turning ON and another for Turning OFF a Media source Video, Thanks!!!
 

SkeletonBow

Member
Good idea to search the Resources section for existing plugins/scripts as there often are pre-existing solutions. Here is a source visibility timer script that's been available for a couple of years now, hope this helps.

 

robocorpse

New Member
Good idea to search the Resources section for existing plugins/scripts as there often are pre-existing solutions. Here is a source visibility timer script that's been available for a couple of years now, hope this helps.


Visibility timer is no good.


It doesn't turn off a source, it literally makes it invisible - the source is still ON, and it only works once. You have to then manually turn the source off, and reset scripts to make it work again.

I too want the ability to set a fixed time for a source or group so once it is turned on it will turn off after a certain amount of time.

I tried to make the visibility timer code work, but I never got it working properly.
 

Simonmcj

New Member
Actually, I think it is good and credit where cretit is due to the creator!
I unfortunatly do agree with you in the way that it would enable the source, run the script and then disable the source.
With that option there would be perfection in this macro.

Starting by being nice may give the creator some ideas to fulfill everyones desires. People want these things for different reasons, maybe this was what the creator needed and was nice enough to share it.

Thanks
 
Top