Warmuptill
Active Member
Thanks for sharing the logs!Can't say for sure but I think there is some sort of Bug with the "Reduce matching latency" option
If I check it, condition will be meet multiple times (sometimes) and execute the macro 1 or more times or not at all.
To get this to work had to add another condition that is alway meet and "and" it with the change condition.
it works most of the time but not all of the time and it will execute macro more than once like 1 out of three times
For now I think I am stuck till I figure out another unique solution to trigger the execution of the macro that works.
this is the only macro I am having issues with but it is also the only macro that uses a scene change to trigger it. All other macros currently match a pattern to a file
Any help is greatly appreciated as I am running out of ideas to try
I assume the problematic macro is named "Wont-Work" and it is likely similar to the "At-Bat_Clip_*-of-inning" macros shared in your settings file.
In the shared logs it can be seen that the macro "Wont-Work" is executed many times.
Code:
Line 60302: 18:56:15.930: [adv-ss] running macro: Wont-Work
Line 60889: 18:56:28.119: [adv-ss] running macro: Wont-Work
Line 62064: 18:56:52.633: [adv-ss] running macro: Wont-Work
Line 62471: 18:57:01.207: [adv-ss] running macro: Wont-Work
Line 63370: 19:05:32.809: [adv-ss] running macro: Wont-Work
Line 63919: 19:05:43.786: [adv-ss] running macro: Wont-Work
Line 64213: 19:05:49.658: [adv-ss] running macro: Wont-Work
So it is not a matter of the conditions not working as expected.
Looking at the actions that are being performed everything seems to be performed as expected from the plugin's point of view and even OBS reports the virtual camera being started and stopped accordingly.
Code:
19:05:43.786: [adv-ss] running macro: Wont-Work
19:05:43.786: [adv-ss] performed action "AdvSceneSwitcher.action.virtualCamera.type.stop"
19:05:43.786: [adv-ss] performed action wait
19:05:43.786: [adv-ss] perform action wait with duration of 1.000000
19:05:43.788: Virtual output stopping
19:05:43.796: Output 'virtualcam_output': stopping
19:05:43.796: Output 'virtualcam_output': Total frames output: 298
19:05:43.796: Output 'virtualcam_output': Total drawn frames: 300
19:05:43.797: Virtual output stopped
19:05:43.802: ==== Virtual Camera Stop ===========================================
19:05:43.830: [ffmpeg muxer: 'Source Record'] Output of file 'C:/InPlayProductions/OUTPUT/at-bat_Game_2023-03-02 19-05-33.ts' stopped
19:05:43.830: Output 'Source Record': stopping
19:05:43.830: Output 'Source Record': Total frames output: 267
19:05:43.830: Output 'Source Record': Total drawn frames: 300
19:05:43.849: warning: 2 frames left in the queue on closing
19:05:44.787: [adv-ss] run "C:/InPlayProductions/OUTPUT/Rename-At-Bat.bat"
19:05:44.791: [adv-ss] performed action "AdvSceneSwitcher.action.virtualCamera.type.start"
19:05:44.792: [adv-ss] detected busy loop - refusing to sleep less than 1ms
19:05:44.792: [adv-ss] try to sleep for 50
19:05:44.792: NV12 texture support enabled
19:05:44.792: P010 texture support not available
19:05:44.796: Virtual output started
19:05:44.796: ==== Virtual Camera Start ==========================================
...
So I think the issue might be with the Virtual Camera itself not functioning as expected.
Unfortunately I am not sure how to investigate this further.
Maybe it is simply a timing issue and the virtual camera needs more time between starting and stopping.
So maybe increasing the delay might resolve the problem.
Last edited: