Note: My manual method is not necessary if you get JackDesBwa's scripts to convert 3D Webcams into Anaglyph for OBS STUDIO from GitHub
I downloaded the two scripts which are text files with .lua extensions
In OBS Studio> Tools>Scripts I imported both of the scripts.
The scripts adds two filters in OBS.
SBS Adjust and SBS=>Anaglyph
Choose the 3D webcam Source, add then the two filters.
Make sure SBS Adjust filter is on top followed by SBS=>Anaglyph
Adjust the window for convergence and then the vertical adjustment in SBS Adjust Filter
So easy. Thanks Jack!
The instructions below was my manual way of doing it. The JackDesBwa script is superior.
The manual method applies when using two cameras. (Just ignore the cropping as that is not necessary with two identical cameras)
I have the SVPro 3D Camera Module which is UVC (USB Video Class) compatible.
SV-USB3D1080P02-V85
Documenting here how to set it up as anaglyph in OBS for use in ZOOM or Live-streaming
I think streaming video in anaglyph is fun since not everyone can make use of the full SBS in a stream. Cardboard red cyan glasses are cheap and plentiful.
Let's get started! (The instructions here should work with the Qoocam Ego too)
In OBS Studio you are going to create two different versions of the same source which is the 3D USB Camera which has a side by side resolution of 3840x1080
Create/Add the first source of the 3D USB Camera in the "Sources" Panel in OBS Studio
Rename this source as right.
Make sure the properties are correct (3840x1080 and your preferred frame rate Input format NV12-420...)
Right click the 'right' source and go to filters.
Add the CROP/PAD filter.
Since this will be the right eye, we will crop from the left side 1920 pixels.
Now add the Color Correction filter.
Scroll down to "Color Add" > then click "Select color"
Select RGB Sliders (I'm not sure how it is implemented in Windows, but it should be similar).
Change and GREEN and BLUE channels to 0
Leave RED at 255
then hit OK. Close and exit.
Now Add another source in the Sources panel. Rename this as Left.
Make sure the Left source is stacked above the Right. (we need this for proper blending of anaglyph)
Go to the properties of Left and change the settings to match the camera properties of the right source and then exit.
Slide the RED channel to 0
Leave the green and blue channel at 255.
OK and exit
Right click the Left source > Blending Mode> Change to Multiply
Okay, at this point, bust out your red cyan glasses and do a quick check and see if it is working.
You can now do some alignment of the left and right images. Convergence and vertical disparity.
Choose the left source and then "move" the frame until it is properly aligned. You may or want to move the right source if needed.
At this point, you probably want to crop and clean up the edges of the frame.
In the SCENE PANEL, Select the Scene that contains both LEFT and RIGHT.
Right click the "Scene" and add the Crop/Pad filter
Crop Left/Right/Top/Bottom until it is centered. (There maybe slight borders, but it is cinematic!)
Okay, you should now be set.
You can stream from this setup and when you enable "Start Virtual Camera", it will appear as a video source when used with ZOOM, FaceTime etc.
Yes--- You can stream in 3D Anaglyph in ZOOM.
No comments:
Post a Comment