Method for multiplexing, in MPEG stream processor, packets of several input MPEG streams into one output transport stream with simultaneous correction of time stamps
First Claim
1. A method for multiplexing, in MPEG stream processor, packets of input MPEG streams into one output transport stream with simultaneous correction of time stamps, where input streams of MPEG data are supplied with defined time stamps of their packets and at the same time packets of MPEG input streams are multiplexed and their time stamps are corrected in such a way that their set time stamps are removed and replaced with the values of time stamps calculated according to the algorithm, which detects and corrects the detected synchronization errors and next, packets with so corrected time stamps are appended suitably to the output MPEG stream, characterized in that:
- a. packets of every input MPEG stream are transmitted from stream buffers to appropriate packet buffers, together with information about time relations between the neighboring packets of a given input MPEG stream and afterwards, b. the packets of input MPEG streams are retrieved from the mentioned packet buffers to packet processing unit by means of a multiplexer i. and in the packet processing unit, the time relations between the neighboring packets of input streams are checked and the time relations are also checked for the state of the clock of a given output stream, the time of sending the last packet from a given packet buffer and the allowed time offset of packets in the output stream and based on them the time stamps contained in them are corrected according to the value of the clock of the output MPEG stream c. and next appropriately selected packets are appended to the output MPEG stream.
2 Assignments
0 Petitions
Accused Products
Abstract
According to the invention, input MPEG data packets are delivered to appropriate stream buffers from asynchronous program sources. The MPEG data packets have different transmission speeds with defined time stamps of their packets, while the packets of input MPEG streams are multiplexed and have their time stamps corrected in such a way that their assigned time stamps are deleted and replaced by values of time markers calculated according to the algorithm detecting and correcting the detected synchronization errors, after which the packets with so corrected time stamps are appended appropriately to the output MPEG stream. The essence of the invention is based in that packets of each input MPEG stream are transferred from stream buffers to appropriate packet buffers together with information about the time ratios between the neighboring packets of a given MPEG input stream. After that, input packets of MPEG streams are retrieved from the mentioned packet buffers by means of a multiplexer to the packet converter. In the packet converter there is a check of the time ratios between the neighboring packets of input streams, the state of the clock of a given output stream, the time of sending the last packet from the given packet buffer and the allowed time offset of packets in the output stream and on their basis the time markers, included in them, are corrected according to the value of the clock of MPEG output stream. Next, selected packets are appended adequately to the MPEG output stream.
-
Citations
9 Claims
-
1. A method for multiplexing, in MPEG stream processor, packets of input MPEG streams into one output transport stream with simultaneous correction of time stamps, where input streams of MPEG data are supplied with defined time stamps of their packets and at the same time packets of MPEG input streams are multiplexed and their time stamps are corrected in such a way that their set time stamps are removed and replaced with the values of time stamps calculated according to the algorithm, which detects and corrects the detected synchronization errors and next, packets with so corrected time stamps are appended suitably to the output MPEG stream, characterized in that:
-
a. packets of every input MPEG stream are transmitted from stream buffers to appropriate packet buffers, together with information about time relations between the neighboring packets of a given input MPEG stream and afterwards, b. the packets of input MPEG streams are retrieved from the mentioned packet buffers to packet processing unit by means of a multiplexer i. and in the packet processing unit, the time relations between the neighboring packets of input streams are checked and the time relations are also checked for the state of the clock of a given output stream, the time of sending the last packet from a given packet buffer and the allowed time offset of packets in the output stream and based on them the time stamps contained in them are corrected according to the value of the clock of the output MPEG stream c. and next appropriately selected packets are appended to the output MPEG stream. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification