Created
March 22, 2020 12:38
-
-
Save xanathar/cb7d69069b8bffef3acdd2b7949c7fa8 to your computer and use it in GitHub Desktop.
Workaround for flipped Asus webcams on Ubuntu
This file contains hidden or 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 exclusive_caps=1 | |
ffmpeg -f v4l2 -input_format mjpeg -pix_fmt=yuyv422 -i /dev/video0 -vf "vflip" -f v4l2 /dev/video1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment