An analytical framework for the design of intelligent algorithms for adaptive-rate MPEG video encoding in next generation time-varying wireless networks