Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么H264没有B帧时PTS = DTS?
为什么 DTS 并不总是小于 PTS,因为解码需要时间,即使 PTS - DTS 是一个很小的数字?
我认为帧必须在播放前解码还是我的理解有问题?
因为没有理由这样做。PTS 总是等于 DTS 加上一些常数。所以它会将数据添加到流中,而不添加任何信息。