ffmeta

package
v0.1.47 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const FFmetaComment = ";FFMETADATA1\n"

Variables

This section is empty.

Functions

func Dump added in v0.1.45

func Dump(meta avtools.Meta) []byte

func IsFFMeta added in v0.1.45

func IsFFMeta(f fidi.File) bool

func Load added in v0.1.45

func Load(input string) (avtools.Metaz, error)

Types

type FFMeta added in v0.1.45

type FFMeta struct {
	fidi.File
	// contains filtered or unexported fields
}

func (FFMeta) Chapters added in v0.1.45

func (ff FFMeta) Chapters() []avtools.ChapterMeta

func (FFMeta) Source added in v0.1.45

func (ff FFMeta) Source() fidi.File

func (FFMeta) Streams added in v0.1.45

func (ff FFMeta) Streams() []map[string]string

func (FFMeta) Tags added in v0.1.45

func (ff FFMeta) Tags() map[string]string

type FFMetaChapter added in v0.1.45

type FFMetaChapter struct {
	Base      string  `ini:"TIMEBASE"`
	StartTime float64 `ini:"START"`
	EndTime   float64 `ini:"END"`
	ChTitle   string  `ini:"title"`
}

func (FFMetaChapter) End added in v0.1.45

func (ch FFMetaChapter) End() time.Duration

func (FFMetaChapter) Start added in v0.1.45

func (ch FFMetaChapter) Start() time.Duration

func (FFMetaChapter) Title added in v0.1.45

func (ch FFMetaChapter) Title() string

Jump to

Keyboard shortcuts

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