当前位置:网站首页>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 :

边栏推荐
- 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
- URL related knowledge points
- The domestic API management tool eolink is very easy to use, creating an efficient research and development tool
- Socket类关于TCP字符流编程的理解学习
- 走进音视频的世界——FLV视频封装格式
- Vite configuring path aliases in the project
- 30天刷题计划(四)
- What is the reason why the words behind word disappear when typing? How to solve it?
- 修订版 | 目标检测:速度和准确性比较(Faster R-CNN,R-FCN,SSD,FPN,RetinaNet和YOLOv3)...
- Uva1599 ideal path problem solution
猜你喜欢

Understanding of "image denoising using an improved generic advantageous network with Wasserstein distance"

30 day question brushing training (I)

Istio IV fault injection and link tracking

Chapter 6 support vector machine

Algorithm --- different paths (kotlin)

多线程与高并发(三)—— 源码解析 AQS 原理

多级缓存方案

DXF reading and writing: align the calculation of the position of the dimension text in the middle and above

No swagger, what do I use?
![[security] read rfc6749 and understand the authorization code mode under oauth2.0](/img/dc/e6d8626195b2e09a6c06050a9b552e.jpg)
[security] read rfc6749 and understand the authorization code mode under oauth2.0
随机推荐
Security assurance is based on software life cycle -istio authorization mechanism
了解虚拟列表背后原理,轻松实现虚拟列表
一文读懂如何部署具有外部数据库的高可用 K3s
阿里、京东、抖音:把云推向产业心脏
安全保障基于软件全生命周期-Istio的认证机制
Do you really know esmodule
The strongest distributed locking tool: redisson
Algorithm --- different paths (kotlin)
浅谈WebSocket
What is the reason why the words behind word disappear when typing? How to solve it?
Istio四之故障注入和链路追踪
了解BFC特性,轻松实现自适应布局
R语言ggplot2可视化:使用ggpubr包的ggviolin函数可视化小提琴图、设置draw_quantiles参数添加指定分位数横线(例如,50%分位数、中位数)
DXF reading and writing: Chinese description of dimension style group codes
R语言因子数据的表格和列联表(交叉表)生成:使用summay函数分析列表查看卡方检验结果判断两个因子变量是否独立(使用卡方检验验证独立性)
How to play a data mining game entry Edition
Understand the principle behind the virtual list, and easily realize the virtual list
Deploy application delivery services in kubernetes (Part 1)
Several efficient APIs commonly used in inventory operation URL
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%