In a video TS packet separator, a video TS packet VTSP is extracted from a
TS (transport stream). In a PES packet analyzer through a TS packet
generator, the video TS packet is decoded, re-encodes at a predetermined
bit rate, TS-packetized and supplied to a switch input terminal. The
switch input terminal is also supplied with non-video TS packets UVTSP
from a TS packet buffer. A controller is provided to control the TS
packet generator and switch based on timing information and PCR from a TS
packet timing manager. Thus, codes in the TS can be converted.