fmp4Tomp4

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileAutoClose = errors.New("file AutoClose must false")
	ErrSeed          = errors.New("ErrSeed")
	ErrWrite         = errors.New("ErrWrite")
)
View Source
var (
	ErrParse = errors.New("ErrParse")
)

Functions

func NewBoxWriter

func NewBoxWriter(f *file.File) (t *boxWriter, err error)

func NewReader

func NewReader(f *file.File) (*reader, error)

Types

type Box

type Box struct {
	Name       string
	Size       int64
	HeaderSize int64
	Index      int64
}

type BoxReader

type BoxReader struct {
	Buf []byte
}

func (*BoxReader) I32

func (t *BoxReader) I32(offset int) int32

func (*BoxReader) I64

func (t *BoxReader) I64(offset int) int64

type Sign

type Sign struct {
	// contains filtered or unexported fields
}

直接保存下来的mp4在chrome上无法直接播放

https://serverfault.com/questions/738881/chrome-makes-way-too-many-requests-22000-while-downloading-mp4-video-34mb

type Track

type Track struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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