Documentation
¶
Index ¶
- Variables
- func ImageMimeType(ext string) string
- type Attachment
- type Chapter
- type ChapterMode
- type Date
- type File
- func (f *File) NewTrack(trackID uint, language Language) *Track
- func (f *File) NoAttachments()
- func (f *File) NoAudio()
- func (f *File) NoChapters()
- func (f *File) NoSubtitle()
- func (f *File) NoTags()
- func (f *File) NoVideo()
- func (f *File) SetAudioTracks(track ...string)
- func (f *File) SetButtonTracks(track ...string)
- func (f *File) SetSubtitleTracks(track ...string)
- func (f *File) SetVideoTracks(track ...string)
- type Global
- func (g *Global) AddChapterFile(s string) *Chapter
- func (g *Global) AddCoverArt(s string)
- func (g *Global) AddFont(s string) *Attachment
- func (g *Global) AddFontFolder(d string)
- func (g *Global) SetExecPath(s string)
- func (g *Global) SetNextUID(s Hex)
- func (g *Global) SetPreviousUID(s Hex)
- func (g *Global) SetTitle(s string)
- type Hex
- type Language
- type Merge
- type NoType
- type Property
- func (p *Property) SetDate(date Date)
- func (p *Property) SetMuxingApp(s string)
- func (p *Property) SetNextFilename(s string)
- func (p *Property) SetPreviousFilename(s string)
- func (p *Property) SetSegmentFilename(s string)
- func (p *Property) SetSegmentUID(s Hex)
- func (p *Property) SetWritingApp(s string)
- type Track
Constants ¶
This section is empty.
Variables ¶
var MkvExec string
var MkvExecPath string
var Options []string
Functions ¶
func ImageMimeType ¶
Types ¶
type Attachment ¶
type Attachment struct {
// contains filtered or unexported fields
}
type Chapter ¶
type Chapter struct {
// contains filtered or unexported fields
}
func (*Chapter) SetChapterCharset ¶
func (*Chapter) SetChapterLanguage ¶
type ChapterMode ¶
type ChapterMode struct {
// contains filtered or unexported fields
}
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) NoAttachments ¶
func (f *File) NoAttachments()
func (*File) NoChapters ¶
func (f *File) NoChapters()
func (*File) NoSubtitle ¶
func (f *File) NoSubtitle()
func (*File) SetAudioTracks ¶
func (*File) SetButtonTracks ¶
func (*File) SetSubtitleTracks ¶
func (*File) SetVideoTracks ¶
type Global ¶
type Global struct {
// contains filtered or unexported fields
}
func (*Global) AddChapterFile ¶
func (*Global) AddCoverArt ¶
func (*Global) AddFont ¶
func (g *Global) AddFont(s string) *Attachment
func (*Global) AddFontFolder ¶
func (*Global) SetExecPath ¶
func (*Global) SetNextUID ¶
Merge: Link the last file to the given SID.
Propedit: Next segment's unique ID: A unique ID to identify the next chained segment (Hex 32 bits).
func (*Global) SetPreviousUID ¶
Merge: Link the first file to the given SID.
Propedit: Previous segment's unique ID: A unique ID to identify the previous chained segment (Hex 32 bits).
type Merge ¶
type Merge struct { *Global // contains filtered or unexported fields }
func (*Merge) ShowCommand ¶
func (m *Merge) ShowCommand()
type Property ¶
type Property struct { *Global // contains filtered or unexported fields }
func NewPropedit ¶
func NewPropedit() *Property
func (*Property) SetMuxingApp ¶
Multiplexing application: The name of the application or library used for multiplexing the file.
func (*Property) SetNextFilename ¶
Next filename: An escaped filename corresponding to the next segment.
func (*Property) SetPreviousFilename ¶
Previous filename: An escaped filename corresponding the next segment.
func (*Property) SetSegmentFilename ¶
Segment filename: The file name for this segment.
func (*Property) SetSegmentUID ¶
Segment unique ID: A randomly generated unique ID to identify the current segment between many others (Hex 32 bits).
func (*Property) SetWritingApp ¶
Writing application: The name of the application or library used for writing the file.