Thank you for your efforts in narrowing down the root cause!I am at a loss
can't reproduce in newest versions. In fact all it does is crash OBS
Could it be windows 11 causing the issue? Hard to believe that alot of people are not having this issue considering how easy I can crash it
will get it loaded and see if I can break it. Hopefully notThank you for your efforts in narrowing down the root cause!
I think I have an idea what could be causing the issue.
I am directly modifying widgets from an non UI thread.
I believe that is something you are not supposed to do in Qt and could explain why the crashlogs point to random points in the Qt libs.
I reworked the preview / area selection dialog so it no longer does this, but instead uses the Qt signal / slot mechanism.
A build with this change should be available here in a few minutes:
![]()
Rework preview dialog to use signals / slots to update image data · WarmUpTill/SceneSwitcher@31ad9da
An automated scene switcher for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
I would appreciate if you could give this a try.
Ok,will get it loaded and see if I can break it. Hopefully not
I had a project years ago with Qt, and I can confirm that doing UI stuff from non-UI threads is indeed problematic. And the signal/slot mechanism is indeed the correct way to do it.I think I have an idea what could be causing the issue.
I am directly modifying widgets from an non UI thread.
I believe that is something you are not supposed to do in Qt and could explain why the crashlogs point to random points in the Qt libs.
I reworked the preview / area selection dialog so it no longer does this, but instead uses the Qt signal / slot mechanism.
That is great news! :)Ok,
You are a Rock Star, the selection window has never been more responsive and I have tried everything to get it to crash with no luck.
It would appear that you hit the nail on the head with the fix
Will let you know if it rears it's ugly head again but it seams to work better now than any of the previous releases and I have crashes is all of them but the newest. The fix seams to be rock solid
I have to suggestions that might help here:Any suggestions on how to trigger the ASS to write the replay buffer
video source changes by flashing a number (I want to trigger on this, wait 1/2/3 seconds, then write the buffer)
number goes away to a white screen until some time later a new number is displayed and cycle repeats
For some reason I get 3 and 4 triggers with 1 number display. Currently trigger is if source changes in defined area. So I could see two triggers as the number shows up and goes away but I get 3 and 4 or more triggers
Any ideas would be appreciated
Thanks again for all that you do. It is simply amazing what the ASS can do
here is a videoThat is great news! :)
Thank you for your patience in getting this sorted out!
I have to suggestions that might help here:
View attachment 91350
- I would enable pattern matching to prevent any video compression artefacts incorrectly triggering this condition.
- Adding a duration modifier of the type "with the last ..." to the video condition in combination with macro option "Perform actions only on condition change" will result in the macro only executing its actions at most every X seconds. (Assuming there are no other conditions that might conflict with this setting)
Hope that helps!
The condition being highlighted in green does not mean that the actions are being necessarily being executed as well.here is a video
![]()
Untitled video - Create and share your videos with Clipchamp
Watch videos made with Clipchamp, the best video maker for everyone.clipchamp.com
Might help explain
Just a side-note for device compatibility: I often read this forum and comment with a Raspberry Pi (still use the main rig to test stuff and get screenshots), and for some reason ClipChamp doesn't work on the Pi. It just hangs on the first frame. YouTube does work.here is a video
![]()
Untitled video - Create and share your videos with Clipchamp
Watch videos made with Clipchamp, the best video maker for everyone.clipchamp.com
Might help explain
Unfortunately I don't think that is possible yet.Want to set a variable in a macro and then use it to write a file with that name
I wonder if you can simplify it a little bit by passing a variable as an argument to the batch file. So you'd skip the "name file", and call the batch file with the desired name instead. You could also pass it the (constant) path to the raw file, just to keep all of the change-able stuff inside of OBS. (but still in two places)So I have ASS write a text file with the prefix I want name the file (This will be dynamically changing)
Then when condition is met to write the replay buffer
Ass writes the replay buffer,
waits 1 second to make sure it is saved
Runs a batch file to rename the file with the prefix stored in text file previously written and delete original file (might just move it to a new folder but will see how it goes)
Sounds to me like you need a static detector instead of a dynamic one. "This area not empty" instead of "this area changed." I haven't used the machine vision part of Adv. SS, but maybe you can give it a picture of an empty track to compare to, along with a detection area? (might be in the same picture, depending on how it actually works)My current macro is set up to switch to a different scene if the video feed on either side of the main track has changed. While this recognises when my hand crosses through the area, the snail appears to enter the restricted section too slowly for the software to notice the change. Is there a way to improve the accuracy of this set-up? Or are there different macro conditions that might work better?
I agree with @AaronD.I'm using OBS to record snail locomotion from multiple angles with overlays to improve speed measurements for a research project. I'd like to use advanced scene switcher to make an "alarm system" that changes the scene briefly to flash red and play an alarm sound when the snail ventures off the desired path to let me know I need to reset and abandon the run. My current macro is set up to switch to a different scene if the video feed on either side of the main track has changed. While this recognises when my hand crosses through the area, the snail appears to enter the restricted section too slowly for the software to notice the change. Is there a way to improve the accuracy of this set-up? Or are there different macro conditions that might work better?
There's also an If Not option...Quick question about Video -> Brightness. Am I able to make the macro trigger if the brightness goes under a set level? I think by default it only triggers of it goes over the value.
Thx <3