ContentDeveloper
Member
Trying to run the script -- tried importing the macro, after loading the script into the Script tool in OBS.
Not seeing anything work.
Not seeing anything work.
I obviously found the page on the wiki explaining how to automatically switch to another scene with Display Capture when no output is detected in your Game Capture scene, but how would you get it to switch back to game capture when an eligible output is detected? There's no option for "has output", I imagine because when a scene isn't loaded it'll never have output. I'm sure I could manually add every exe I want it to detect and switch to, but is there an easier way to do that or just auto switching scenes every X seconds/minutes to check if there's ouput (second option sounds awful because it'd interrupt recording)Can anybody help me concoct a macro for my replay buffer? I would like a way to fully enable/disable a Display Capture source depending on if an Auto Game Capture source is active or not in order to not constantly render Display Capture underneath everything and use up resources. Not really sure where to start with this or if it's even possible, since I'm not entirely sure if OBS can fully disable a specific source.
Does this setting solve your problem?:Hi, @Warmuptill .
I noticed one problem: if you use a transition between scenes, your plugin changes the transition time set in the OBS transition panel to the value specified in the applied macro. And after that, all transitions (even those launched manually) begin to use the new value, which is not good.
The problem will be solved if after using the macro, the transition time value in the OBS panel automatically returns to the state that was before.
Just in case others are wondering what the issue was.Trying to run the script -- tried importing the macro, after loading the script into the Script tool in OBS.
Not seeing anything work.
You can simply inverse the condition by using "if not" instead of "if", or "and not" instead of "and", etc. .how would you get it to switch back to game capture when an eligible output is detected? There's no option for "has output"
I think OBS will automatically "disable" the Display source it if not used by any active scene. (Preview or Program)I imagine because when a scene isn't loaded it'll never have output.
I can confirm that the setting pointed out by Aaron should do the trick :)Hi, @Warmuptill .
I noticed one problem: if you use a transition between scenes, your plugin changes the transition time set in the OBS transition panel to the value specified in the applied macro. And after that, all transitions (even those launched manually) begin to use the new value, which is not good.
The problem will be solved if after using the macro, the transition time value in the OBS panel automatically returns to the state that was before.
Great, it really works.Does this setting solve your problem?:
View attachment 109019
As shown here will probably cause it, but I think the other one will fix it.
Oh, yes, it works! I haven't looked at the general settings for a long time, since almost everything works properly there by default.I can confirm that the setting pointed out by Aaron should do the trick :)
When you only check "Set transition overrides" the settings in the "Scene Transitions" dock will not be touched.
In 1.28.0 the "Create screenshot" button was changed to instead of always capturing the complete source output to prompt the user to select which area of the screenshot they want to keep.Feature request:
In selecting the file for the video / scene / matches pattern, add a third option (in addition to "Use Existing file" and "Create screenshot") to select an area within the "check only in area" selected. My current work around is to select the area to match and then take a screenshot. After taking the screenshot, I make the select area bigger.
Thank you for considering my request.
I don't have an answer, but more of an organizational tip:I am using the lastes 1.28 version (and saw the same thin on 1.27):
I am using a macro to create a variable, then also populate a source text object with the value.
This was working for the laat week or two, until yesterday.
As soon as I actually trigger the source text object to be populated with a new value, OBS crashes -- with the window that says it "stopped working" and only gives me the option to "close the program.
When I open OBS again, the variables do not have the new values populated to the source text... but insteas the old values.
Any thoughts?
You are. If it's meant to be independent of an existing issue, then that's fine. It just appeared to be a continuation of one that I remembered recently, but wasn't in the last couple of posts. If that's true, then you'd effectively be asking for help without context, because the context rots that fast in here without that reminder.I thought I was posting a comment in the "discusssion" area about the Advanced Scene Switcher -- lIke i see a lot of people do.
I don't think you can avoid that. Just post in here anyway.Plus, I figured I would hit up "the community" of users of AdvSS, without necessarily bothering Warmuptill.
Can you please share the corresponding macro(s)?I am using a macro to create a variable, then also populate a source text object with the value.
This was working for the laat week or two, until yesterday.
That is expected if obs does not shut down cleanly / crashes.When I open OBS again, the variables do not have the new values populated to the source text... but insteas the old values.
16:54:35.134: CPU Name: AMD Ryzen 7 3700X 8-Core Processor
16:54:35.134: CPU Speed: 3600.000MHz
16:54:35.134: Physical Cores: 8, Logical Cores: 16
16:54:35.134: Physical Memory: 32035MB Total, 29196MB Free
16:54:35.134: Kernel Version: Linux 5.15.0-124-generic
16:54:35.134: Distribution: "Linux Mint" "21.3"
16:54:35.134: Session Type: x11
16:54:35.134: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
16:54:35.135: Qt Version: 5.15.3 (runtime), 5.15.2 (compiled)
16:54:35.136: Portable mode: false
16:54:35.163: OBS 27.2.3+dfsg1-1 (linux)
16:54:35.163: ---------------------------------
16:54:35.163: ---------------------------------
16:54:35.163: audio settings reset:
16:54:35.163: samples per sec: 48000
16:54:35.163: speakers: 2
16:54:35.168: ---------------------------------
16:54:35.168: Initializing OpenGL...
16:54:35.243: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
16:54:35.243: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.183.01, shading language 3.30 NVIDIA via Cg compiler
16:54:35.255: ---------------------------------
16:54:35.255: video settings reset:
16:54:35.255: base resolution: 2560x1440
16:54:35.255: output resolution: 1920x1080
16:54:35.255: downscale filter: Bicubic
16:54:35.255: fps: 60/1
16:54:35.255: format: NV12
16:54:35.255: YUV mode: 709/Partial
16:54:35.255: NV12 texture support not available
16:54:35.267: Audio monitoring device:
16:54:35.267: name: Default
16:54:35.267: id: default
16:54:35.267: ---------------------------------
16:54:35.269: os_dlopen(/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so->/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so): libobs-frontend-api.so.30: cannot open shared object file: No such file or directory
16:54:35.269:
16:54:35.269: Module '/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so' not loaded
Unfortunately, the minimum required OBS version for this plugin is currently OBS 30.1.2.I'm running Linux Mint, and I can't get OBS to launch with this plugin installed. Here's my log:
Code:16:54:35.134: CPU Name: AMD Ryzen 7 3700X 8-Core Processor 16:54:35.134: CPU Speed: 3600.000MHz 16:54:35.134: Physical Cores: 8, Logical Cores: 16 16:54:35.134: Physical Memory: 32035MB Total, 29196MB Free 16:54:35.134: Kernel Version: Linux 5.15.0-124-generic 16:54:35.134: Distribution: "Linux Mint" "21.3" 16:54:35.134: Session Type: x11 16:54:35.134: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 16:54:35.135: Qt Version: 5.15.3 (runtime), 5.15.2 (compiled) 16:54:35.136: Portable mode: false 16:54:35.163: OBS 27.2.3+dfsg1-1 (linux) 16:54:35.163: --------------------------------- 16:54:35.163: --------------------------------- 16:54:35.163: audio settings reset: 16:54:35.163: samples per sec: 48000 16:54:35.163: speakers: 2 16:54:35.168: --------------------------------- 16:54:35.168: Initializing OpenGL... 16:54:35.243: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 16:54:35.243: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.183.01, shading language 3.30 NVIDIA via Cg compiler 16:54:35.255: --------------------------------- 16:54:35.255: video settings reset: 16:54:35.255: base resolution: 2560x1440 16:54:35.255: output resolution: 1920x1080 16:54:35.255: downscale filter: Bicubic 16:54:35.255: fps: 60/1 16:54:35.255: format: NV12 16:54:35.255: YUV mode: 709/Partial 16:54:35.255: NV12 texture support not available 16:54:35.267: Audio monitoring device: 16:54:35.267: name: Default 16:54:35.267: id: default 16:54:35.267: --------------------------------- 16:54:35.269: os_dlopen(/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so->/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so): libobs-frontend-api.so.30: cannot open shared object file: No such file or directory 16:54:35.269: 16:54:35.269: Module '/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so' not loaded
Any idea what could be causing this and how it can be fixed?
I'm running Linux Mint, and I can't get OBS to launch with this plugin installed. Here's my log:
Code:16:54:35.134: CPU Name: AMD Ryzen 7 3700X 8-Core Processor 16:54:35.134: CPU Speed: 3600.000MHz 16:54:35.134: Physical Cores: 8, Logical Cores: 16 16:54:35.134: Physical Memory: 32035MB Total, 29196MB Free 16:54:35.134: Kernel Version: Linux 5.15.0-124-generic 16:54:35.134: Distribution: "Linux Mint" "21.3" 16:54:35.134: Session Type: x11 16:54:35.134: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 16:54:35.135: Qt Version: 5.15.3 (runtime), 5.15.2 (compiled) 16:54:35.136: Portable mode: false 16:54:35.163: OBS 27.2.3+dfsg1-1 (linux) 16:54:35.163: --------------------------------- 16:54:35.163: --------------------------------- 16:54:35.163: audio settings reset: 16:54:35.163: samples per sec: 48000 16:54:35.163: speakers: 2 16:54:35.168: --------------------------------- 16:54:35.168: Initializing OpenGL... 16:54:35.243: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 16:54:35.243: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.183.01, shading language 3.30 NVIDIA via Cg compiler 16:54:35.255: --------------------------------- 16:54:35.255: video settings reset: 16:54:35.255: base resolution: 2560x1440 16:54:35.255: output resolution: 1920x1080 16:54:35.255: downscale filter: Bicubic 16:54:35.255: fps: 60/1 16:54:35.255: format: NV12 16:54:35.255: YUV mode: 709/Partial 16:54:35.255: NV12 texture support not available 16:54:35.267: Audio monitoring device: 16:54:35.267: name: Default 16:54:35.267: id: default 16:54:35.267: --------------------------------- 16:54:35.269: os_dlopen(/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so->/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so): libobs-frontend-api.so.30: cannot open shared object file: No such file or directory 16:54:35.269: 16:54:35.269: Module '/usr//lib/x86_64-linux-gnu/obs-plugins/advanced-scene-switcher-lib.so' not loaded
Any idea what could be causing this and how it can be fixed?
Be aware that if you decide to update OBS, the change from v27 to v28 not only breaks pretty much all of the plugins, but also wipes out their settings even if you downgrade back!Unfortunately, the minimum required OBS version for this plugin is currently OBS 30.1.2.
You still seem to be using OBS 27.
I think the last version of the advanced scene switcher supporting OBS 27 was 1.17.7.