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

边栏推荐
- 30天刷题计划(三)
- [security] read rfc6749 and understand the authorization code mode under oauth2.0
- 在 Kubernetes 中部署应用交付服务(第 1 部分)
- Generation of tables and contingency tables (cross tables) of R language factor data: use the summary function to analyze the list, view the chi square test results, and judge whether the two factor v
- 线程阻塞的三种情况。
- 最强分布式锁工具:Redisson
- 记一次COOKIE的伪造登录
- Several solutions to spanning
- Custom Configuration Sections
- SLAM论文合集
猜你喜欢

对“Image Denoising Using an Improved Generative Adversarial Network with Wasserstein Distance“的理解

30天刷题训练(一)

Algorithm --- different paths (kotlin)

Operator3 - design an operator

论文研读--Masked Generative Distillation

第六章 支持向量机

【飞控开发基础教程7】疯壳·开源编队无人机-SPI(气压计数据获取)

Clickhouse架构与设计

30天刷题计划(二)

Security assurance is based on software life cycle -istio authorization mechanism
随机推荐
Graph traversal (BFS & DFS basis)
牛客多校-Link with Level Edito I-(线性dp)
Security assurance is based on software life cycle -istio authorization mechanism
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%
30天刷题计划(二)
Chapter 6 support vector machine
Poj3268 shortest path solution
7. Dependency injection
Uva11175 digraph D and E from D to e and back
Poj1860 currency exchange solution
SLAM论文合集
jenkins
Thoroughly master binary search
[lvgl events] Application of events on different components (I)
Understand BFC features and easily realize adaptive layout
Custom Configuration Sections
Deploy application delivery services in kubernetes (Part 1)
URL related knowledge points
Poj3275 ranking the cows
Tutorial on the principle and application of database system (061) -- MySQL exercise: operation questions 21-31 (V)