Skip to content

Commit

Permalink
h264: support 4K videos encoded with tune=zerolatency (bluenviron/med…
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Apr 26, 2024
1 parent 38ee240 commit dbd9d73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/codecs/h264/h264.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ const (
MaxAccessUnitSize = 8 * 1024 * 1024

// MaxNALUsPerAccessUnit is the maximum number of NALUs per access unit.
MaxNALUsPerAccessUnit = 21
// with x264, tune=zerolatency and 4K resolution, NALU count is lower than 25.
MaxNALUsPerAccessUnit = 25
)

0 comments on commit dbd9d73

Please sign in to comment.