⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 蔫老虎交流区 - mpeg-4 avc-h_264 信息.htm

📁 蔫老虎交流区 - MPEG-4 AVC-H_264 信息
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="zh_CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<meta name="generator" content="vBulletin 3.5.1" />
<title>蔫老虎交流区 - MPEG-4 AVC/H.264 信息</title>
<style type="text/css">
<!--
td, p, li, div
{
	font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
	font-size: 12px;
}
.tborder
{
	border: 1px solid #808080;
}
.thead
{
	background-color: #EEEEEE;
}
.page
{
	background-color: #FFFFFF;
	color: #000000;
}
-->
</style>
</head>
<body class="page">

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="bottom">
	<td><a href="http://bbs.pcicp.com/"><img src="http://www.pcicp.com/cms/img/logo.gif" alt="蔫老虎交流区" border="0" /></a></td>
	<td align="right">
		<div class="smallfont"></div>
		
	</td>
</tr>
</table>

<br />

<div>
	<a href="http://bbs.pcicp.com/home.php" accesskey="1"><strong>蔫老虎交流区</strong></a>
	(<span class="smallfont"><em>http://bbs.pcicp.com/home.php</em></span>)
</div>
<div>
	- &nbsp; <a href="forumdisplay.php?f=21"><strong>『 漫画动画 』</strong></a>
	(<span class="smallfont"><em>http://bbs.pcicp.com/forumdisplay.php?f=21</em></span>)
</div>
<div>
	- &nbsp; - &nbsp; <a href="showthread.php?t=157391" accesskey="3"><strong>MPEG-4 AVC/H.264 信息</strong></a>
	(<span class="smallfont"><em>http://bbs.pcicp.com/showthread.php?t=157391</em></span>)
</div>

<br />

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
	<td class="page">
	
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="bottom">
			<td style="font-size:14pt">haibara</td>
			<td class="smallfont" align="right">2005-09-17 20:09</td>
		</tr>
		</table>
		
		<hr />
		
		
			<div><strong>MPEG-4 AVC/H.264 信息</strong><br />&nbsp;</div>
		
		
		
		<div>本FAQ系列由本人(haibara)翻译,期间受到kaito_mkid(pcicp)帮助,在此感谢,由于Newbie的关系,如有翻译错误,还请各位指出,<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?t=96059" target="_blank">由Doom9的bond编撰的原文</a></b></font><br />
<br />
译者注:基本专业名称我都以小括号形式加以解释,详细信息请自行查阅资料。<br />
<br />
<br />
<br />
<br />
<b>什么是MPEG-4?</b><br />
<br />
MPEG-4(ISO 14496)是由制定了我们熟知的MPEG-1(MP3, VCD)和MPEG-2(DVD, SVCD)标准,并力于使各种音频/视频压缩格式和更多内容标准化的国际标准化组织(International Organization for Standardization/ISO)的工作组,即运动图像专家组(Moving Picture Experts Group/MPEG)发展的广泛的开放标准。<br />
本质上MPEG-4标准不仅把目标定为标准化某些有发展前途的产品(例如达到DVD性能),而且含盖了一个能让产品供应商根据需要选择适当标准去执行的广泛的次级标准。<br />
<br />
MPEG-4标准,如上所说,被分成许多不同的次级标准,在Doom9里我们使用者可能最感兴趣的部分如下:<br />
- <font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=62723" target="_blank">ISO 14496-1(Systems/系统)</a></b></font>,动画/交互性(类DVD菜单) <br />
- <font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=73022#post461587" target="_blank">ISO 14496-2(Video/视频)</a></b></font>,如Advanced Simple Profile(ASP/高级简单类),由XviD, DivX5, 3ivx...执行<br />
- <font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=68300#post424070" target="_blank">ISO 14496-3(Audio/音频)</a></b></font>,Advanced Audio Coding(AAC/先进音频编码)<br />
- <font color="blue"><b><a href="http://forum.doom9.org/showthread.php?p=674815#post674819" target="_blank">ISO 14496-10(Video/视频)</a></b></font>,Advanced Video Coding(AVC/进阶视频编码),著名有H.264 <br />
- <font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=62723" target="_blank">ISO 14496-14(Container/容器)</a></b></font>,MP4容器格式(使用.mp4作扩展名)<br />
- <font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=62723" target="_blank">ISO 14496-17(Subtitles/字幕)</a></b></font>,MPEG-4时标文本字幕格式<br />
<br />
这些信息页面正力于提供这些标准的大部分有用的信息,尤其是作为焦点的MPEG-4 ASP和AVC/H.264。<br />
<br />
<br />
<b>与封闭格式如Micro$oft的Windows Media相比,象MPEG-4一样的开放标准有什么可能的优势?</b><br />
<br />
开放标准的一个好处是当创建产品时允许<i>向所有人开放</i>并遵循它。因此我们已经有许多不同的符合MPEG-4标准并可互相兼容的产品。<br />
其次是<i>互通性</i>和<i>大范围的产品</i>选择性,一个开放标准导致<i>竞争</i>,对顾客而言这意味着产品在竞争市场中能更好地提高<i>品质</i>,更少的<i>价格</i>和更关注顾客<i>需求</i>。<br />
<br />
但不要忘记这也许对我们来说最重要的一点:<br />
一个开放标准允许<i>开源发展</i>,例如我们熟知的XviD。</div>
	</td>
</tr>
</table>
<br /><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
	<td class="page">
	
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr valign="bottom">
			<td style="font-size:14pt">haibara</td>
			<td class="smallfont" align="right">2005-09-18 17:26</td>
		</tr>
		</table>
		
		<hr />
		
		
			<div><strong>ISO 14496-10 (Video) - 进阶视频编码(Advanced Video Coding/AVC)</strong><br />&nbsp;</div>
		
		
		
		<div>有着AVC/H.264的MPEG-4标准定义了一个拥有最新,最高技术的实用的,充满尖端科技的视频编码格式。<br />
<br />
2003年,ISO的MPEG(Moving Pictures Experts Group/运动图像专家组)与联合国(United Nations/UNO)下设的ITU(International Telecommunication Union/国际电信联盟)的VCEG(Video Coding Experts Group/视频编码专家组)这2大组织最终完成并共同规定了AVC/H.264视频编码标准,其中后者曾标准化H.263格式(现主用于视频会议)。 <br />
AVC/H.264标准它自身是由MPEG和VCEG的专家构成的Joint Video Team(JVT/联合视频组)发展的。 <br />
<br />
由MPEG来看,该标准被叫做MPEG-4 Part 10(ISO 14496-10);由ITU来看,它叫做H.264(ITU的公文号) 其中作为后者已广泛流传开来。<br />
新标准选择Advanced Video Coding(AVC/进阶视频编码)作为“官方”名 - 因为对应视频的音频格式是Advanced Audio Coding(AAC/先进音频编码)。<br />
<br />
<br />
<b>AVC/H.264 Profile</b><br />
<br />
AVC/H.264定义了4种不同的Profile(类):Baseline(基线类), Main(主要类), Extended(扩展类)和High Profile(高端类)(它们各自下分成许多<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?p=678891#post678891" target="_blank">Level</a></b></font>(层)):<br />
<br />
- <i>Baseline Profile</i> 提供I/P帧,仅支持progressive(逐行扫描)和CAVLC <br />
- <i>Extended Profile</i> 提供I/P/B/SP/SI帧,仅支持progressive(逐行扫描)和CAVLC <br />
- <i>Main Profile</i> 提供I/P/B帧,支持progressive(逐行扫描)和interlaced(隔行扫描),提供CAVLC或CABAC <br />
- <i>High Profile</i> (也就是FRExt)在Main Profile基础上新增:8x8 intra prediction(8x8 帧内预测), custom quant(自定义量化), lossless video coding(无损视频编码), 更多的yuv格式(4:4:4...)<br />
<br />
只有未来会告诉我们哪一种框架和工具最可能被用于DVD备份,但是我猜想会是有着以下的工具大力帮助的Main和/或High Profile(同样请核实<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=73022#post461587" target="_blank">MPEG-4 ASP</a></b></font>的工具描述,除了GMC,所有的工具在AVC下都是可用的):<br />
<br />
<i>CAVLC/CABAC:</i><br />
AVC/H.264定义了2种先进的重构数据流(包括macroblock-type(宏块), motionvectors(运动矢量) + reference-index(参考索引)...)的熵编码工具,一举超越MPEG-4 ASP:<br />
Context-Adaptive Variable Length Coding(CAVLC/上下文自适应变长编码)和 Context-Adaptive Binary Arithmetic Coding(CABAC/上下文自适应二进制算术编码)<br />
CABAC,与AVC/H.264中只是默认算法的CAVLC(也叫UVLC)相比,是个压缩率更强大的算法,据说能额外降低10-15%的比特率(特别在高码率)。CABAC(同CAVLC一样)是一种无损算法,因此不会降低质量,但会减缓编码和解码速度。<br />
<br />
<i>Loop/Deblocking Filter(循环/去块滤波器):</i><br />
与预处理滤波器(例如通过avisynth作用于输入端),或后处理滤波器(通过解码器作用于最终输出端)相反,循环滤波器在编码过程中对每桢进行滤波,编码完成后被用于下一桢的参考。它能消除块效应,尤其在低码率时,但同样会减缓编码和解码速度。<br />
<br />
<i>Variable Block Sizes/Macroblock Partitions(块大小可变/宏块划分):</i><br />
与MPEG-4 ASP(仅Inter4V/4MV能作16x16和8x8块变换)相比,AVC/H.264把动态搜寻精度(Motion Search Precision)提高到4x4(包含的步骤有8x4...)。子块大小是自适应/可变的,一个优秀的编码器应能对每个宏块明智地作出最恰当的划分大小决定。<br />
<br />
<i>Multiple Reference Frames(多重参考桢):</i><br />
与MPEG-4 ASP(仅允许当前桢的前一桢作为参考桢)相比,AVC/H.264使用帧间搜索方式并提供成倍的参考桢选择,它意味着AVC/H.264编码能决定是否只是简单地参考前一桢或甚至参考比前桢更过去的桢。因此(例如某个P桢能参考最近I桢前的某桢)不得不提出一种新型桢型:IDR桢,是种其后的桢不允许参考其前的桢的I桢。使用多重参考桢会减慢编码和解码速度并且可能导致只能在IDR桢剪切。<br />
<br />
<i>Weighted Prediction(加权预测):</i><br />
有了加权预测就能对参考桢进行加权(例如你能测量前一幅图象的亮度程度)。它特别有助于在那些随时可能淡入或淡出的场景中前后图象极为相似,只是画面变暗的图象的处理。WP对于同时出现淡入及淡出的图象没有效果(例如当图象从一个场景转到另一个场景就会同时出现淡入及淡出)。<br />
<br />
<i>Rate Distortion Optimisation(RDO/码率-失真/损耗最佳化):</i><br />
只要编码器不得不在众多选择中作出绝择时,RDO允许选择最有效的编码方式(例如面临采用桢间/桢内的动态搜寻的决定...)<br />
RDO不是AVC/H.264本身定义的工具,它是第一个由H.264参考软件引入的工具,可谓一种新的途径。其他的编码也能利用RDO,如XviD'的VHQ模式能使用RDO<br />
<br />
<br />
AVC/H.264与其他流行的视频编码格式的比较测评:<br />
<img src="http://img297.echo.cx/img297/8742/compchart2fa.png" onload="if(this.width>screen.width-300) {this.width=screen.width-300;}" border="0"> <br />
<br />
<b>现有的AVC/H.264编码</b><br />
<br />
可用于终端用户的AVC/H.264执行者有<font color="blue"><b><a href="http://www.videolan.org/x264.html" target="_blank">x264</a></b></font>, <font color="blue"><b><a href="http://www.nerodigital.com" target="_blank">Nero</a></b></font>, <font color="blue"><b><a href="http://www.apple.com/quicktime/" target="_blank">Apple</a></b></font>, <font color="blue"><b><a href="http://www.sorenson.com/" target="_blank">Sorenson</a></b></font>, <font color="blue"><b><a href="http://www.elecard.com/" target="_blank">Elecard</a></b></font>, <font color="blue"><b><a href="http://moonlight.co.il" target="_blank">Moonlight</a></b></font>, <font color="blue"><b><a href="http://www.videosoftinc.com/codecs.html" target="_blank">VSS</a></b></font>, <font color="blue"><b><a href="http://www.mpegable.com/show/mpegableavc.html" target="_blank">mpegable</a></b></font>, <font color="blue"><b><a href="http://www.envivio.com/products/h264.html" target="_blank">Envivio</a></b></font>, <font color="blue"><b><a href="http://sourceforge.net/projects/hdot264/" target="_blank">Hdot264</a></b></font> (<font color="blue"><b><a href="http://www.rarewares.org/mp4.html" target="_blank">binary</a></b></font>), <font color="blue"><b><a href="http://www.dspr.com/www/support/download/video_download.htm" target="_blank">DSPR</a></b></font>, <font color="blue"><b><a href="http://iphome.hhi.de/suehring/tml/" target="_blank">JM</a></b></font> (参考软件) (<font color="blue"><b><a href="http://www.rarewares.org/mp4.html" target="_blank">binary</a></b></font>), <font color="blue"><b><a href="http://ffmpeg.sourceforge.net/" target="_blank">ffmpeg</a></b></font>, <font color="blue"><b><a href="http://www.avc-alliance.org/downloads.htm" target="_blank">Philips</a></b></font>, <font color="blue"><b><a href="http://www.fastvdo.com/H.264.html" target="_blank">FastVDO</a></b></font>, <font color="blue"><b><a href="http://skal.planet-d.net/coding/mpeg4codec.html" target="_blank">Skal</a></b></font>, <font color="blue"><b><a href="http://www.jp.sonystyle.com/Nws/Software_dl/Pc/Software/Haa/2105710489100.html" target="_blank">Sony</a></b></font>和<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?t=95939" target="_blank">更多</a></b></font> <br />
<br />
<i>编码器</i><br />
<br />
- <u>x264</u>:第一个公开的可使用High Profile的编码器,开源(GPL)(<font color="blue"><b><a href="http://trac.videolan.org/x264/browser/trunk/" target="_blank">源码</a></b></font>),使用VFW的有:<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=89979" target="_blank">x264vfw</a></b></font>, <font color="blue"><b><a href="http://ffdshow.sourceforge.net" target="_blank">ffdshow</a></b></font>(输出.avi),命令行的:<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=89979" target="_blank">x264cli</a></b></font>(输出raw的.mp4), <font color="blue"><b><a href="http://mplayerhq.hu/DOCS/man/en/mplayer.1.html" target="_blank">mencoder</a></b></font>(输出raw的.avi)(Doom9的<font color="blue"><b><a href="http://forum.doom9.org/showthread.php?s=&amp;threadid=87567" target="_blank">MeGUI</a></b></font>)或<font color="blue"><b><a href="http://ffmpeg.sourceforge.net/" target="_blank">ffmpeg</a></b></font> <br />
x264支持2pass, CABAC, 循环滤波, 多重B帧, 双向参考(B-Reference), 多重参考桢, 4x4 P帧块变换, 8x8 B帧块划分, 失真信号化(anamorphic signalling)和High Profile:8x8 dtc(离散余弦变换)与帧内预测, 无损视频编码和自定义无损量化矩阵(custom quant matrix)<br />
- <u>NeroDigital AVC</u>:<font color="blue"><b><a href="http://www.nero.com/en/index.html" target="_blank">Nero Recode2</a></b></font>内含,输出为.mp4<br />
ND AVC支持2pass, CABAC, 自适应循环滤波, 多重B帧, 多重参考桢, 加权预测, 8x8 B帧块划分, 16x16 B帧块划分, 自适应量化(高度Psy)<br />
- <u>Sorenson</u>:<font color="blue"><b><a href="http://www.sorenson.com/solutions/prod/mpg4_win.php" target="_blank">Sorenson Squeeze 4</a></b></font>内含,输出.mp4, <br />
Sorenson支持2pass, 最大2连续B帧, 双向参考, 循环滤波和多重Slice<br />
- <u>Apple</u>:<font color="blue"><b><a href="http://www.apple.com/quicktime/" target="_blank">Quicktime 7</a></b></font>内含,输出.mp4, .3gp和.mov,编码速度很慢<br />
支持2pass, 最大1连续B帧, 循环滤波(0,0), 8x8 P帧块变换, 8x8 B帧块变换, 4x4 I帧块变换, 自适应量化, 5级Slice, 没有CABAC, 没有加权预测, 没有多重参考桢<br />
- <u>JM</u>:此AVC参考软件v9.3版提供Main和High Profile:B/SP帧, CABAC, 循环滤波器, 4x4 块划分, 多重参考桢, 自适应量化, 差错修复(Error Resilience), RDO, 无损视频编码, 自定义量化), 比率控制(Rate Control)等...<br />
- <u>Hdot264</u>:由doom9会员charact3r发展的开源(GPL)的VFW版参考软件,仍然以很老的参考软件(JM 4.0c)为基础 <br />
- <u>VSS</u>:免费的VFW编码器(可预览5天),以参考编码器为基础<br />
- <u>Elecard</u>: <font color="blue"><b><a href="http://www.elecard.com/products/mobile_convert.shtml" target="_blank">Elecard Mobile Converter</a></b></font>内含,输出.mp4, <font color="blue"><b><a href="http://www.mainconcept.com/h264_encoder.shtml" target="_blank">MainConcept's v2 encoder</a></b></font>也内含,输出.264和.mpg PS/TS<br />
不再公开的:<br />
- <u>Moonlight</u>:Moonlight的<font color="blue"><b><a href="http://www.moonlight.co.il/cons_oneclick.php" target="_blank">OneClick Compressor v1.1</a></b></font>和CyberLink的<font color="blue"><b><a href="http://www.gocyberlink.com/english/products/powerencoder/index.jsp" target="_blank">PowerEncoder</a></b></font>内含,输出.mpg <br />
Moonlight支持1pass(VBR/CBR/预设 量化), CABAC, 循环滤波, 最大2连续B帧, 8x8 B帧块划分, 自适应量化, 自动调整PAR(Pixel Aspect Ratio/象素纵横比), 隔行扫描<br />
- <u>MainConcept</u>:免费的编码器(有水印),输出.264和.mpg PS/TS<br />
1pass(CBR/VBR/预设 量化), P帧重排(P-Frame Reorder), CABAC, 循环滤波, 多重B-Vops(Bidirectional Video Object Planes/双向视频对象平面), 多重参考桢, 4x4 P帧块划分), PAR, RDO<br />
- <u>mpegable</u>:提供试用有限的免费VFW编码器(不以参考软件为基础),不支持YV12<br />
mpegable支持仅限P帧的1pass(预设量化), 8x8 P帧块划分, 只支持CAVLC, 循环滤波 <br />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -