video

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 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