Patent ID: 6449653
Filing Date: 2002-09-10
Classification: H04L

Abstract:
In a computer having a processor and memory, said computer useful in association with a web server coupled to a client computer via a network, a method for producing an interleaved multimedia file from a video file and an audio file, the method comprising:retrieving a first video frame from the video file, said first video frame including a video timestamp, in response to determining a video frame buffer is empty; retrieving a first audio frame from the audio file, said first audio frame including a audio timestamp, in response to determining an audio frame buffer is empty; writing the first video frame to a first packet of the interleaved file in response to determining that the video timestamp is less than or equal to the audio timestamp, retrieving a second video frame from the video file in response to determining that the video timestamp is less than or equal to the audio timestamp, writing the first audio frame to a second packet of the interleaved file in response to determining that the audio timestamp is less than or equal to the video timestamp, and retrieving a second audio frame from the audio file in response to determining that the audio timestamp is less than or equal to the video timestamp; writing a size of a variable packet length field of the first packet of the interleaved multimedia file to a length field of the variable packet length field of the first packet of the interleaved multimedia file; and writing at least one null number into a null field of the variable packet length field of the first packet of the interleaved multimedia file, a number of null numbers written into the null field being selected as a function of a size of the first video frame.