|
摘要:本发明公开一种视频编码中关键帧的插入方法和装置。所述方法包括:采集编码图像数据;计算编码图像数据中的当前帧的评价参数,进而计算当前帧的评价参数的差值和评价参数的差值的累计之和;判断当前帧的评价参数的差值或评价参数的差值的累计之和是否满足预设条件,若是,则将当前帧设为关键帧;若否,则将当前帧设为非关键帧,并返回计算所述编码图像数据中的当前帧的评价参数步骤,直至编码结束。所述装置包括数据采集模块、评价参数计算模块和关键帧设定模块。上述视频编码中关键帧的插入方法和装置,能够节省对于关键帧的评价开销。
|
Abstract: The invention discloses a method and a device for inserting a key frame in video encoding. The method comprises the steps of: collecting encoded image data; calculating evaluation parameters of a current frame in the encoded image data, and then calculating the differences of the evaluation parameters of the current frame and the cumulative sums of the differences of the evaluation parameters; judging that whether the differences of the evaluation parameters of the current frame or the cumulative sums of the differences of the evaluation parameters meet preset conditions, and if yes, setting the current frame to be the key frame; and if no, setting the current frame to be a non-key frame, and returning to the step of calculating the evaluation parameters of the current frame in the encoded image data until encoding ends. The device comprises a data collection module, an evaluation parameter calculating module and a key frame setting module. According to the method and the device for inserting the key frame in video encoding, evaluation expense for the key frame can be saved.
|
申请人: 珠海市杰理科技有限公司
|
Applicant: ZHUHAI JIELI TECHNOLOGY CO LTD
|
地址: 519085 广东省珠海市吉大石********(隐藏)
|
发明(设计)人: 陈家大
|
Inventor: CHEN JIADA
|
主分类号: H04N17/00(2006.01)I
|
分类号: H04N17/00(2006.01)I H04N7/18(2006.01)I
|
|