Text this: Rate-distortion based video compression :