Skip to content

Instantly share code, notes, and snippets.

@xanathar
Created March 22, 2020 12:38
Show Gist options
  • Save xanathar/cb7d69069b8bffef3acdd2b7949c7fa8 to your computer and use it in GitHub Desktop.
Save xanathar/cb7d69069b8bffef3acdd2b7949c7fa8 to your computer and use it in GitHub Desktop.
Workaround for flipped Asus webcams on Ubuntu
#! /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