Content-aware optimization on rate-distortion and network traffic for scalable video multicast networks