Try to make a more generic ffmpeg version detector that can work with avconv