摘要 |
In general, this disclosure describes techniques of compensating for differences between a clock associated with an input stream of media data and a clock associated with an output stream of media data. Due to drift between a clock that governs the rate at which a transcoder receives media data units ("MDUs") and a clock that governs the rate at which the transcoder outputs MDUs, the transcoder may receive MDUs at a rate that is faster or slower than a rate at which the transcoder outputs the MDUs. The transcoder compensates for such differences by identifying sets of received MDUs that account for a time equal to an output period minus a correction magnitude, modifying the identified sets of MDUs such that the sets of MDUs account for a time equal to the output period, and outputting the modified sets of MDUs as part of the output stream. |