Stream Countdown - Starting Soon with auto scene switch

Stream Countdown - Starting Soon with auto scene switch 1.4.1

animalshadow

New Member
animalshadow submitted a new resource:

Stream Countdown - Starting Soon with auto scene switch - A reliable Starting Soon countdown that switches to your live scene by itself.

A "Starting Soon" countdown that switches to your live scene by itself when it reaches zero. Start it with a simple duration, or count down to a specific clock time. One Lua file, no dependency, no external service.

Why another countdown script: most people fake a pre-stream countdown with a fixed-length video (not reusable, and it cannot switch scenes), and some existing scripts crash OBS on the scene switch. This one is a real, reusable countdown, its scene switch is guarded so an OBS API...

Read more about this resource...
 
First, thank you for releasing this script. It does exactly what I was looking for once it was working.

I wanted to report an issue I encountered and the solution we eventually found, in case it helps you or saves someone else several hours of troubleshooting.

System:
- OBS Studio 32.2.1 (Windows)
- Script version: 1.4.0
- Countdown text source: COUNTDOWN
- Switch scene at zero: Main Camera

Symptoms:
- The countdown started and displayed correctly.
- When the timer reached zero, OBS frequently froze or entered a "Not Responding" state.
- In some cases Windows had to terminate OBS.
- Other times the countdown completed but the automatic scene switch did not occur.
- The Script Log sometimes showed:
Error opening file: (null)

After several hours of testing, the issue turned out to be the scene-switch callback itself.

The workaround was to defer the scene switch so it runs after the countdown callback completes instead of switching scenes immediately from inside the timer callback.

After making that change I tested repeatedly.

Results:
✓ Multiple countdowns completed successfully.
✓ Tested with both 10-minute and 5-minute countdowns.
✓ Automatic scene switching worked every time.
✓ OBS remained responsive.
✓ OBS closed normally afterward.
✓ No additional freezes during repeated testing.

I wanted to post this because I spent several hours isolating the problem, and hopefully this information helps improve the script or saves another user from chasing the same issue.

If it would help, I'm happy to provide additional testing, OBS logs, or more details about the behavior I observed.

Thanks again for creating the script.
 
Back
Top