commit | 08654f9d7157f6d6ca0928cb438bbbed53fb0fd1 | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Fri Sep 14 10:36:53 2012 -0700 |
committer | James Dong <jdong@google.com> | Fri Sep 14 10:36:53 2012 -0700 |
tree | 1f1776783eb72604cdffe5eb1728de132433fa67 | |
parent | 2637cb172105939052d8a02f4eea693a90549518 [diff] |
Make a small correction in terms of GOP structure in the recorded video When we have a 30 fps frame rate, and one second key-frame or I-frame interval, we really would like to have for each second, 29 P-frames + 1 I-frame. Thus, we should calculate the number of P frames so that it is equal to frame_rate * I_frame_interval - 1 Change-Id: I5b9be6e4c101e7a6b718015aa4041496961c0f19