Implemented x265 detection. Also improved x264 and Avs2YUV verification.