Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Brighter video, thanks to video loopback and gstreamer
#!/bin/bash
MODULE=v4l2loopback
if grep -q $MODULE /proc/modules;
then
echo $MODULE already loaded
else
echo loading $MODULE
sudo modprobe $MODULE
echo $MODULE loaded
fi
gst-launch v4l2src device=/dev/video0 ! v4l2sink device=/dev/video1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.