8000 GitHub - gomaps/mp4info-go: Pure Golang to obtain MP4 video duration information · GitHub
[go: up one dir, main page]

Skip to content
forked from akkuman/mp4info

About

Pure Golang to obtain MP4 video duration information

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

说明

主要是参考了mp4的格式文档,简易实现了一下获取视频时长

导入这个包,然后调用GetMP4Duration方法即可,只需要实现了 io.ReaderAt 接口即可

// GetMP4Duration 获取视频时长,以秒计
func GetMP4Duration(reader io.ReaderAt) (lengthOfTime uint32, err error)

About

Pure Golang to obtain MP4 video duration information

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0