test h265

This commit is contained in:
deepch 2022-09-22 11:13:57 +03:00
parent 61aa8e4f72
commit 57a79ff9e2

View File

@ -202,7 +202,8 @@ func (self *Stream) fillTrackAtom() (err error) {
self.trackAtom.Media.Info.Video = &mp4io.VideoMediaInfo{ self.trackAtom.Media.Info.Video = &mp4io.VideoMediaInfo{
Flags: 0x000001, Flags: 0x000001,
} }
self.codecString = fmt.Sprintf("hvc1.%02X%02X%02X", codec.RecordInfo.AVCProfileIndication, codec.RecordInfo.ProfileCompatibility, codec.RecordInfo.AVCLevelIndication) //self.codecString = fmt.Sprintf("hvc1.%02X%02X%02X", codec.RecordInfo.AVCProfileIndication, codec.RecordInfo.ProfileCompatibility, codec.RecordInfo.AVCLevelIndication)
self.codecString = "hev1.1.6.L120.90"
} else if self.Type() == av.AAC { } else if self.Type() == av.AAC {
codec := self.CodecData.(aacparser.CodecData) codec := self.CodecData.(aacparser.CodecData)