mp4f

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package mp4f Created by RTT. Author: teocci@yandex.com on 2021-Oct-27

Package mp4f Created by RTT. Author: teocci@yandex.com on 2021-Oct-27

Package mp4f Created by RTT. Author: teocci@yandex.com on 2021-Oct-27

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutU32BE

func PutU32BE(b []byte, v uint32)

PutU32BE func

Types

type FDummy

type FDummy struct {
	Data []byte
	Tag_ mp4io.Tag
	mp4io.AtomPos
}

func (FDummy) Children

func (self FDummy) Children() []mp4io.Atom

func (FDummy) Len

func (self FDummy) Len() int

func (FDummy) Marshal

func (self FDummy) Marshal(b []byte) int

func (FDummy) Tag

func (self FDummy) Tag() mp4io.Tag

func (FDummy) Unmarshal

func (self FDummy) Unmarshal(b []byte, offset int) (n int, err error)

type Muxer

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

func NewMuxer

func NewMuxer(w *os.File) *Muxer

func (*Muxer) Finalize

func (element *Muxer) Finalize() []byte

func (*Muxer) GetInit

func (element *Muxer) GetInit(streams []av.CodecData) (string, []byte)

func (*Muxer) SetIndex

func (element *Muxer) SetIndex(val int)

func (*Muxer) SetMaxFrames

func (self *Muxer) SetMaxFrames(count int)

func (*Muxer) SetPath

func (self *Muxer) SetPath(path string)

func (*Muxer) WriteHeader

func (element *Muxer) WriteHeader(streams []av.CodecData) (err error)

func (*Muxer) WritePacket

func (element *Muxer) WritePacket(pkt av.Packet, GOP bool) (bool, []byte, error)

func (*Muxer) WritePacket4

func (element *Muxer) WritePacket4(pkt av.Packet) error

func (*Muxer) WriteTrailer

func (self *Muxer) WriteTrailer() (err error)

type Stream

type Stream struct {
	av.CodecData
	// contains filtered or unexported fields
}

Directories

Path Synopsis
Package mp4fio Created by RTT.
Package mp4fio Created by RTT.

Jump to

Keyboard shortcuts

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