zoukankan      html  css  js  c++  java
  • MPEG-2 video encode reference frames and open-GOP, closed-GOP

    MPEG-2 reference frames

    MPEG-2 video encode defines GOP which consists of several I/P/B frames:

    I frame: reference frame of P/B frame

    P frame: its reference frame is a previous I or P frame

    B frame: its reference frames are a previous I or P frame and a future P frame

    notice:

    frames in a GOP won't refer to frame before I frame at the start of this GOP, so a GOP will clear the error accumulation within before GOP.

    open-GOP and closed-GOP

    (this part is from: http://help.apple.com/compressor/mac/4.0/cn/compressor/usermanual/index.html#chapter=18%26section=5%26tasks=true )

    开放的 GOP 最有效率,因为它们允许 GOP 模式中一个额外的 B-帧。开放的 GOP 的开头使用能够看到前一 GOP 的 B-帧,以及该 B-帧自身所在 GOP 的第一个 I-帧。

    Figure. Diagram comparing Open GOP and Closed GOP.

    根据定义,封闭 GOP 无法包含参考前一 GOP 或下一 GOP 帧的任何帧。相反,开放 GOP 则以一个或多个 B-帧开始,这些帧都参考前一 GOP 的最后一个 P-帧。由 Compressor 创建的封闭 GOP 总是以 I-帧开始。

    与相同结构和大小的封闭 GOP 相比,开放 GOP 提供的压缩结果一般要略胜一筹。上图显示,封闭 GOP 比相同长度的开放 GOP 所包含的 P-帧要多一个。因为 P-帧需要的位通常要比 B-帧多,所以开放 GOP 获得的压缩效果会略胜一筹。

     

  • 相关阅读:
    MongoDB的安装与简单使用
    [SCOI2008]天平
    [ZJOI2008]树的统计
    [HEOI2015]兔子与樱花
    [HAOI2006]l旅行
    [ZJOI2008]泡泡堂BNB
    [ZJOI2007]时态同步
    [SCOI2005]栅栏
    [SCOI2008]着色方案
    [SCOI2005]互不侵犯King
  • 原文地址:https://www.cnblogs.com/aspirs/p/7184123.html
Copyright © 2011-2022 走看看