The sum
Total bitrate is the size limit divided by the length. Take off the audio, and what is left is the budget for the picture. For 25 MB over two minutes: 25 × 8,000 ÷ 120 = 1,667 kilobits a second in total, less 128 for sound, leaves about 1,500 for video.