Advanced Scene Switcher

Advanced Scene Switcher 1.35.1

Will there be an update to support an Ubuntu 26.04 LTS deb package? Ubuntu 26 has removed pre Qt 6 libraries and some older packages are getting updated to the latest - aka boomaga ( https://askubuntu.com/questions/1566961/boomaga-is-not-available-in-26-04-what-now ) - PR involved 32 files ( https://github.com/archisman-panigrahi/boomaga/commit/e530af2000e2f23e8bad452f2d59ff80711a0b85 )

Code:
sudo apt install ./advanced-scene-switcher-1.35.1-x86_64-linux-gnu.deb
Note, selecting 'advanced-scene-switcher' instead of './advanced-scene-switcher-1.35.1-x86_64-linux-gnu.deb'
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 advanced-scene-switcher : Depends: libqt6gui6t64 (>= 6.4.0) but it is not installable
                           Depends: libqt6widgets6t64 (>= 6.3.0) but it is not installable
                           Recommends: libopencv-core406t64 (>= 4.6.0+dfsg) but it is not installable
                           Recommends: libopencv-imgproc406t64 (>= 4.6.0+dfsg) but it is not installable
                           Recommends: libopencv-objdetect406t64 (>= 4.6.0+dfsg) but it is not installable
                           Recommends: libpaho-mqtt1.3 (>= 1.3.0) but it is not going to be installed
                           Recommends: libpaho-mqttpp3-1 (>= 1.2.0) but it is not going to be installed
                           Recommends: libtesseract5 (>= 5.3.4) but it is not going to be installed
Error: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. advanced-scene-switcher:amd64=1.35.1 is selected for install
   2. advanced-scene-switcher:amd64 Depends libqt6gui6t64 (>= 6.4.0)
      but none of the choices are installable:
      [no choices]
@Warmuptill Thank you so much for looking into this so quickly. Apologies for the delayed return to this.

So.. It DID NOT work entirely, but it did make some "progress"

It installed OK, but in the process it removed obs-studio ( !! ) lol

and if I try to reinstall obs-studio, it wants to remove advanced-scene-switcher.

1785177937734.png


1785177965475.png


I'm digging more to see if there might be any more helpful details. but right now, no cigar, but closer.
 
@Warmuptill Thank you so much for looking into this so quickly. Apologies for the delayed return to this.

So.. It DID NOT work entirely, but it did make some "progress"

It installed OK, but in the process it removed obs-studio ( !! ) lol

and if I try to reinstall obs-studio, it wants to remove advanced-scene-switcher.

View attachment 120657

View attachment 120658

I'm digging more to see if there might be any more helpful details. but right now, no cigar, but closer.
How did you install the "obs-studio" package?
I think it might just differ to how I do it in the CI environment and thus they are technically different packages.
 
How did you install the "obs-studio" package?
I think it might just differ to how I do it in the CI environment and thus they are technically different packages.
Agreed, I am using the "official" PPA from obs ( as listed here: https://obsproject.com/kb/linux-installation )
Code:
sudo add-apt-repository ppa:obsproject/obs-studio
and it is listed first as priority over the ubuntu package.
Code:
apt-cache policy obs-studio
obs-studio:
  Installed: 32.2.0-0obsproject1~resolute
  Candidate: 32.2.0-0obsproject1~resolute
  Version table:
 *** 32.2.0-0obsproject1~resolute 500
        500 https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status
     32.1.0-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
 
Agreed, I am using the "official" PPA from obs ( as listed here: https://obsproject.com/kb/linux-installation )
Code:
sudo add-apt-repository ppa:obsproject/obs-studio
and it is listed first as priority over the ubuntu package.
Code:
apt-cache policy obs-studio
obs-studio:
  Installed: 32.2.0-0obsproject1~resolute
  Candidate: 32.2.0-0obsproject1~resolute
  Version table:
 *** 32.2.0-0obsproject1~resolute 500
        500 https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status
     32.1.0-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
Yep, that is likely it.
Was using the obs-studio package provided by Ubuntu itself instead of the PPA.
Will try to fix that tomorrow and send you a new link.
 
Sadly, the log does not give any new insights.
Unfortunately, I am still not able to reproduce a crash:
View attachment 120656
Am I missing a step or did I misunderstand anything?
Are you sure that the advanced scene switcher is at fault?
Hi,

It seems to be contributing at the very least. If I delete the macro then delete the scene I don't get a crash.

I'm looking to setup Visual Studio 2006 and OBS to see what is happening. I've gotten OBS building and running. But I'm getting held up on where to put the Advanced Scene Switcher plugin to be picked up by the debug OBS and then also how to setup Advanced Scene Switcher in development along with the OBS solution. I did software development for over 20 years mainly in C, Delphi 1 through to 7, VB.Net, C Sharp but the IDE's etc have changed a lot since I quit development.

1785195373138.png


09:07:53.703: Skipping module '../../obs-plugins/64bit/advanced-scene-switcher-lib.dll', not an OBS plugin

09:07:54.408: LoadLibrary failed for '../../obs-plugins/64bit/advanced-scene-switcher.dll': The specified module could not be found.

09:07:54.408: (126)

09:07:54.408: Module '../../obs-plugins/64bit/advanced-scene-switcher.dll' not loaded

regards,

David
 
Hi,

It seems to be contributing at the very least. If I delete the macro then delete the scene I don't get a crash.

I'm looking to setup Visual Studio 2006 and OBS to see what is happening. I've gotten OBS building and running. But I'm getting held up on where to put the Advanced Scene Switcher plugin to be picked up by the debug OBS and then also how to setup Advanced Scene Switcher in development along with the OBS solution. I did software development for over 20 years mainly in C, Delphi 1 through to 7, VB.Net, C Sharp but the IDE's etc have changed a lot since I quit development.

View attachment 120665

09:07:53.703: Skipping module '../../obs-plugins/64bit/advanced-scene-switcher-lib.dll', not an OBS plugin

09:07:54.408: LoadLibrary failed for '../../obs-plugins/64bit/advanced-scene-switcher.dll': The specified module could not be found.

09:07:54.408: (126)

09:07:54.408: Module '../../obs-plugins/64bit/advanced-scene-switcher.dll' not loaded

regards,

David
Note to self. Read the instructions stupid. Ok, I put it in tree as per your excellent instructions and have built it and will test it tomorrow
 
Hey, feel like there's something obvious I'm missing but I can't figure it out. I'm trying to get the scene to change when no audio is detected for a specific amount of time. When I set it up with no duration, it works (audio is playing, I pause it and the scene switches.) But when I add the duration timer to for at least and set any amount of time, it never works - this is even true when I tried another macro. Does this feature just not work or have I messed something up?
 

Attachments

  • 19ae9bb46564e7168d5ffae0093cc699.png
    19ae9bb46564e7168d5ffae0093cc699.png
    31 KB · Views: 9
Agreed, I am using the "official" PPA from obs ( as listed here: https://obsproject.com/kb/linux-installation )
Code:
sudo add-apt-repository ppa:obsproject/obs-studio
and it is listed first as priority over the ubuntu package.
Code:
apt-cache policy obs-studio
obs-studio:
  Installed: 32.2.0-0obsproject1~resolute
  Candidate: 32.2.0-0obsproject1~resolute
  Version table:
 *** 32.2.0-0obsproject1~resolute 500
        500 https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status
     32.1.0-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
Here is the new build:
Let me know if it works! :)

Note to self. Read the instructions stupid. Ok, I put it in tree as per your excellent instructions and have built it and will test it tomorrow
Thanks!
I appreciate you trying to analyze the issue yourself a lot!

Hey, feel like there's something obvious I'm missing but I can't figure it out. I'm trying to get the scene to change when no audio is detected for a specific amount of time. When I set it up with no duration, it works (audio is playing, I pause it and the scene switches.) But when I add the duration timer to for at least and set any amount of time, it never works - this is even true when I tried another macro. Does this feature just not work or have I messed something up?
I can only guess that there still is some miniscule sound being output for a short duration, which resets the condition's timer.
The slider can be a bit deceiving:
A value of ~ -60db translates to roughly 0,10% volume level.

Does it work as expected if you specify a lower threshold?
 
Here is the new build:
Let me know if it works! :)


Thanks!
I appreciate you trying to analyze the issue yourself a lot!


I can only guess that there still is some miniscule sound being output for a short duration, which resets the condition's timer.
The slider can be a bit deceiving:
A value of ~ -60db translates to roughly 0,10% volume level.

Does it work as expected if you specify a lower threshold?
No, it doesn't matter what threshold it is it doesn't work. I also had the same issue when I set it to change scene if on another scene - if i swap to that scene it will swap back instantly, but if I added the timer for at least 5 seconds it would just never change so I think it's something with the timer in general, if that's even possible?
 
Here is the new build:
Let me know if it works! :)
**************************
**************************
tl;dr yes it works. the rest is a little info regarding some versions between the OBS PPA for ubuntu 26 and the OBS official github releases.
**************************
**************************

1785260609935.png


I do appear to have a lingering plugin reference that I need to clean out for "libadvanced-scene-switcher"
1785260702617.png


*************
Details from uncovering the OBS version differences:
*************
Excellent and fantastic and quick update. It does install! YAY --- but... it does not appear in OBS

1785259762158.png


Do the 84 misses in the "Ccache" build mean anything ( the ubuntu 24 version stats appear a little different...

1785259837996.png


The plugin manager says it is missing.
1785259867631.png

It does not appear in Docks or Tools:
1785259900698.png


**************************
**************************
OK as I was constructing this, I found I had updated to 32.2.1 - from the OBS github page recent releases ( https://github.com/obsproject/obs-studio/releases/tag/32.2.1 ). That version did not want to show the advanced scene switcher. But going back to the 32.2.0 version in the offical PPA ( not from their github page ) and it is WORKING! Woot!!

So I'll leave this here, as it may or may not be relevant when the 32.2.1 version rolls through the PPA, or by then maybe something will be in the right place and it will be a non issue. -- also just in case anyone else runs across any issue

**************************
**************************

THANK YOU SO MUCH!

ooof dependencies and version mismatches - the miracle and curse of software engineering..
 
And FWIW removing the entry for the plugin_manager showing "libadvanced-scene-switcher" was simply just removing the entry block listed below in the file ~/.config/obs-studio/plugin_manager/modules.json
Code:
    {
        "display_name": "",
        "enabled": false,
        "encoders": [],
        "id": "",
        "module_name": "libadvanced-scene-switcher",
        "outputs": [],
        "services": [],
        "sources": [],
        "version": ""
    }

I guess OBS official is slowly rolling out some of this plugin manager capability.

Now to finish de-compiling and porting the surround sound 6&8 channel HDMI2.1 avermedia drivers and plugin from win/mac to linux.
 
No, it doesn't matter what threshold it is it doesn't work. I also had the same issue when I set it to change scene if on another scene - if i swap to that scene it will swap back instantly, but if I added the timer for at least 5 seconds it would just never change so I think it's something with the timer in general, if that's even possible?
Could it be that some other macro is interfering?
If you have multiple macros can you share those as well?

Also can you share an OBS log file with verbose logging of the advanced scene switcher plugin enabled?
 
Could it be that some other macro is interfering?
If you have multiple macros can you share those as well?

Also can you share an OBS log file with verbose logging of the advanced scene switcher plugin enabled?
I don't have any other macros - I just installed the plugin earlier and this is the only one I've tried to set up. Attaching log file - it looks like the condition is being met but it never activates the scene change (I have the settings set to be for at least 5 seconds currently, and the audio was paused for 10 seconds)
 

Attachments

I don't have any other macros - I just installed the plugin earlier and this is the only one I've tried to set up. Attaching log file - it looks like the condition is being met but it never activates the scene change (I have the settings set to be for at least 5 seconds currently, and the audio was paused for 10 seconds)
Well nevermind, it works now, I changed the perform actions to always and it is now working (only changed off of that earlier because it wasn't, but oh well!) thanks for the time and help!
 
Back
Top