http://nico-lab.net/oscilloscope_with_ffmpeg/