提交 c5667a9e 编写于 作者: J jp9000

Log x264 settings

上级 29563861
......@@ -254,6 +254,17 @@ static void update_params(struct obs_x264 *obsx264, obs_data_t settings,
obsx264->params.p_log_private = obsx264;
obsx264->params.i_log_level = X264_LOG_WARNING;
info("settings:\n"
"\tbitrate: %d\n"
"\tbuffer size: %d\n"
"\tfps_num: %d\n"
"\tfps_den: %d\n"
"\tkeyint: %d\n"
"\tcbr: %s",
bitrate, buffer_size, voi->fps_num, voi->fps_den,
obsx264->params.i_keyint_max,
cbr ? "on" : "off");
/* use the new filler method for CBR to allow real-time adjusting of
* the bitrate */
if (cbr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册