Documentation
¶
Index ¶
- Constants
- func DumpCueSheet(file string, meta avtools.Meta) []byte
- func DumpFFMeta(file string) *ff.Cmd
- func DumpIni(meta avtools.Meta) []byte
- func Inc(n int) int
- type CueSheet
- func (cue CueSheet) Chapters() []*avtools.Chapter
- func (cue CueSheet) Dump() []byte
- func (cue CueSheet) Save() error
- func (cue CueSheet) SaveAs(name string) error
- func (cue CueSheet) Streams() []map[string]string
- func (cue CueSheet) Tags() map[string]string
- func (cue CueSheet) Write(wr io.Writer) error
- type FFMeta
- type FFMetaChapter
- type ProbeChapter
- type ProbeFormat
- type ProbeMeta
Constants ¶
View Source
const FFmetaComment = ";FFMETADATA1\n"
Variables ¶
This section is empty.
Functions ¶
func DumpFFMeta ¶
Types ¶
type FFMetaChapter ¶
type FFMetaChapter struct { Base string `ini:"TIMEBASE"` Start int `ini:"START"` End int `ini:"END"` Title string `ini:"title"` }
func (FFMetaChapter) Timebase ¶
func (ch FFMetaChapter) Timebase() int
type ProbeChapter ¶
type ProbeChapter struct { Base string `json:"time_base" ini:"TIMEBASE"` Start string `json:"start_time" ini:"START"` End string `json:"end_time" ini:"END"` ChapterTitle string `ini:"title"` Tags map[string]string `json:"tags"` }
func (ProbeChapter) Timebase ¶
func (c ProbeChapter) Timebase() int
func (ProbeChapter) Title ¶
func (c ProbeChapter) Title() string
type ProbeFormat ¶
type ProbeMeta ¶
type ProbeMeta struct { StreamEntry []map[string]any `json:"streams"` Format ProbeFormat `json:"format"` ChapterEntry []ProbeChapter `json:"chapters"` }
Click to show internal directories.
Click to hide internal directories.