0FFmpeg ЛоготипUltimate Руководство Кодек

How data is stored in a multimedia file

Files on a computer (или на оптическом диске, как DVD или BluRay) need to contain more than 1 Тип данных,. A typical movie will include at least 1 видео "поток" и один аудио "поток". Most movies include multiple languages and subtitles, each of which requires an additional stream. Each of these streams is effectively a file in its own right, but they are all stored together within a “container” which also starts each of them at the right time (subtitles don’t start immediately at the start of a movie for example) and keeps them in sync as well as storing meta-data about each of them – i.e. what language they are, what framerate and resolution the video is, and what compression standards have been used.

Видео потоки

Video streams contain only the video part of the movie. They are compressed using a particular system and there should be meta-data about their resolution, частота кадров, if they are interlaced or progressive and details of the encoding system used.

Звуковые потоки

Audio streams contain only the audio part of the movie. There are usually multiple audio streams included with the movie and each has its own stream. They can be compressed in a range of ways or in some cases they are uncompressed raw audio. Там должно быть мета-данные об их битрейт, разрешение, language, number of channels and details of the encoding system used.

Другие потоки (например. Скрытые титры)

Many movies contain other streams, most commonly closed captions (also known as subtitles). These come in several formats, but are typically just text with time stamps. They are so small relatively that no compression is used. There should be meta-data about their language.

Containers which bundle all the streams together

All of the streams that comprise the movie are bundled together and kept in sync by a container. The container should contain (и обеспечить) все мета-данные о каждом потоке. The container also enables the collection of streams to be stored as a single file. The most common container formats are VOB (используется DVD) и M2TS (используется Blu-Ray). Other common container formats on PC are TS, MPEG, AVI, MKV, WMV, WTV, DVR-Миссисипи и MP4. The obsolete HD-DVD формат, используемый EVO контейнеры.

Как вы думаете? Оставьте нам комментарий ниже! Если вы хотите подписаться, пожалуйста, используйте ссылку подписываться на меню в верхнем правом углу. Вы также можете поделиться этим со своими друзьями с помощью социальных связей ниже. ура.

Вам также могут понравиться ...

оставьте ответ