PURPOSE: An apparatus for formatting an MPEG-2 TS file using the layered encoding of H.264 SVC data and a method thereof are provided to adaptively and selectively extract H.264 SVC data using a received MPEG-2 TS file. CONSTITUTION: A layer separating unit(104) arranges layers of H.264 SVC data. The layer separating unit sets DTQ values according to each layer. The layer separating unit divides the layers of H.264 SVC data based on the DTQ values. A PES(Packetized Elementary Stream) packet generating unit(106) inputs the H.264 SVC data to generate PES packets. A TS packet generating unit(108) inputs the PES packets to generate MPEG-2 TS packets.
展开▼