diff --git a/vp8_multi_resolution_encoder.c b/vp8_multi_resolution_encoder.c index eae36a4da..4c29056e5 100644 --- a/vp8_multi_resolution_encoder.c +++ b/vp8_multi_resolution_encoder.c @@ -216,7 +216,7 @@ int main(int argc, char **argv) * If target bitrate for highest-resolution level is set to 0, * (i.e. target_bitrate[0]=0), we skip encoding at that level. */ - unsigned int target_bitrate[NUM_ENCODERS]={1400, 500, 100}; + unsigned int target_bitrate[NUM_ENCODERS]={1000, 500, 100}; /* Enter the frame rate of the input video */ int framerate = 30; /* Set down-sampling factor for each resolution level. @@ -351,27 +351,26 @@ int main(int argc, char **argv) if(vpx_codec_control(&codec[i], VP8E_SET_CPUUSED, speed)) die_codec(&codec[i], "Failed to set cpu_used"); } - /* Set static thresh for highest-resolution encoder. Set it to 1000 for - * better performance. */ + + /* Set static threshold. */ + for ( i=0; i