We demonstrate this process using OBS on macOS, but it should work the same on Windows and Linux.
To start the virtual camera, click the button "Start Virtual Camera".
PS:
<aside> 💡 If you had the old plugin for virtual camera installed before it was integrated into OBS, you will need to remove it. Make sure OBS is closed, and then do the following: Open a new Finder window
Hit "CMD+SHIFT+G", then enter /Library/CoreMediaIO/Plug-Ins/DAL/
Delete the file named obs-mac-virtualcam.plugin - you might be asked for your password to confirm the deletion
Hit "CMD+SHIFT+G" again, now enter /Library/Application Support/obs-studio/plugins
Delete the folder named obs-mac-virtualcam - again, you might be asked for your password Now you are set to use OBS' built-in virtual camera plugin
</aside>
Click the plus icon to add a source, choose video capture device.
Leave everything as default, hit "OK" to continue.
Select the camera source, then hit "OK" to continue.
The canvas's default size is 1920x1080, however, if the camera resolution is lower than the canvas, it may not fill up the canvas. Resize the video source by dragging the bottom-right red handle to fill up the canvas.
Add another source, for example, display capture.
Resize both source to the desired size.
To configure the recording settings, go to Menu → OBS → Preferences → Output
Start Recording by clicking the "Start Recording" button.
When recording is finished, hit "Stop Recording" to stop the recording. The file is saved at the specified location. A 1 hour recording of 1080p video is estimated to be around 4 GB.