我在 After Effects CS5 中渲染了一个视频,当我格式化它时,我选择了 H.264 编解码器,在这种格式中,它有一个包含基线、主要和高的配置文件。
所以我做了一个小测试——用 Baseline 和 High 渲染这两个文件。我唯一注意到的是视频大小较小,高提供较小的文件大小。
我只是想知道有什么区别,哪个对质量最好,对文件大小最好。
slh*_*hck 110
H.264 配置文件或多或少定义了编码器在压缩视频时可以使用的“花里胡哨”——编码器可以启用许多 H.264 功能。允许启用哪些由配置文件定义。配置文件确保具有不同解码功能的设备之间的兼容性。通过配置文件,编码器和解码器就他们都可以处理的功能集达成一致。
有关详细列表,请参阅维基百科上的H.264 配置文件。
通常,基线配置文件仅将编码器限制为某些基本功能。即使在计算能力较低的设备(例如较旧的智能手机)上,也可以轻松播放使用基线配置文件编码的视频。例如,Android 和 iOS 手机官方只播放使用基线配置文件编码的视频,而不播放High或Main。这在过去几年发生了一些变化,越来越多的手机实际上可以播放主要配置文件,但不能播放高配置文件。
Primarily for low-cost applications, this profile is most typically used in videoconferencing and mobile applications. It corresponds to the subset of features that are in common between the Baseline, Main, and High Profiles
Main and High just add features to that. Especially the high profile is often used in broadcasting:
The primary profile for broadcast and disc storage applications, particularly for high-definition television applications (for example, this is the profile adopted by the Blu-ray Disc storage format and the DVB HDTV broadcast service).
B slices are for example only allowed in the Main profile and above. They can be used to save on bandwidth, but are harder to decode, which is why some devices might not support them.
The profile only indirectly influences the quality. Some features of higher profiles may enable you to get the same quality with lower file sizes as compared to lower profiles.
For example, CABAC entropy coding (Main and High) is more efficient than CAVLC (Baseline). It is also computationally more intensive. Thus, if you give the encoder a certain bit rate to spend, it'll be able to create a better quality video with CABAC than with CAVLC because it achieves much better compression.
这也解释了为什么您使用高配置文件获得更小的文件大小——显然,您以某种方式设置了恒定的质量级别,编码器可以使用更高级的压缩技术来创建与基线配置文件具有相同质量但更小的视频文件尺寸。
一些基本规则:
| 归档时间: |
|
| 查看次数: |
192341 次 |
| 最近记录: |