added MPEG-2 encoder in RD-curve tool