A Software-based High-Quality MPEG-2 Encoder Employing Scene Change Detection and Adaptive Quantization