Status: Available
Owner: ----
CC:
angi...@google.com,
jing...@google.com, jz...@
google.com Labels: Type-Bug Pri-2
New issue 1829 by
w...@google.com: The encoder config option kf_max_dist is off by one
https://bugs.chromium.org/p/webm/issues/detail?id=1829In vpx/vpx_encoder.h, the kf_max_dist encoder option is documented as follows:
/*!\brief Keyframe maximum interval
*
* This value, expressed as a number of frames, forces the encoder to code
* a keyframe if one has not been coded in the last kf_max_dist frames.
* A value of 0 implies all frames will be keyframes. Set kf_min_dist
* equal to kf_max_dist for a fixed interval.
*/
unsigned int kf_max_dist;
According to this comment, if I want the encoder to code a keyframe after 5 consecutive non-keyframes, I should set kf_max_dist to 5.
But setting kf_max_dist to 5 results in the following encoded frame pattern:
I1234I1234I1234I
where
I: keyframe
digit: non-keyframe
So the behavior differs from the comment by one.
This also means setting kf_max_dist to 0 and 1 are equivalent; both results in an all-intra output.
I think it is the libvpx version of the libaom bug
https://crbug.com/aomedia/3069, which Angie fixed.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings