Skip to content

Instantly share code, notes, and snippets.

@amed
Created August 11, 2017 08:27
Show Gist options
  • Save amed/af786e59fa1aeb1cba408bf7da3a1fea to your computer and use it in GitHub Desktop.
Save amed/af786e59fa1aeb1cba408bf7da3a1fea to your computer and use it in GitHub Desktop.
ffmpeg Ubuntu
ffplay -f video4linux2 -video_size 640x480 -i /dev/video0 -vf "fade=in:0:20=out:400:40:alpha=1"
ffplay -f video4linux2 -video_size 640x480 -i /dev/video0 -vf "[0:v]eq=contrast=1:brightness=0:saturation=1:gamma=1"
========================= Working
ffplay -f video4linux2 -video_size 640x480 -i /dev/video0 -vf "eq=contrast=1.5:brightness=-0.05:saturation=0.75"
==============================
mplayer -fs tv:// -tv driver=v4l2:device=/dev/video0 -vf "eq=contrast=1.5:brightness=-0.05:saturation=0.75" -xineramascreen 1
mplayer -fs tv:// -tv driver=v4l2:device=/dev/video0 -vf hue=-160 -xineramascreen 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment