FiniteSingularity / obs-composite-blur

A comprehensive blur plugin for OBS that provides several different blur algorithms, and proper compositing.
GNU General Public License v2.0
380 stars 30 forks source link

[FEATURE] - Linux: Flatpak version of the plugin #102

Open gelbphoenix opened 4 months ago

gelbphoenix commented 4 months ago

Is your feature request related to a problem? Please describe. There are only two ways to officially install OBS on Linux.

  1. The PPA for Ubuntu and Ubuntu-based distros and
  2. the Flatpak build of OBS for all other distros like Fedora or Arch. (I know there are unofficial releases for these distros but they will also not get any support from the OBS project, so the only official way is the Flatpak for distros other than Ubuntu)

Describe the solution you'd like I'd ask for a flatpak version of the plugin. (Maybe under the prefix com.obsproject.Studio.Plugin.CompositeBlur)

Describe alternatives you've considered I tested the unofficial build of OBS from the Fedora repos but they aren't updated as much. I also had a bug where the Fedora version of OBS wouldn't use the NVENC encoder while recording or streaming (My system had the latest Nvidia drivers which were in the repos).

Additional context This may seem as a very selfish request and maybe is but the benefit of a Flatpak version would be

  1. the plugin would be automatically updated when the User updates the Flatpak packages and
  2. the plugin wouldn't be removed when the User updates and they had installed it. At this time a plugin would be removed if a user updates the flatpak version of OBS. (Added point that I only saw while writing this request: On Fedora a user can install OBS plugins from the GNOME Software app)
FiniteSingularity commented 3 months ago

Definitely not a selfish request, however I dont have any linux machines to test/build on, so that makes this a bit tricky. I am going to ping a few linux folks I know that use the plugins, and see if they would have the knowledge to make this happen. (The linux installer comes "for free" with the regular OBS plugin template build scripts, and isn't something I'm very versed in).

dennisrijsdijk commented 2 months ago

I've got this working (not pushed to flathub yet)

repo: https://github.com/dennisrijsdijk/com.obsproject.Studio.Plugin.CompositeBlur

@FiniteSingularity would you give me permission to publish the plugin to flathub or would you prefer to do so yourself?

teatwig commented 2 months ago

I tested the flatpak by @dennisrijsdijk and it's working for me without any issues. Although I still have to use the 30.1.2 version of OBS for it to work, but I had the same problem with StreamFX.

dennisrijsdijk commented 2 months ago

Although I still have to use the 30.1.2 version of OBS for it to work, but I had the same problem with StreamFX.

Interesting, I've had no issues running it on 30.2 on my system

teatwig commented 2 months ago

Looked a bit more into it and the issue seems to be obs-vkcapture crashing, because the flatpak plugin wasn't updated yet to the newest obs. So most likely unrelated to composite blur.

FiniteSingularity commented 2 months ago

Thank you both for this. I’m out of town, but will take a look early next week.

lefty82 commented 1 month ago

Thank you for your work! I too use the flatpak version of obs, and as of the recent release (30.2.0), locally installed plugins no longer work (we used to extract them to ~/.var/app/com.obsproject.Studio/config/obs-studio/plugins/). That install method was never officially supported, but they somehow worked in the past.

Now Flatpak versions of plugins are pretty much required. This will help many people!

FiniteSingularity commented 1 month ago

@dennisrijsdijk Thank you for volunteering to work on/publish the flatpack. Please feel free to go ahead and publish it.

dennisrijsdijk commented 1 month ago

Hey all! This plugin is now available for download on flathub