当前位置:网站首页>Entering the world of audio and video -- flv video packaging format
Entering the world of audio and video -- flv video packaging format
2022-07-28 14:06:00 【Xu Fuji 456】
FLV Its full name is Flash Video, Is a streaming video format . It's characterized by its small size 、 Simple packaging 、 Convenient storage and transmission . common http-flv Streaming live broadcast is to use flv Format ,rtmp Streaming is also supported by default flv Format .FLV and RTMP All are adobe company-developed .
1、FLV The overall structure
FLV By Header and Body form . among Body By a series of Tag constitute , Include Video、Audio、Script etc. . As shown in the figure below :

2、FLV Of Header structure
FLV Of Header Include : Signature 、 Version number 、 Keep field 、 Audio flag、 video flag、 File header size . among , The default file header size is 9 byte . It should be noted that ,bit And byte Unit conversion . As shown in the following table :

3、Tag Of Header structure
Tag Of Header Include : type 、 size 、 Time stamp 、 Extended timestamp 、 flow id, As shown in the following table :

4、FLV In the video Tag
FLV In the video Tag Fields including : The frame type 、 The encoding type 、 video payload data . among , Frame type and coding type account for 4 position . As shown in the following table :

5、FLV The audio of Tag
FLV The audio of Tag Fields including : Audio format 、 Sampling rate 、 Sampling accuracy 、 Track number 、 Audio payload data . among , Audio format accounts for 4 position , Sampling rate accounting for 2 position , The sampling accuracy and the number of channels account for 1 position . As shown in the following table :

边栏推荐
- 掌握闭包,夯实基本功
- Poj3275 ranking the cows
- Rust from introduction to mastery 01 introduction
- vite在项目中配置路径别名
- DXF reading and writing: align the calculation of the position of the dimension text in the middle and above
- 7.27模拟赛总结
- Qt5 development from introduction to mastery -- the first overview
- 论文研读--Masked Generative Distillation
- Duplicate data in leetcode (442) array
- Product Manager: job responsibility table
猜你喜欢

深度学习基础----GNN谱域和空域 (不断完善更新积累)

The strongest distributed locking tool: redisson

30天刷题计划(三)

Security assurance is based on software life cycle -istio authorization mechanism

什么是自旋锁 自旋锁是指当一个线程尝试获取某个锁时,如果该锁已被其他线程占用,就一直循环检测锁是否被释放,而不是进入线程挂起或睡眠状态。 /** * 为什么用自旋锁:多个线程对同一个变量

安全保障基于软件全生命周期-PSP应用

MySQL开发技巧——视图

算法---不同路径(Kotlin)

How to play a data mining game entry Edition

What is the reason why the words behind word disappear when typing? How to solve it?
随机推荐
创建线程池的四种方式
[lvgl events] Application of events on different components (I)
R language uses LM function to build linear regression model and subset function to specify subset of data set to build regression model (use floor function and length function to select the former pa
Qt5开发从入门到精通——第一篇概述
R language ggplot2 visualization: use ggviolin function of ggpubr package to visualize violin diagram and set draw_ The quantiles parameter adds a specified quantile horizontal line (for example, 50%
Security assurance is based on software life cycle -istio authentication mechanism
The strongest distributed locking tool: redisson
Graph traversal (BFS & DFS basis)
彻底掌握二分查找
【LVGL事件(Events)】事件在不同组件上的应用(一)
Thoroughly master binary search
深度学习基础----GNN谱域和空域 (不断完善更新积累)
Security assurance is based on software life cycle - networkpolicy application
一文读懂如何部署具有外部数据库的高可用 K3s
【翻译】如何为你的私有云选择一个网络网关
Uva11175 digraph D and E from D to e and back
7. Dependency injection
Poj3275 ranking the cows
R language ggplot2 visualization: use the ggviolin function of ggpubr package to visualize violin diagrams, set the palette parameter, and customize the border colors of violin diagrams at different l
Duplicate data in leetcode (442) array