节点文献

MPEG-2到H.264的转码中关键技术的研究

【作者】 官升

【导师】 于鸿洋;

【作者基本信息】 电子科技大学 , 信号与信息处理, 2006, 硕士

【摘要】 通信、计算机和互联网的结合为视频应用带来了前所未有的机遇但也对压缩视频的传输提出了新的挑战。多种视频压缩标准的存在,导致视频设备间的兼容问题,而视频转码是有效解决这种兼容问题的一种技术。H.264作为新一代的视频压缩标准,它具有在相同图像质量下比其它视频压缩标准拥有更高的压缩率的特性,而当前保留的大多视频节目都是由MPEG-2压缩得到的,所以为了在相同的空间存储更多的视频节目,由MPEG-2到H.264的视频转换是很有必要的。本文研究工作就是围绕视频转码技术展开的。本文的研究目标是在保证图像质量相对于MPEG-2压缩的码流没有大的降低的情况下降低更多的码率。首先介绍了转码技术的发展和研究方向以及视频压缩的基本原理,然后分析了H.264视频压缩标准的基本结构和流程,并介绍H.264协议的先进技术,通过介绍这些特点分析转码的必要性。在细致的分析了MPEG-2解码器和H.264编码器后,使用了重用MPEG-2中的MV和QP值的转码算法,通过此算法有助于提高转码后图像的质量并且码率的增加较少。在MV重用的算法中运用了运动矢量的修正和重构的方法;在QP值的重用的算法中使用了一种增大B帧的QP值已达到在更低的码率有更好的图像质量的算法。在基本相同的码率的情况下比较了本文的转码方案和直接级联模式的性能,得出本文方案比直接级联模式PSNR高0.1~0.4dB的结论。然后再将本文转码方案的效果同在MPEG-2下压缩的视频码流作比较,得出在降低图像质量0.2~0.5dB的情况下可节约20%~30%的码率的转码结果。还介绍了一种可用于本文转码的H.264快速模式抉择优化方案,此优化方案在相对原始的编码器节约40%左右的时间的情况下,图像质量只有0.1dB左右的下降,码率只有2%~4%的增大的优化效果。此方案同样可以运用在H.264的编码器上。

【Abstract】 The development of multimedia systems brings a major influence in the area of image and video encoding.The interactivity and integration of video data with computer, cellular and television systems becomes a new problem of research worldwide.As the content representation formats increase progressively,interoperability between different systems is becoming more and more important. Video content transcoding is one of the key technology to solve the problem. H.264 as the new video compressing standard, has a better compressing ability than former standards both in video quality and compression rate. Since the most video programs are currently compressed by the standard of MPEG-2, the transcoding between MPEG-2 and H.264 is a vital issue. This thesis is focus on the research of video transcoding.This thesis is goal to reduce bitrate without decreasing the video quality obviously compared with the orignal video compressed by MPEG-2.The structure of this thesis is as following:Firstly the thesis introduces the development of transcoding and the basic theory of video compressing. Then analyses the structure and the flow of the H.264 encoder and MPEG-2 decoder. After that, this thesis uses an algorithm of MV and QP reuse. With the used algorithm, we can get 0.1~0.4dB gain in the PSNR at the same bitrate, compared with the CPDT algorithm, which just connects the MPEG-2 decoder and H.264 encoder directly. This proposal method can save bitrate by 20%~30% with only 0.2~0.5dB decreasing in PSNR,compared with the MPEG-2 encoded stream(The PSNRs of MPEG-2 encoded stream and transcoded stream are both calculated based on the same original yuv sequence). Finaly, the thesis introduces a method to optimize the mode decision of the transcoder. It can save transcoding time by 40% or so, with only 0.1dB decrease in PSNR and 2%~4% increase in bitrate. This method can also be uesd in H.264 encoder.

【关键词】 转码MPEG-2H.264MV重用QP值重用
【Key words】 transcodingMPEG-2H.264MV reuseQP reuse
  • 【分类号】TN919.81
  • 【下载频次】227
节点文献中: