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.
A frequent technique for conveying fundamental data in video or audio encoders entails converting elementary stream data into PES packets and subsequently incorporating these PES packets into Transport Stream (TS) packets or Program Stream (PS) packets.