Intra Refresh Frame Size

Issue #443 new
Mohamed Hegazy created an issue

Hi,

I am using intra-refresh in order to avoid bit spikes of I-frames. However at each key-int (period of the intra-refresh) I notice that the frame size is an order of magnitude larger than the other frames. While decoding using HM decoder, the frame is decoded as a P-slice, however I suspect that, given its size, it might be an I-frame.

The configuration I use is as follows:

qp=22
aq-mode=1
ip-factor=2^(1/12)
key-int=90
intra-refresh=1
fps=30
ref=1
me=dia
merange=16
bframes=0
sar=1

An example of the issue:

frame:80 4496
frame:81 1656
frame:82 1400
frame:83 1672
frame:84 3864
frame:85 2168
frame:86 1648
frame:87 3384
frame:88 1016
frame:89 560
frame:90 25656
frame:91 2520
frame:92 3128
frame:93 2208
frame:94 2280
frame:95 2072
frame:96 2392
frame:97 2312
frame:98 1672
frame:99 1856
frame:100 1776

The number on the right is the frame size in bits.

I changed the x265 interface in order to be able to use adaptive quantization mode with CQP so that I can send QPs as an offset from 22. I also make sure that the QPs I send change smoothly between frames, so the issue is not from the QPs that I send.

Comments (0)

  1. Log in to comment