![]() This allows effective seeking and indexing, it typically also allows adding metadata storage ("author", "title") and so on. So rather than getting one file for video and one for audio, you get one file that interleaves packets for both. ![]() For audio, codecs like AAC or Opus are popular.Ī container takes video or audio (or subtitle) packets (compressed or uncompressed) and interleaves them for combined storage in a single output file. At that resolution, you can get pretty quality at a few megabit/sec (mbps) for modern codecs, like H264, HEVC or VP9. For 60fps, this is 180MB/sec, or 1.44 gigabit/sec (gbps). Imagine a 1080p video frame, which is typically in YUV format with 4:2:0 chroma subsampling. H264, for example, will compress raw video. ![]() In fact, it ignored containers altogether.Ī codec is a method of compressing a media type. The most fundamental mistake in this example is that it doesn't teach you the difference between codecs and containers. The reason this comes up again and again is because you're using encoding_example.c as your reference. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |