Patent ID: 6970472

Claim:
A data processing apparatus comprising: a) input means for inputting data; b) encoding means for compression-encoding the data; c) first packetizing means for receiving from a packet size control means data length information for controlling a length of a first data train and for packetizing the data encoded by said encoding means into the first data train in accordance with the received data length information; and d) second packetizing means for packetizing the first data train generated by said first packetizing means into a second data train, wherein said encoding means compression-encodes the data on a basis of a predetermined data length, and said control means controls the first data train length in accordance with the predetermined encoding data length and the data length information, and wherein said control means controls the first data length to have a value being equal to N (N: integer) times the predetermined encoding data length and near to a value not exceeding L (L: integer) times the data length information.