system output format; and an encoder for encoding video data of said video buffer and audio data of said formatting device; said varying device including a counter for counting the first bit allocation amount for the current frame, a reference bit rate device for outputting the second fixed bit allocation amount, a comparator for comparing the first and second bit allocation amounts to obtain the