当前位置:网站首页>RTMP supports h265 streaming
RTMP supports h265 streaming
2022-07-29 09:28:00 【Ternence_ Hsu】
Implementation reference
- Jin Shan Yun :https://github.com/CDN-Union/Code/tree/master/flv265-Kingsoft
- patch Reference resources :https://github.com/CDN-Union/Code/blob/master/flv265-Kingsoft/flv265patch_from_kingsoft.7z
in the light of 《video_file_format_spec_v10_1》 VIDEODATA Some extensions are as follows :
VIDEODATA
The VideoTagHeader contains video-specific metadata.
VideoTagHeader
| Field | Type | Comment |
|---|---|---|
| Frame Type | UB [4] | Frame Type Type of video frame. The following values are defined: 1 = key frame (for AVC and HEVC, a seekable frame) 2 = inter frame (for AVC and HEVC, a non-seekable frame) 3 = disposable inter frame (H.263 only) 4 = generated key frame (reserved for server use only) 5 = video info/command frame |
| CodecID | UB [4] | Codec Identifier. The following values are defined: 2 = Sorenson H.263 3 = Screen video 4 = On2 VP6 5 = On2 VP6 with alpha channel 6 = Screen video version 2 7 = AVC 12=HEVC |
| HVCPacketType | IF CodecID == 12 UI8 | The following values are defined: 0 = HEVC sequence header 1 = HEVC NALU 2 = HEVC end of sequence (lower level NALU sequence ender is not required or supported |
| CompositionTime | IF CodecID==7 OR CodecID == 12 SI24 | IF AVCPacketType == 1 OR HVCPacketType == 1 Composition time offset ELSE 0 See ISO 14496-12, 8.15.3 for an explanation of composition times. The offset in an FLV file is always in milliseconds. |
| VideoTagBody | IF FrameType == 5 UI8 ELSE ( IF CodecID == 2 H263VIDEOPACKET IF CodecID == 3 SCREENVIDEOPACKET IF CodecID == 4 VP6FLVVIDEOPACKET IF CodecID == 5 VP6FLVALPHAVIDEOPACKET IF CodecID == 6 SCREENV2VIDEOPACKET IF CodecID == 7 AVCVIDEOPACKET IF CodecID == 12 HVCVIDEOPACKET ) | Video frame payload or frame info If FrameType == 5, instead of a video payload, the Video Data Body contains a UI8 with the following meaning: 0 = Start of client-side seeking video frame sequence 1 = End of client-side seeking video frame sequence For all but AVCVIDEOPACKET or HVCVIDEOPACKET, see the SWF File Format Specification for details |
边栏推荐
- Emmet syntax
- PyQt5快速开发与实战 6.4 QBoxLayout(框布局)
- What kind of framework is friendly to developers?
- 23考研人撑住!考研第一波弃考高峰期已经到来!
- STM32 application development practice tutorial: getting to know STM32 for the first time
- 基于ArkUI eTS开发的坚果新闻(NutNews)
- MySQL converts some table names to uppercase
- Pyqt5 rapid development and practice 6.5 qgridlayout (grid layout)
- redis可视化工具读取数据乱码问题解决
- 201803-3 CCF URL映射 满分题解
猜你喜欢

Discussion on the integration of storage and calculation and the calculation in storage

当 update 修改数据与原数据相同时会被更新吗?

高智伟:数据管理赋能交通行业数字化转型

分布式Session共享的4类技术方案,与优劣势比较

《UnityShader入门精要》总结(2):初级篇

Use cpolar to publish raspberry pie web pages (improvement of cpolar function)

查看端口占用情况
![[unity entry program] C # and unity - understand classes and objects](/img/bd/13cc90638c6e6ad4a45507b0ed2fb7.png)
[unity entry program] C # and unity - understand classes and objects

First order traversal / second order traversal determines the approximate shape of the tree

Evaluation index of machine learning classification model and implementation of sklearn code
随机推荐
Summary of introduction to unityshader (2): Beginner Level
Pyqt5 rapid development and practice 6.5 qgridlayout (grid layout)
OpenCV入门基础学习
[machine learning] logistic regression code exercise
Gao Zhiwei: data management enables the digital transformation of the transportation industry
How to contribute to openharmony
Floweable advanced
附录2-一些简单的练习
NFA determination and DFA minimization based on C language
高智伟:数据管理赋能交通行业数字化转型
Explanation of trie tree (dictionary tree)
Unity Xchart3.0基本用法快速上手
WebAssembly 2022 问卷调查结果新鲜出炉
Unity xchart3.0 basic usage quick start
Trie树(字典树)讲解
Unity3d learning notes (I)
Emmet syntax
Visual Studio
redis可视化工具读取数据乱码问题解决
File upload and expansion