mkv in progress

This commit is contained in:
deepch
2022-01-27 04:10:06 +03:00
parent e0fc50b09e
commit 13fad59f2c
9 changed files with 828 additions and 0 deletions

24
format/mkv/stream.go Normal file
View File

@@ -0,0 +1,24 @@
package mkv
import (
"time"
"github.com/deepch/vdk/av"
)
type Stream struct {
av.CodecData
demuxer *Demuxer
pid uint16
streamId uint8
streamType uint8
idx int
iskeyframe bool
pts, dts time.Duration
data []byte
datalen int
}