HermanChen / mpp

Rockchip MPP(Media Process Platfrom)
172 stars 72 forks source link

Using smart GOP #20

Closed jpiat closed 3 years ago

jpiat commented 3 years ago

HI,

i'm trying to enable smart GOP but cannot find how to do so. It seems that setting the gop_mode to 4 should enable this feature but then what should be the values of gop_len and vi_len ? Where is this feature documented ?

Thanks

HermanChen commented 3 years ago

The smart GOP is a kind of reference frame hierachy config. gop_len defined the frame number between two IDR frame. vi_len defined frame number between two longterm reference frame the VI frame is a inter frame and reference to previous long-term reference frame. gop_len is better to be multiple of vi_len and vi_len is better to be multiple of fps.