Advanced Search
Volume 45 Issue 1
Jan.  2023
Turn off MathJax
Article Contents
LIU Pengyu, ZHANG Yue, JIA Kebin, DUAN Kun, LIU Chang, SUN Xuan, CUI Tenghe. Adaptive Video Frame Type Decision Algorithm Based on Local Luminance Histogram[J]. Journal of Electronics & Information Technology, 2023, 45(1): 300-307. doi: 10.11999/JEIT211199
Citation: LIU Pengyu, ZHANG Yue, JIA Kebin, DUAN Kun, LIU Chang, SUN Xuan, CUI Tenghe. Adaptive Video Frame Type Decision Algorithm Based on Local Luminance Histogram[J]. Journal of Electronics & Information Technology, 2023, 45(1): 300-307. doi: 10.11999/JEIT211199

Adaptive Video Frame Type Decision Algorithm Based on Local Luminance Histogram

doi: 10.11999/JEIT211199
Funds:  The National Key Research and Development Program of China (2018YFF01010100), The Beijing Natural Science Foundation (4212001), The Key R&D and Transformation Program of Qinghai Province (2022-QY-205)
  • Received Date: 2021-11-01
  • Rev Recd Date: 2022-03-25
  • Available Online: 2022-04-15
  • Publish Date: 2023-01-17
  • The video frame type decision is one of the key factors affecting the efficiency of video coding. This paper proposes an adaptive video frame type decision algorithm based on local luminance histogram to improve the x265 encoding performance. Firstly, the local luminance histograms of frames are calculated at the level of 64×64 Coding Tree Unit (CTU), and the difference of local luminance histogram between frames is used to represent the degree of scene variation between frames. Secondly, Intra-coded picture (I-frame) detection window is introduced. I-frame is determined by comparing the degree of scene variation between frames. Finally, the Mini Group Of Picture (MiniGOP) size is determined according to the correlation between the degree of scene variation and MiniGOP size, so as to determine adaptively Generalized P and B picture (GPB-frame) and Bidirectionally predicted picture (B-frame). Experimental results show that compared with the relevant algorithms in x265, the proposed algorithm can effectively reduce the coding complexity of x265, and decide I/GPB/B-frame efficiently and adaptively with nearly 5% less coding time.
  • loading
  • [1]
    JCT-VC. ITU-T Recommendation H. 265 High efficiency video coding[S]. Geneva: ITU–T, 2013.
    [2]
    CORREA G, ASSUNCAO P, AGOSTINI L, et al. Performance and computational complexity assessment of high-efficiency video encoders[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2012, 22(12): 1899–1909. doi: 10.1109/TCSVT.2012.2223411
    [3]
    BOSSEN F, BROSS B, SUHRING K, et al. HEVC complexity and implementation analysis[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2012, 22(12): 1685–1696. doi: 10.1109/TCSVT.2012.2221255
    [4]
    GAO Yuan, LIU Pengyu, WU Yueying, et al. Quadtree degeneration for HEVC[J]. IEEE Transactions on Multimedia, 2016, 18(12): 2321–2330. doi: 10.1109/TMM.2016.2598481
    [5]
    ESAKKI G, PANAYIDES A, TEEPARTHI, et al. A comparative performance evaluation of VP9, x265, SVT-AV1, VVC codecs leveraging the VMAF perceptual quality metric[J]. SPIE, 2020: 1151010.
    [6]
    x265 ORG. x265 HEVC encoder[EB/OL]. http://www.x265.org/, 2017.
    [7]
    段堃. 基于H. 265/HEVC的高压缩率与低复杂度编码技术研究[D]. [硕士论文], 北京工业大学, 2020.

    DUAN Kun. Research on hight compression rate and low complexity coding based on H. 265/HEVC[D]. [Master dissertation], Beijing University of Technology, 2020.
    [8]
    FUAD M, ERNAWAN F, and HUI L J. Video scene change detection based on histogram analysis for hiding message[J]. Journal of Physics:Conference Series, 2021, 1918(4): 042141. doi: 10.1088/1742-6596/1918/4/042141
    [9]
    KANG S J. Positional analysis-based scene-change detection algorithm[C]. Proceedings of 2015 IEEE International Conference on Consumer Electronics, Las Vegas, USA, 2015: 11–12.
    [10]
    CHO S I and KANG S J. Histogram shape-based scene-change detection algorithm[J]. IEEE Access, 2019, 7: 27662–27667. doi: 10.1109/ACCESS.2019.2898889
    [11]
    刘辉, 刘立程, 郝禄国, 等. 一种场景切换下的HEVC码率控制算法[J]. 电视技术, 2017, 41(6): 1–5. doi: 10.16280/j.videoe.2017.06.001

    LIU Hui, LIU Licheng, HAO Luguo, et al. A rate control algorithm for HEVC based on scene change[J]. Video Engineering, 2017, 41(6): 1–5. doi: 10.16280/j.videoe.2017.06.001
    [12]
    VideoLAN ORG. x264, the best H. 264/AVC encoder[EB/OL]. https://www.videolan.org/developers/x264.html, 2013.
    [13]
    LIU Zhenyu, WANG Libo, LI Xiaobo, et al. Optimize x265 rate control: An exploration of lookahead in frame bit allocation and slice type decision[J]. IEEE Transactions on Image Processing, 2019, 28(5): 2558–2573. doi: 10.1109/TIP.2018.2887200
    [14]
    FORNEY G D. The viterbi algorithm[J]. Proceedings of the IEEE, 1973, 61(3): 268–278. doi: 10.1109/PROC.1973.9030
    [15]
    《送你一朵小红花》“珍惜版”预告 导演韩延开启“生命三部曲”[EB/OL]. https://www.mgtv.com/b/348435/10455525.html?fpa=se&lastp=so_result, 2020.

    A Little Red Flower. Clip: “Trilogy of Life” directed by Han Yan[EB/OL]. https://www.mgtv.com/b/348435/10455525.html?fpa=se&lastp=so_result, 2020.
    [16]
    《战狼2》片段: 冷锋Rachel飙车智斗“雇佣兵”[EB/OL]. https://www.mgtv.com/l/100009562/4052086.html?lastp=so_result, 2017.

    Wolf Warriors 2. Clip: Leng Feng and Rachel compete with mercenaries[EB/OL]. https://www.mgtv.com/l/100009562/4052086.html?lastp=so_result, 2017.
    [17]
    见过F1赛车越野吗? 红牛是真敢作, 2亿的车就这么糟蹋?[EB/OL]. https://v.youku.com/v_show/id_XMzQzNjQ1MjU1Mg==.html?spm=a2h0c.8166622.PhoneSokuUgc_2.dtitle, 2018.

    [18]
    《红海行动》“蛟龙逆袭”版预告 蛟龙突击队展现超强作战力[EB/OL]. https://www.mgtv.com/b/315515/4293086.html?fpa=se&lastp=so_result, 2018.

    "Operation Red Sea" clip: Preview version of "Jiaolong Attack"[EB/OL]. https://www.mgtv.com/b/315515/4293086.html?fpa=se&lastp=so_result, 2018.
    [19]
    《变形金刚5》 并肩作战预告 人类联手变形金刚拯救地球[EB/OL]. https://www.mgtv.com/b/308889/3994088.html?fpa=se&lastp=so_result, 2017.

    Transformers 5 clip: Side by side trailer[EB/OL]. https://www.mgtv.com/b/308889/3994088.html?fpa=se&lastp=so_result, 2017.
    [20]
    BJØNTEGAARD G. Calculation of average PSNR differences between RD-curves[C]. Proceedings of the 13th Video Coding Experts Group Meeting, Austin, USA, 2001: 290–291.
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Figures(5)  / Tables(4)

    Article Metrics

    Article views (455) PDF downloads(77) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return