Alex X bd88695e59 Fix AnnexB parsing in some cases | 2 months ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
checksum.go | 1 year ago | |
consumer.go | 4 months ago | |
demuxer.go | 2 months ago | |
muxer.go | 1 year ago | |
opus.go | 10 months ago | |
producer.go | 4 months ago |
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: