Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x264->param.i_csp = X264_CSP_BGRA;
- x264->param.i_log_level = X264_LOG_INFO;
- x264->param.i_threads = 8;
- x264->param.i_width = x264->width;
- x264->param.i_height = x264->height;
- x264->param.i_fps_num = 25;
- x264->param.i_fps_den = 1;
- x264->param.i_keyint_max = 50;
- x264->param.b_intra_refresh = 1;
- x264->param.rc.i_rc_method = X264_RC_CRF;
- x264->param.rc.i_vbv_buffer_size = 400;
- x264->param.rc.i_vbv_max_bitrate = 10000;
- x264->param.rc.f_rf_constant = 25;
- x264->param.rc.f_rf_constant_max = 35;
- x264->param.i_sps_id = 7;
- // the following two value you should keep 1
- x264->param.b_repeat_headers = 1; // to get header before every I-Frame
- x264->param.b_annexb = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement