OBS Studio: Difference between revisions
imported>Steadygaze Add note about package collision gotcha |
imported>Aaronchall add in a few more requirements I'm aware of |
||
Line 12: | Line 12: | ||
plugins = with pkgs.obs-studio-plugins; [ | plugins = with pkgs.obs-studio-plugins; [ | ||
wlrobs | wlrobs | ||
obs-backgroundremoval | |||
obs-pipewire-audio-capture | |||
]; | ]; | ||
}) | }) | ||
Line 26: | Line 28: | ||
plugins = with pkgs.obs-studio-plugins; [ | plugins = with pkgs.obs-studio-plugins; [ | ||
wlrobs | wlrobs | ||
obs-backgroundremoval | |||
obs-pipewire-audio-capture | |||
]; | ]; | ||
}; | }; | ||
Line 35: | Line 39: | ||
=== Using the Virtual Camera === | === Using the Virtual Camera === | ||
The virtual camera requires the <code>v4l2loopback</code> [[Linux kernel#Custom kernel modules|kernel module]] to be installed, | The virtual camera requires the <code>v4l2loopback</code> [[Linux kernel#Custom kernel modules|kernel module]] to be installed, a loopback device configured, and polkit enabled so OBS can access the virtual device: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
Line 43: | Line 47: | ||
v4l2loopback | v4l2loopback | ||
]; | ]; | ||
boot.extraModprobeConfig = '' | |||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 | |||
''; | |||
security.polkit.enable = true; | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Applications]] | [[Category:Applications]] |