Skip to content

Commit

Permalink
test h265
Browse files Browse the repository at this point in the history
  • Loading branch information
deepch committed Sep 22, 2022
1 parent a027ba9 commit b31edcc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codec/h265parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"bytes"
"errors"
"fmt"
"time"

"github.com/deepch/vdk/av"
"github.com/deepch/vdk/utils/bits"
"github.com/deepch/vdk/utils/bits/pio"
"time"
)

type SPSInfo struct {
Expand Down Expand Up @@ -462,7 +463,8 @@ func (self CodecData) Resolution() string {
}

func (self CodecData) Tag() string {
return fmt.Sprintf("hvc1.%02X%02X%02X", self.RecordInfo.AVCProfileIndication, self.RecordInfo.ProfileCompatibility, self.RecordInfo.AVCLevelIndication)
//return fmt.Sprintf("hvc1.%02X%02X%02X", self.RecordInfo.AVCProfileIndication, self.RecordInfo.ProfileCompatibility, self.RecordInfo.AVCLevelIndication)
return "hev1.1.6.L120.90"
}

func (self CodecData) Bandwidth() string {
Expand Down

0 comments on commit b31edcc

Please sign in to comment.