What Is Interleaving?
In computers, interleaving is a method of writing and reading data out of sequence. Data interleaving is used to combine multiple digital data streams, like in files that contain both audio and video. This technique is also used for memory interleave in disk storage and computer memory, used to make data read and write more quickly. A de-interleaver uses mapping to decipher the interleaved data; it is more or less a diagram of the interleaved pattern that the computer uses to decipher the data. In media files, interleaving allows a player to quickly read audio and video data. This gives the user a single file that contains both audio and video that a properly configured media player can read and play. Reading interleaved media files often requires a codec to play the interleaved file. A codec is a software plug-in that tells a player how to read an interleaved media file. The most common interleaved media file type is Audio Video Interleave, more commonly known as AVI.