pop os - help needed with installation of "advanced scene switcher" plugin

gdeninger

New Member
Hello friends,

can somebody please assist me with installing the "advanced scene switcher" plugin for obs studio running on pop-os 20.04 (LTS)?

I've tried moving the files into the requested folders, but somehow the plugin fails to appear in the obs menu. I'm not experienced enough to know where to continue and am grateful for any help with this.

Thanks and best regards,
Greg
 

Warmuptill

Active Member
Hello friends,

can somebody please assist me with installing the "advanced scene switcher" plugin for obs studio running on pop-os 20.04 (LTS)?

I've tried moving the files into the requested folders, but somehow the plugin fails to appear in the obs menu. I'm not experienced enough to know where to continue and am grateful for any help with this.

Thanks and best regards,
Greg
Hi,

unfortunately the locations where you need to put the files can vary quite a lot on the different platfroms and I cannot give a definite answer.

One approach to find the correct place to put the plugin is to look for locations of files that are related to OBS.
For example for the data directory you could use:
find / -name en-US.ini 2>/dev/null
And for the *so file location you could use:
find / -name linux-capture.so 2>/dev/null

But maybe the issue is not the location where you put the files but some dependency is missing.
For this it might be worth having a look at the OBS log file.

Alternatively you could rely on the obs-studio version provided by snap.
This already comes bundled with a bunch of plugins including the advanced scene switcher.

Hope that helps :)
 

gdeninger

New Member
Thank you so much for your quick reply.

So I have (already had) "advanced-scene-switcher.so" in /usr/lib/x86_64-linux-gnu/obs-plugins/ … which is the path the find command came up with. That wasn't wrong.

And I now have the "data" folder, containing the "locale" and "res" subfolders, in /usr/share/obs/obs-studio/locale/ … which is one of the locations the other command had shown.

I may still be doing something wrong, because so far, OBS still refuses to show the menu entry.

What do I need to do?
Best regards,

Greg
 

gdeninger

New Member
OK I'm one step closer: Reading the log file pointed out that a library had been missing, "apt install libopencv-objdetect-dev" took care of that. Now the menu entry is there, but it throws an error message that it can't find the "data" folder. So now it's all about positioning this in the right spot…
 

Warmuptill

Active Member
At least on Ubuntu the the contents of the data folder are expected under ~/.config/obs-studio/plugins/advanced-scene-switcher/data/ and the advanced-scene-switcher/data folder structure needs to be created manually.
I will see if I can improve the error message about failing to find the data folder so that it says where the data is expected.
 

Warmuptill

Active Member
In case you still have issues finding the data directory I have now added some code that attempts to display the location where the files are expected - for example:

MissingData.PNG


A build with this change will be available here in a few minutes:
Note that you have to be logged into GitHub to be able to download it.
 
Last edited:

gdeninger

New Member
Thank you Till,

however, neither in "~/.config/obs-studio/plugins" (which didn't exist), nor in "~/.config/obs-studio/plugin_config" (which did exist) does it make any difference whether the "advanced-scene-switcher" folder with the subfolder "data" and all its contents is present or not.

I've tried the same thing with a totally different distribution, openSUSE Tumbleweed, identical behaviour. (I did have to create some symlinks due to a newer version of libopencv before the plugin would show up).

Do I need to make any changes to any of the files within the data directory? My locale is de_DE ("LANG=de_DE.UTF-8"). Renaming the "de-DE.ini" file into "de_DE.ini" or even "de_DE.UTF-8.ini" didn't make any difference either. Mind you, I'm just making uneducated guesses here.

Greg
 

Warmuptill

Active Member
Thank you Till,

however, neither in "~/.config/obs-studio/plugins" (which didn't exist), nor in "~/.config/obs-studio/plugin_config" (which did exist) does it make any difference whether the "advanced-scene-switcher" folder with the subfolder "data" and all its contents is present or not.

I've tried the same thing with a totally different distribution, openSUSE Tumbleweed, identical behaviour. (I did have to create some symlinks due to a newer version of libopencv before the plugin would show up).

Do I need to make any changes to any of the files within the data directory? My locale is de_DE ("LANG=de_DE.UTF-8"). Renaming the "de-DE.ini" file into "de_DE.ini" or even "de_DE.UTF-8.ini" didn't make any difference either. Mind you, I'm just making uneducated guesses here.

Greg
Have you tried using the build mentioned above to figure out where the data would be expected?
Unfortunately I am not sure how to help further :(

>Do I need to make any changes to any of the files within the data directory?
No you do not - in fact this might cause issues.

Just another idea - the apt package "obs-advanced-scene-switcher" can maybe be used somehow figure out where to place the data directory.
Although I have no clue how one would install it as it is only part of "experimental" it seems.
 

gdeninger

New Member
OK OK Till, I have got it.

So, here's for anybody wanting to use the advanced-scence-switcher plugin on either Tumbleweed or pop-os:
The "locale"-folder containing the .ini-files has to go in "/usr/share/obs/obs-plugins/advanced-scene-switcher"
(So it matters that the "locale" folder is not in a "data" subfolder, but directly in the path mentioned above.)
No renaming of the locale files required.

Thanks for all help, Till. And a great plugin, I'm glad that I'm now finally able to start using it.

Greg
 
Top