tfhd

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: OSL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Box

type Box struct {
	BoxHeader              sofia.BoxHeader
	FullBoxHeader          sofia.FullBoxHeader
	TrackId                uint32
	BaseDataOffset         uint64
	SampleDescriptionIndex uint32
	DefaultSampleDuration  uint32
	DefaultSampleSize      uint32
	DefaultSampleFlags     uint32
}

ISO/IEC 14496-12

aligned(8) class TrackFragmentHeaderBox extends FullBox(
   'tfhd', 0, tf_flags
) {
   unsigned int(32) track_ID;
   // all the following are optional fields
   // their presence is indicated by bits in the tf_flags
   unsigned int(64) base_data_offset;
   unsigned int(32) sample_description_index;
   unsigned int(32) default_sample_duration;
   unsigned int(32) default_sample_size;
   unsigned int(32) default_sample_flags;
}

func (*Box) Append added in v1.6.3

func (b *Box) Append(buf []byte) ([]byte, error)

func (*Box) Read

func (b *Box) Read(buf []byte) error

Jump to

Keyboard shortcuts

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