search for ffmpeg. Fixes #436 improve charreplace. #424