config->g_timebase.num = 1;
config->g_timebase.den = 30;
config->rc_target_bitrate = 256;
config->rc_end_usage = VPX_CBR;
config->g_w = 640;
config->g_h = 480;
config->kf_mode = VPX_KF_AUTO;
config->kf_min_dist = context->config->kf_max_dist = context->config->g_timebase.den * 60; // 1 per min @ 30fps
config->g_error_resilient = 1;
config->g_lag_in_frames = 0;
config->g_pass = VPX_RC_ONE_PASS;
config->rc_min_quantizer = 0;
config->rc_max_quantizer = 47;
config->g_profile = 0;
Hey all,I'm working on a RTC application and I'm attempting to implement VP9 in addition to our existing VP8 implementation.I've rebuild libvpx with VP9 support and changed the encoder and decoder to use vpx_codec_vp9_cx and vpx_codec_vp9_dx respectively.However, using the same parameters as VP8, VP9 takes nearly a second to encode a single frame and has a extremely high CPU utilization (above 90%).I've profiled the application and traced the CPU utilization to rd_pick_partition but I am unsure how to proceed.I imagine one of the existing parameters from VP8 might be causing it but they look sane to me.Below are the config values used. What am I doing wrong?
config->g_timebase.num = 1;
config->g_timebase.den = 30;
config->rc_target_bitrate = 256;
config->rc_end_usage = VPX_CBR;
config->g_w = 640;
config->g_h = 480;
config->kf_mode = VPX_KF_AUTO;
config->kf_min_dist = context->config->kf_max_dist = context->config->g_timebase.den * 60; // 1 per min @ 30fps
config->g_error_resilient = 1;
config->g_lag_in_frames = 0;
config->g_pass = VPX_RC_ONE_PASS;
config->rc_min_quantizer = 0;
config->rc_max_quantizer = 47;
config->g_profile = 0;
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+unsubscribe@webmproject.org.
To post to this group, send email to webm-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
Same problem i'm getting.
Im using...
rc_target_bitrate = 1000
VPX_DL_REALTIME for vpx_codec_encode
and --cpu-used = 8
cpu usage is <40%
--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+unsubscribe@webmproject.org.
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.