Created
March 29, 2014 18:05
-
-
Save punchagan/9859210 to your computer and use it in GitHub Desktop.
Brighter video, thanks to video loopback and gstreamer
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 | |
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