Alex X bd88695e59 Fix AnnexB parsing in some cases | 2 月之前 | |
---|---|---|
.. | ||
README.md | 1 年之前 | |
checksum.go | 1 年之前 | |
consumer.go | 4 月之前 | |
demuxer.go | 2 月之前 | |
muxer.go | 1 年之前 | |
opus.go | 10 月之前 | |
producer.go | 4 月之前 |
if DTS == 0 {
// for I and P frames
packet.Timestamp = PTS (presentation time)
} else {
// for B frames
packet.Timestamp = DTS (decode time)
CTS = PTS-DTS (composition time)
}
FFmpeg:
Tapo: