mp4

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HeadersMP4 []string = []string{
	"ftypisom",
	"ftypmp42",
}

Functions

func CheckVideo

func CheckVideo(readSeeker io.ReadSeeker) (string, bool)

CheckVideo 判断给定视频流是否为合法视频

func EncoderMP4

func EncoderMP4(data []byte) ([]byte, error)

EncoderMP4 编码为 MP4

func IsMP4

func IsMP4(file []byte) bool

IsMP4 判断是否为 MP4 文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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