New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
obs: gstreamer plugin #94067
obs: gstreamer plugin #94067
Conversation
Hm, since the workaround No. 2 is actually similar with other system/user-wide plugins like LV2, and No. 1 applies to any obs plugin, not just this one, I think I'm going to submit this as is. |
@@ -8919,6 +8919,16 @@ | |||
githubId = 687198; | |||
name = "Yuri Aisaka"; | |||
}; | |||
yurkobb = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put this into a separate commit with the message maintainers: add yurkobb
.
sha256 = "1szfx5p2lb953blzw7prfd0nngjlwv2wn7jmnwvlssc9ci6jl6s8"; | ||
}; | ||
|
||
nativeBuildInputs = [ meson ninja pkgconfig ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ meson ninja pkgconfig ]; | |
nativeBuildInputs = [ meson ninja pkg-config ]; |
, fetchFromGitHub | ||
, gstreamer | ||
, gst-plugins-base | ||
, pkgconfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, pkgconfig | |
, pkg-config |
meta = with lib; { | ||
description = "GStreamer OBS Studio plugin"; | ||
homepage = "https://github.com/fzwoch/obs-gstreamer"; | ||
license = licenses.gpl2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plus or Only?
This should benefit nicely from #125308 |
Oh, that's great news and will make using obs with plugins much easier! P.S. Regarding this PR, someone has already packaged obs-gstreamer in the meantime, so I think it can be closed. |
Motivation for this change
Add the obs-gstreamer OBS plugin (useful for things like attaching sources OBS doesn't support natively, but gstreamer does, like firewire (H)DV cameras, among other things).
Need help with
Currently there are two issues with path lookup:
ln -s ~/.nix-profile/lib/obs-plugins/obs-gstreamer.so ~/.config/obs-studio/plugin/obs-gstreamer/bin/64bit/
I am not sure if #1 needs patching OBS to support loading plugins from the system and user profiles (at least i can't find any environment variables to tweak by searching for getenv calls in its source code).
About #2 - have no idea how to fix this... Still a nixpkgs newbie...
(cc @jb55 @MP2E from
default.nix
maintainers).Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)