Added ffmpeg or avconv detection code.