当前位置:网站首页>[book club issue 13] packaging format of video files
[book club issue 13] packaging format of video files
2022-07-04 03:57:00 【Hua Weiyun】
FFmpeg Video packaging format
FFmpeg Supports many encapsulation formats , Include MP4、FL.V、 MKV、 TS And other video packaging formats 、MP3、 MC And other audio packaging formats RTMP、 RTSP、 HILS And so on network protocol encapsulation format .
And we focus on learning MP4 Video encapsulation format .
MP4 Package format
MP4 Basically, the encapsulation format can be considered as the most common video file format in daily life and work , Mainly because of its wide applicability , Not only in PC End (windows、 mac、 linux) Very good support , And on the mobile side (Android、 i0S) It can also be played smoothly .
MP4 Format standard
MP4 Format standard is ISO- 14496 Part 12 and ISO- 14496 Part 14, The specific features are as follows :
- MP4 The document consists of many Box and FullBox.
- FullBox yes Box An extension of , stay lleader Added in 8 position version Information and 24 Bit flags Information .
- Every Box from Header and Data Two parts .
- Header It contains the whole Box The length of the size of (size) And type (type) .
- Data It contains actual data , It could be pure data , It can also be a son Box. When Box Medium Data Is a series of sub Box when , This Box Also known as Container ( Containers ).

MP4 ftyp Box
ftyp Box, - Generally located at the beginning of the file , Which includes MP4 Types of video files 、 edition 、 Compatibility agreement
Discussion and other information .
MP4 moov Containers
moov The container contains MP4 Media data information of video file , There are two sub containers inside : mvhd and
trak, The former defines the file header information , The latter defines... In the media file track Information .
Moov Containers are generally generated in by default MP4 End of file , When playing online, you need to load a complete file to open it normally , In order to quickly open the video , Need to put moov Put the container in MP4 In front of the file .
MP4 mdat Box
mdat Box, Used to store the actual data content of media files .
summary :
The second day of study mainly explained the packaging format of video files , With the most common MP4 The format of video file describes the specific standard of format in detail , It can be said that I have re understood the most common format in life , Originally, it was packaged like this .
边栏推荐
- How to pipe several commands in Go?
- 函数计算异步任务能力介绍 - 任务触发去重
- functools下的reduce函数
- Add token validation in swagger
- JDBC 进阶
- Apple submitted the new MAC model to the regulatory database before the spring conference
- Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure
- Typical applications of minimum spanning tree
- Katalon framework test web (XXVI) automatic email
- Learning video website
猜你喜欢

JVM family -- heap analysis

Summary of Chinese remainder theorem

Rhcsa day 2

SQL語句加强練習(MySQL8.0為例)

Wechat official account web page authorization

functools下的reduce函数

Introduction to asynchronous task capability of function calculation - task trigger de duplication

三年进账35.31亿,这个江西老表要IPO了

1289_FreeRTOS中vTaskSuspend()接口实现分析

Select sorting and bubble sorting template
随机推荐
Formulaire day05
新型数据中心,助力加快构建以数据为关键要素的数字经济
Objective C attribute keyword
Class summation, shortest row
Typical applications of minimum spanning tree
SQL语句加强练习(MySQL8.0为例)
深度优先搜索简要讲解(附带基础题)
Development of digital collection trading platform development of digital collection platform
Unity移动端游戏性能优化简谱之 画面表现与GPU压力的权衡
函数计算异步任务能力介绍 - 任务触发去重
Exercices de renforcement des déclarations SQL (MySQL 8.0 par exemple)
Sales management system of lightweight enterprises based on PHP
Database SQL statement summary, continuous update
JDBC advanced
Solve the problems encountered by the laravel framework using mongodb
Handler source code analysis
MySQL is dirty
Reduce function under functools
[database I] database overview, common commands, view the table structure of 'demo data', simple query, condition query, sorting data, data processing function (single row processing function), groupi
XSS prevention
