if avconv gives unexpected output, just return -1