In a combined audio and video encoding system, the encoding system
receiving a stream of video samples and a stream of audio samples, the
encoding system producing an encoded video stream from the video samples
and an encoded audio stream from the audio samples, a method for
synchronizing between the encoded video stream and the encoded audio
stream, the method including the steps of monitoring the encoded video
stream and the encoded audio stream, detecting the amount of video data
accumulated from the encoded video stream in a given time period,
detecting the amount of audio data accumulated from the encoded audio
stream in a given time period, increasing the number of audio samples in
the audio stream, when the accumulated amount of video data is greater
than the accumulated amount of audio data and decreasing the number of
audio samples in the audio stream, when the accumulated amount of audio
data is greater than the accumulated amount of video data.
In einem kombinierten Audio und in einem video kodierensystem, im kodierensystem, das einen Strom der videoproben und einen Strom der Audioproben empfangen, im kodierensystem, einen kodierten videostrom aus den Bildschirmproben und einen kodierten Audiostrom produzierend von den Audioproben, in einer Methode für das Synchronisieren zwischen dem kodierten videostrom und dem kodierten Audiostrom, der Methode einschließlich die Schritte der Überwachung des kodierten videostromes und des kodierten Audiostromes, die Menge von Videodaten ermittelnd angesammelt aus dem kodierten videostrom in einem gegebenen Zeitabschnitt und ermitteln die Menge von Audiodaten angesammelt aus dem kodierten Audiostrom in einem gegebenen Zeitabschnitt und erhöhen die Zahl von Audio Proben im Audiostrom, wenn die angesammelte Menge von Videodaten grösser als die angesammelte Menge von Audiodaten und von Verringern der Zahl Audioproben im Audiostrom ist, wenn die angesammelte Menge von Audiodaten grösser als die angesammelte Menge von Videodaten ist.