test quantization of video codec