hi_venc_stream_info
说明
定义码流信息字典。
定义
hi_venc_stream_info = {"ref_type": hi_venc_ref_type, # R;Type of encoded frames in advanced frame skipping reference mode
                       "pic_bytes": pic_bytes, # R;the coded picture stream byte number
                       "pic_cnt": pic_cnt,# R;When channel attributes 'is_by_frame == 1', it means count of frames.
                                              # When channel attributes 'is_by_frame == 0', it means count of packets
                       "start_qp": start_qp, # R;the start Qp of encoded frames
                       "mean_qp": mean_qp, # R;the mean Qp of encoded frames
                       "is_p_skip": is_p_skip,
                       "residual_bits": residual_bits, # R;residual
                       "head_bits": head_bits, # R;head information
                       "madi_val": madi_val, # R;madi
                       "madp_val": madp_val, # R;madp
                       "sse_sum": sse_sum, # R;Sum of MSE value
                       "sse_lcu_cnt": sse_lcu_cnt, # R;Sum of LCU number
                       "psnr_val": psnr_val} # R;PSNR
成员
成员名称  | 
描述  | 
|---|---|
ref_type  | 
整型,高级跳帧参考下的编码帧类型。  | 
pic_bytes  | 
整型,已编码码流的字节数。  | 
pic_cnt  | 
整型,当通道属性is_by_frame == 1时,表示帧数;当is_by_frame == 0时,表示包数。  | 
start_qp  | 
整型,编码帧的起始QP。  | 
mean_qp  | 
整型,编码帧的平均QP。  | 
is_p_skip  | 
整型,是否P帧是skip帧。  | 
residual_bits  | 
整型,编码当前帧残差bit数。  | 
head_bits  | 
整型,编码当前帧头信息bit数。  | 
madi_val  | 
整型,编码当前帧空域纹理复杂度Madi值。  | 
madp_val  | 
整型,编码当前帧时域运动复杂度Madp值。  | 
sse_sum  | 
整型,编码当前帧中SSE(和方差)值。 不同软件中关于和方差的计算公式略有不同,因此和方差值可能存在差异。  | 
sse_lcu_cnt  | 
整型,编码当前帧中LCU个数。  | 
psnr_val  | 
整型,编码当前帧的PSNR(峰值信噪比)值。 不同软件中关于峰值信噪比的计算公式略有不同,因此峰值信噪比值可能存在差异。 
  |