You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
300 B

#!/bin/sh
brightness=0.07
saturation=1.8
if [ $# -eq 2 ]; then
brightness=$1
saturation=$2
fi
echo "brightness = $brightness"
echo "saturation = $saturation"
ffplay -loglevel error -f v4l2 -input_format mjpeg -vf eq=brightness=$brightness:saturation=$saturation -video_size 640x480 /dev/video1