Bit stream relocating/reconstructing method and data compression/decompression system therefor for digital video tape recorder

When the code amount of the bit stream generating a macro block as a result of variable-length coding included in the segment exceeds acceptable yongryangreul of the segment, to preserve as much as possible the excess bit amount in the range for maintaining compatibility with the conventional SD-VCR It is improved to ensure the playback picture quality bitstream placement / restoration method, and hence a suitable data compression device and the decompression device is provided. Alignment of the bit stream according to the present invention within the DCT block to place the bit-stream of each DCT block generated as a result of quantizing and variable-field codes the DCT data for each DCT block in a DCT block within the macro block arrangement process; MBs within the relocation process of relocating the remaining bit amount in a batch process, the DCT block to another DCT block within the macro block; Said macroblock rearranging the remaining bit amount in the relocation process between the macro block in the segment segment disposed within the process; And it characterized in that it comprises an inter-segment relocation process of relocating to another segment having the macro block of the same information, the remaining bit amount in the relocation process in the segment and the previous or subsequent frame. In occurs when the amount of the remaining bits in units of segments in alignment of the bit stream in accordance with the present invention by writing to spread to the neighboring segments it has an effect of preventing deterioration of the reproduced picture quality.