Video Codec With Adaptive Frame Rate Control For Intelligent Transportation System Applications