A typical method of transmitting elementary stream data from a video or audio encoder is to first create PES packets from the elementary stream data and then to encapsulate these PES packets inside Transport Stream (TS) packets or Program Stream (PS) packets.
One typical way of sending basic data from video or audio encoders is by first forming PES packets from the elementary stream data, which are then inserted into either Transport Stream (TS) packets or Program Stream (PS) packets.