|
|
Subscribe / Log in / New account

Improving .deb

Improving .deb

Posted May 28, 2019 19:53 UTC (Tue) by mbunkus (subscriber, #87248)
In reply to: Improving .deb by ncm
Parent article: Improving .deb

It's actually called Matroska, but even though it's not a joke, it isn't any better at being a container for files either. It avoids a lot of pitfalls of the Ogg container and contains a lot more features, but it's still designed for storing audio/video/subtitle streams suitable for synchronized playback.

The fundamental difference between A/V containers & file containers is how multiple streams/tracks/files are laid out. In a file container all files are laid out one after the other. Accessing the content of one file is ideally as seeking to its start position and doing one long read operation.

In an A/V container, on the other hand, you place those parts of each stream/track close together that need to be played together. All of the data is tightly interleaved by their timestamps. This is done in order not to have to seek forward and backward all the time, which is especially atrocious for transports with high latency (e.g. optical discs or online streaming). In the Good Old Days™ there were a lot of AVI files (and I even have a couple of MP4 files) where track content was laid out like in a file container (first all the video data, then all the audio data), and playing such a file from a CD-ROM was neigh impossible.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds