Last active
January 19, 2021 14:43
-
-
Save NoxWings/25a85c592aaf685e7780f834b4021ae3 to your computer and use it in GitHub Desktop.
Simple script to create a virtual cam device to be used as a sink OBS for example. You will need some v4l2loopback package(s) installed. Also the obs sink can be found here: https://github.com/CatxFish/obs-v4l2sink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1 | |
ls -l /dev/video* | |
v4l2-ctl --list-devices | |
# https://www.google.es/search?sxsrf=ALeKk01prUlE8BPxGnfFe0RkbsMiSFo4Lg%3A1585693172189&ei=9MGDXtCaC-vjgwfMuYjwCA&q=obs+plugins+use&oq=obs+plugins+use&gs_lcp=CgZwc3ktYWIQAzIGCAAQFhAeMgUIABDNAjIFCAAQzQIyBQgAEM0COgQIABBHOgUIABCRAjoFCAAQywE6AggAULO1AVixwQFgvcIBaABwAngAgAFUiAGIA5IBATWYAQCgAQGqAQdnd3Mtd2l6&sclient=psy-ab&ved=0ahUKEwjQ5ICy38XoAhXr8eAKHcwcAo4Q4dUDCAs&uact=5 | |
# https://obsproject.com/forum/resources/obs-virtualcam.539/ | |
# https://github.com/CatxFish/obs-v4l2sink | |
# https://github.com/CatxFish/obs-virtual-cam/issues/17 | |
# https://srcco.de/posts/using-obs-studio-with-v4l2-for-google-hangouts-meet.html | |
# https://www.youtube.com/watch?v=6AZRiW3hHrw | |
# https://yasha.solutions/virtual-webcam-on-linux/ | |
# https://github.com/CatxFish/obs-v4l2sink | |
# https://github.com/umlaeute/v4l2loopback#run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment