Saturday, 17 March 2012

Video upside down/inverted in Skype, Cheese

libv4l allows controlling the orientation of the image.

The solution is to set the control of the image orientation and load up libv4l for Cheese or Skype.
#!/bin/bash  
export LIBV4LCONTROL_FLAGS=2 
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/cheese
2 flips the image horizontally and 3 flips both vertically and horizontally.

No comments: