了解 AVC 编解码器:avc1.42c020 与 avc1.428020

Understanding AVC Codecs: avc1.42c020 vs avc1.428020

寻求帮助以了解编解码器之间的区别:

avc1.42c020 and avc1.428020

我有一个程序可以请求这两种格式的视频,但我不确定应该选择哪种格式。一个质量比另一个高吗?一个会比另一个更影响 CPU 使用率/网络比特率吗?或者这些大部分是相同的?

希望有人能解释这些数字代表什么,或者给我指出正确的方向来查找它。谢谢!

这在对端支持的AVC编解码器的Section 7 of RFC 6190. The three bytes that intrigue you are called the profile-level-id, and indicate the profile和sub-profile中有描述。在您的特定情况下, 42c020 表示支持 Constrained Baseline 配置文件,428020 表示支持 Baseline 配置文件

Baseline profile 对处理数据包丢失的支持稍好,但某些设备可能不支持它(根据 RFC 7742,在 WebRTC 中只有 Constrained Baseline profile 是强制实施的)。然而在实践中,WebRTC 并不需要 Constrained Baseline profile 中省略的特性(它有其他处理丢包的机制),所以在所有情况下都选择 Constrained Baseline profile 应该没问题。