WarmUpTill / SceneSwitcher

An automation tool for OBS Studio
https://obsproject.com/forum/resources/automatic-scene-switching.395/
GNU General Public License v2.0
984 stars 78 forks source link

When switching between scenes using timer, switching begins to stutter and eventually get snagged on one scene #1259

Open D6Tabletop opened 1 week ago

D6Tabletop commented 1 week ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.2.3

Advanced Scene Switcher Version

1.28.1

Plugin settings

No response

OBS Studio Log URL

No response

OBS Studio Crash Log URL

No response

Expected Behavior

scenes should switch smoothly between each other.

Current Behavior

scenes are set to after a few seconds, switch to one another, and the timer seems to function properly, but once the scene transition begins the scenes stutter and then finally switch. after multiple switches sometimes they even get stuck. I can see the scene on the ''scenes' list change, but the image in the previewer does not change.

Steps to Reproduce

1. 2. 3. ...

Anything else we should know?

These scene stutter happens even when the advance scene switcher isnt 'active' and switching scenes by hand. but once I uninstall the advanced scene switcher plug in from OBS, I no longer have this issue. I am using the 'Fade' scene transition and it seems to get snagged at the end of the transition. speeding up the transition does make it less noticeable, but it does seem to still happen but the snag is sped up.

WarmUpTill commented 1 week ago

Unfortunately it will be very difficult to investigate for a potential problem without additional information.

Can you please provide more information about your setup?

Which transition type are you using? Which settings are you using for this transition? What does the macro / do the macros look like, which perform the scene switching? (E.g. at which timing interval does the scene switching take place compared to the length of the transition.) Do you have configured any other macros and if so what do they look like? Do you have an obs log file from when the issue happens?

In general from what you have described so far it sounds like a performance issue. Although I don't really understand why you would see the issue even if the advanced scene switcher is stopped.

D6Tabletop commented 1 week ago

Thank you for the response!

I apologize for the lack of information on my post, I actually have never used a forum and I'm new to the advanced scene switcher. I have attached screenshots of everything I can think of that you might want to see. Macros are designed to look these 4 scenes until I stop the switcher.

I should also add that after playing around with the switcher last night for a while, I noticed that it doesnt do it on every transition. Additionally, I thought that maybe the scene switcher was transitioning too fast, so I made the time between switches 25 seconds each and the issue still persisted. The intent in the future is that I have each scene up for much longer (1 for 3 min, 2 for 1.5 min, 1 for 25 sec), but I did confirm that increasing the time between scene switches doesnt fix the issue. Each scene does have between 50 - 60 sources in it, but I dont think that is the issue. The Transition I am using is 'Fade' at .25 seconds I think this transition came stock with OBS. I have confirmed that changing the timing of the transition does not fix the issue. I think I am noticing that the 'snag' happens towards the end of the transition. This is the same transition I use when I uninstall Advanced Scene Switcher and I have no issues with it when the scene switcher is uninstalled.

Advanced Scene Switchers is also the only plug in I have downloaded, so as far as additional macros go unless OBS comes stock with something somewhere, you are the only macro plug in I am running. I can confirm that it does 100% happen when the scene switcher is turned off, but it does go away if I uninstall the scene switcher using the control panel.

Q: Do you have an obs log file from when the issue happens? A: Im not sure how to do this, but if you feel its important and can tell me how im happy to send this to you.

Please let me know what else I can provide. This scene switcher would mean a lot to my stream if I can get it working properly.

Thank you,

Unfortunately it will be very difficult to investigate for a potential problem without additional information.

Can you please provide more information about your setup?

Which transition type are you using? Which settings are you using for this transition? What does the macro / do the macros look like, which perform the scene switching? (E.g. at which timing interval does the scene switching take place compared to the length of the transition.) Do you have configured any other macros and if so what do they look like? Do you have an obs log file from when the issue happens?

In general from what you have described so far it sounds like a performance issue. Although I don't really understand why you would see the issue even if the advanced scene switcher is stopped.

— Reply to this email directly, view it on GitHubhttps://github.com/WarmUpTill/SceneSwitcher/issues/1259#issuecomment-2464119415, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BMYGL7V5FFTIMYSZ7G4BPFTZ7RZKBAVCNFSM6AAAAABRMUH3DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRUGEYTSNBRGU. You are receiving this because you authored the thread.

WarmUpTill commented 1 week ago

Thank you for the additional information! :)

I have attached screenshots of everything I can think of that you might want to see.

I think the email attachments don't get attached to the issue on GitHub so you might have to manually attach them here again. (At least I don't see them on my side at the moment)

Alternatively, you can also export your settings to a file an share that instead.

In fact I think that might be much less work then creating screenshots of every setting.

Q: Do you have an obs log file from when the issue happens? A: Im not sure how to do this, but if you feel its important and can tell me how im happy to send this to you.

In OBS select Help > Log Files > Upload last Log File. Copy the URL and paste it here.

I should also add that after playing around with the switcher last night for a while, I noticed that it doesnt do it on every transition.

Hm .. thanks for the hint! That likely excludes any transition signal handling / frontend event handling resulting in the stutter.

Each scene does have between 50 - 60 sources in it, but I dont think that is the issue.

If it never happens when manually switching scenes I guess it is not the root cause of the issue.

The Transition I am using is 'Fade' at .25 seconds I think this transition came stock with OBS.

Correct, that is a stock transition type. So, this can likely also be excluded.