Have vpxenc use a default kf_max_rate of 5 seconds.
authorRalph Giles <giles@mozilla.com>
Thu, 5 Jan 2012 21:05:05 +0000 (15:05 -0600)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 26 Apr 2012 00:11:05 +0000 (17:11 -0700)
commit061a16d96e86a08cff0cda5761b65c3f87dfb0af
tree1f2a794a55dc29a417106c3e63e02c4586e3982a
parent1b27e93cd13ff60798e31634ddb362fa7aa9749d
Have vpxenc use a default kf_max_rate of 5 seconds.

Rather than using the static default maximum keyframe spacing
provided by vpx_codec_enc_config_default() set the default
value to 5 times the frame rate. Five seconds is too long for
live streaming applications, but is a compromise between seek
efficiency and giving the encoder freedom to choose keyframe
locations.

The five second value is from James Zern's suggestion in
http://article.gmane.org/gmane.comp.multimedia.webm.user/2945

Change-Id: Ib7274dc248589c433c06e68ca07232e97f7ce17f
vpxenc.c