thanks for your answer,
the first link was great. didnt' read that before.
CQP is for a constant quality seting over qp, works fine, but not usable here.
ABR is average bitrate?
so i have to set:
param.rc.i_rc_method = X264_RC_ABR;but when i do this, i simply get a stream of near 25Mbit/s (1080@25p).
param.rc.i_vbv_max_bitrate = bitrate;
param.rc.i_vbv_buffer_size = bitrate / framerate;
changing bitrate to other values, tried everything between 2000 and 200000 with no effect.
am i right with param.rc.f_qcompress = 0.01? is this the tolerance for vbv_buffer size?