- 主题
- 3
- 最后登录
- 2017-6-10
- 帖子
- 14467
- 精华
- 4
- 积分
- 4915
- 威望
- 343
- RP
- 11068
- 金钱
- 20150 柯币
- 人气
- 1272 ℃
- 注册时间
- 2002-8-18
最后的银色子弹 VIP 大塚爱命 技术区元老 网页部元老成员 资源情报科荣誉成员 APTX-4868 N助教 事务所压制组成员 事务所分流组荣誉成员 发霉的事务所字幕组组长 事务所最懒得做特效的小N
- 帖子
- 14467
- 精华
- 4
- 积分
- 4915
- 威望
- 343
- RP
- 11068
- 金钱
- 20150 柯币
- 人气
- 1272 ℃
- 注册时间
- 2002-8-18
|
【转帖+技术】1PASS和2PASS的最终选择:正确和最好的选择
首先
这是HPP的帮助里面关于CBR和VBR的解释
原文如下:
About VBR Encoding
Most video clips have different scenes with various levels of complexity. Complexity can arise when there is a large amount of motion in the video, such as a car chase where there are many subjects moving in different directions. Naturally, complex video scenes are the most difficult for Helix Producer to encode.
When you set Helix Producer to encode at a constant bit rate (CBR), all scenes, regardless of their complexity, are encoded equally. Thus, highly complex scenes lose video quality once encoded.
With VBR, however, these complex scenes are treated differently. When you specify a target bit rate for encoding, it is usually below the actual bit rate for the connection. For example, a 384 kbps DSL/ Cable modem audience will be targeted at 350 kbps. This extra bandwidth is generally saved for network congestion or similar constraints on the transfer of the encoded data. If you were to specify a CBR near the threshold bit rate, your audience would lose the connection or suffer rebuffering often. VBR allows Helix Producer to use this extra bandwidth—as needed—to handle the extra bits encoded during complex video scenes.
You can only use one audience for a job if the audience is a VBR template.
Types of VBR Encoding
There are two ways to use VBR encoding. The first option is to specify an average bit rate at which Helix Producer will encode the streaming video clip. The second option is to specify a video quality at which Helix Producer will attempt to encode the streaming video clip.
The table below gives you a summary of the best uses for all three types of encoding possible with Helix Producer: CBR, Average Bit Rate VBR, and Video Quality VBR.
Best Uses for Encoding Types Types of Encoding Best Uses
CBR Narrowband streaming
VBR - Average Bit Rate Broadband streaming
VBR - Video Quality Downloadable files, DVD content
我翻译一下:
关于VBR编码:
许多影视片段都有级别复杂的各种场面。之所以复杂是因为视频中有大量的运动场面,比如汽车追逐的场面,就有许多不同的运动目标在不同的方向上移动。因此,复杂的视频场景对HPP的编码来说就显得较为困难。
当你设置HPP使用CBR来编码,所有的场景,不管它们是否复杂,都一视同仁的进行编码。因此,高复杂度的场景一旦编码,就会损失视频质量。
用VBR来编码,那些复杂的场景,就会用不同的方式来进行处理。当你指定一个target bit rate来进行编码,它通常会低于实际的连接速率。比如384 kbps DSL/ Cable modem的audience,会把目标定在350 kbps,额外的带宽一般会用来解决网络堵塞或者在数据传输过程中遇到的类似限制。如果你是指定一个接近连接速率极限的CBR编码,你的观众就会经常丢失连接或者忍受数据缓冲的痛苦。如果需要的话,VBR会允许HPP利用额外的带宽去处理复杂的场景所需要的额外的bits .
要使用VBR有两个条件:
1。你必须使用Helix Server 9 提供VBR的流媒体
2。一个VBR的template只能使用一个audience的设置。
VBR编码的类型
有两种不同的VBR编码方式。第一种是指定average bit rate,第二种是指定video quality 。
下列是HPP可能用到的三种编码方式所适用的对象
编码类型 适用对象
CBR 窄带流媒体
VBR--- Average Bit Rate 宽带流媒体
VBR-video quality 下载文件,DVD转制
然后这是HPP关于VBR编码的详细解说:
Average Bit Rate VBR Encoding
This type of VBR encoding tells Helix Producer to try and stay at a target bit rate, on average. The target average bit rate that you specify should be below the maximum bit rate possible for the connection type. In this respect, it is similar to CBR encoding as it stays below the bit rate threshold. Thus, your audience is less likely to lose a connection or experience rebuffering.
But when the video clip becomes more complex, Helix Producer can use the extra bit rate for a limited time so that the video quality can be maintained. Once the complex video scene is over, the specified average bit rate is resumed. If a complex scene is especially long, Helix Producer will lower the bit rate (and the video quality) to keep to the specified average.
Therefore, the best use for average bit rate VBR encoding is for a broadband audience, where the connection can withstand the occasional increase in bit rate
翻译:
Average Bit Rate VBR编码
这种类型的VBR编码是让HPP,尽量以指定的目标码率进行编码。而这个你指定的“目标码率”,应该要比所能够达到的最大网络连接速率低。从这点考虑,它类似于CBR编码,不过因为它保持码率在网络极限传输速率之下,所以你的观众丢失连接或者要等待缓冲的可能性会少一点。
但是当视频片段变得复杂时,HPP能够在有限的时间内利用额外的码率来维持视频质量。一旦复杂场景结束,指定的码率又会继续。一旦复杂的场景特别久,HPP会降低码率(和视频质量)以保证维持Average Bit Rate。
因此,Average Bit Rate 最适合宽带用户,因为这种网络连接能够承受偶然的码率加大的要求。
一般压制RMVB都是用Average Bit Rate,但是这个是用来进行网络播放的。
正如上面所说,如果网络广播所用的码率接近于网络连接所能够达到的极限传输速率时,就会经常出现连接丢失或者不得不等待数据缓冲的情况。
因此Average Bit Rate的编码方式是以保证网络广播的流畅为前提的,而不是以画面质量为重点。
所以
1PASS和2PASS在这里的区别是,
2PASS以精确的曲线和事先分析来保证广播的流畅
而
1PASS则无法保证这点
所以往往1PASS的文件,最终码率都比2PASS的高,而且比较接近网络传输的极限速率
这样导致的后果是
高码率的1PASS在本地硬盘上观看时
可能会比低码率的2PASS画质好
但是Average Bit Rate 是拿来作为网络广播用的
所以
如果是网络广播的话
1PASS的文件就比2PASS要经常出现
连接丢失
或者
等待缓冲的
情况
对于网络广播来说
这是无法容忍的
因此如果压制RMVB时,
用的是Average Bit Rate
目的是搞网络广播的话
应该要选择2PASS
如果是在本地硬盘上观看的RMVB文件呢?
Video Quality VBR Encoding
This type of VBR encoding is for when you are more concerned about preserving the quality of the video image than losing your audience. Here, you specify a percentage of quality that you want Helix Producer to maintain.
To keep the video quality, the encoded bit rate may remain at a high bit rate— even staying at the maximum bit rate specified—for as long as the video complexity also remains high.
Therefore, the best use for video quality VBR encoding is when you are creating a RealMedia file that will be downloaded by your audience. It is not suited for streaming with a Helix Server.
翻译:
Video Quality VBR 编码
当比起可能会丢失的观众,你更加关心视频图象的品质时,你就需要这个。在这里,你能够指定一个百分比,以让HPP能够保持源文件的视频质量。
为了保持视频质量,文件的码率可能会保持在较高的水平-----甚至会停留在复杂的场景所需要的最大码率的位置。
因此,当你要建立一个文件给你的观众下载后观看时,你就应该用video quality VBR。它不适合给Helix Server做网络广播用。
我的理解:
这才是关键的地方
如果要讨论画质的话
事先压制RMVB文件时,就应该用Video Quality VBR而不是Average Bit Rate
因为Average Bit Rate是网络广播用的,它不是从画质出发的,1PASS和2PASS在这里讨论画质优劣是没有用的。因为网络广播的东西,首要是保证流畅,在这个前提下,因为1PASS的码率一般是高于2PASS的而接近网络传输速率的极限,所以比较容易导致画面断断续续或者要花长时间来等待数据缓冲,
所以---------
如果从网络传输的角度出发
应该用
2PASS
如果是要从画质出发,那么就应该用保证画质的
Video Quality VBR
而在这种情况下
1PASS也好,2PASS也好
都会以提高码率来保证画质,
而不会象Average Bit Rate VBR那样降低码率来保证网络传输速率
但是
2PASS因为比1PASS有多一层次的分析
所以理论上比1pass能够更好的保证画质
为什么这么说?
因为RM和RMVB都是有损压缩
都是要把一些根据各种人体生理特征
可以在不影响画质的前提丢掉的视频因素
都给丢掉的压缩方式
所以事先先对源文件进行分析的2PASS能够更好的判断应该丢掉那些东西
所以
如果是要保证文件的画质
首先编码方式就要用Video Quality VBR
然后-----
更加需要2PASS!!!!!!!!! |
|