OBS Studio: Difference between revisions

imported>Steadygaze
Add note about package collision gotcha
Klinger (talk | contribs)
m link to Droidcamera wiki article added
 
(One intermediate revision by one other user not shown)
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, like so:
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>
It is possible to use [[Droidcam]] as virtual camera.


[[Category:Applications]]
[[Category:Applications]]