video

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMP4Duration

func GetMP4Duration(filepath string) (lengthOfTime uint32, err error)

GetMP4Duration 获取视频时长,以秒计

Types

type BoxHeader

type BoxHeader struct {
	Size       uint32
	FourccType [4]byte
	Size64     uint64
}

BoxHeader 信息头

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL