1.4 Coding structure parameters
编码结构参数
(这一部分好多内容对我来说都是新的。虽然参数不多,但也花了我不少时间。所以我还是得多看书多看博客多学习。我是废物.jpg TvT~)
IntraPeriod
- 默认值为 -1
指定I帧出现的周期(period)(即多少帧中有一帧 I 帧)。-1表示周期为无穷大,即只有第一帧是 I 帧
I帧 (intra period):帧内编码帧与 IDR(Instantaneous Decoding Refresh 即时解码刷新) 帧
P帧 (predictive-frame)向前预测编码帧
B帧 (bi-directional interpolatedprediction frame):双向预测内插编码帧
参考这篇博客,讲 I 帧、B帧、P帧、开闭GOP、CRA(后面两个在接下来的这个参数中会涉及到。)
DecodingRefreshType
- 默认值为0
指定应用于 I 帧图片的解码刷新类型
0:作为 I 帧,不使用随机接入点(random access point RAP)
1:作为 CRA(Clean Random Access) 帧内接入点(相当于 open GOP)
2:作为 IDR 帧内接入点(相当于 close GOP)
3:用恢复(recovery point)点 SEI 消息来指定随机接入(random access)
关于 RAP 随机接入点,可参考这篇博客
GOPSize
- 默认值为 1
指定循环(cyclic) GOP 结构的大小(每个 GOP 的图片数量)
ReWriteParamSetsFlag
- 默认值为1
当启用时, VPS SPS 和 PPS 将在每个 IRAP 帧前重复一次。(换句话说,就是在每个 IRAP 帧前都会加上 VPS SPS 和 PPS 帧)
VPS: Video Parameter Set 视频参数集,H.265 新增
SPS: Sequence Parameter Set 序列参数集
PPS: Picture Parameter Set 图片参数集
FrameN
多个用于定义在序列中将被重复使用的循环 GOP 结构的选项。表格中需要包括 GOPSize 元素。
详见 3.1 部分(接下去就翻译这个,参数表的翻译暂定一会。)