How to Stream a Virtual Camera on Chat Platforms Like Discord with OBS

  1. Required software:
  • A distribution flavor of OpenMandriva Lx (specifically here, OMLx ROME)
  • OBS (Open Broadcaster Software [here, I used the flatpak version])
  • A Discord client (Usually the one Discord provides, here I also used the flatpak version)
  • v4l utilities
  1. Install V4L2 Utilities

    • Open your terminal and run:
      sudo dnf install v4l-util
      
      This installs the necessary tools for creating a virtual camera.
  2. Enable Kernel Module for Virtual Camera

    • Load the V4L2 loopback module by running:
      sudo modprobe v4l2loopback
      
      This creates a virtual video device that can be used as your camera source.
  3. Set Up OBS

    • Open OBS Studio and click on the Start Virtual Camera button.
    • If needed, select the gear icon next to the button to configure the input source (e.g., your screen or another feed).
  4. Showing the Virtual Camera during a chat

    • While in a Discord voice chat or call, press the Turn on Camera button
      • You may also need to click the menu arrow directly to the right side of the Turn on Camera button to open the camera sources menu to select the Dummy Camera device (0x0000) option to show the virtual camera to Discord instead of any physical webcams you have.
1 Like

Could we get some people to verify this so it can be added to Resources, please?

2 Likes

I dont think that is necessary with the one in the repos.
I have OBS installed and I did not need to run those commands.

Must be a flatpak thing.

It would probably be best that the flatpak authors provide the how-to, then. These seem like things that you would need regardless of the distribution used.

That is interesting, because for me (ROCK 6), I do not have OBS in my repos.

Oh, I see I put ROME as my usage case instead of ROCK. That’s my fault. I specifically meant to say I was using ROCK. :upside_down_face:

Then you don’t have all your repos enabled:

dnf list obs-studio                                                            <
Updating and loading repositories:
Repositories loaded.
Available packages
obs-studio.x86_64 31.0.3-1 cooker-x86_64-restricted

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.