Documentation ¶
Index ¶
- func ConvertAndTag(in Probe, tags t.Tags) (string, error)
- func Fade(in Probe, out string, up, down float64) error
- func Trim(in Probe, out string, start, stop float64) error
- func TrimWithFade(in Probe, out string, start, stop, up, down float64) error
- func Watch(path string)
- type FPrint
- type Format
- type IdError
- type IdResult
- type IdResults
- type Probe
- func (pr Probe) FullTags() tags.Tags
- func (p Probe) GetAudioCount() int
- func (p Probe) GetAudioStreams() []*Stream
- func (p Probe) GetFirstAcceptableAudio() *Stream
- func (p Probe) GetFirstAudio() *Stream
- func (p Probe) GetFirstPreferredAudio() *Stream
- func (pr Probe) ShortPath() string
- func (pr Probe) Title() string
- func (pr Probe) WantedAudioStream() *Stream
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FPrint ¶
func Fingerprint ¶
type Format ¶
type Format struct { Path string `json:"filename"` Streams int `json:"nb_streams"` FormatName string `json:"format_name"` FormatLongName string `json:"format_long_name"` StartTime float64 `json:"start_time,string"` Duration float64 `json:",string"` Size int `json:",string"` BitRate int `json:"bit_rate,string"` Score int `json:"probe_score"` Tags tags.Tags }
type IdResults ¶
func LookupFingerprint ¶
type Probe ¶
func (Probe) GetAudioCount ¶
func (Probe) GetAudioStreams ¶
func (Probe) GetFirstAcceptableAudio ¶
func (Probe) GetFirstAudio ¶
func (Probe) GetFirstPreferredAudio ¶
func (Probe) WantedAudioStream ¶
type Stream ¶
type Stream struct { Index int CodecName string `json:"codec_name"` CodecLongName string `json:"codec_long_name"` Profile string CodecType string `json:"codec_type"` CodecTag string `json:"codec_tag_string"` Width int Height int StartTime float64 `json:"start_time,string"` Duration float64 `json:",string"` DurationTs int `json:"duration_ts"` Tags tags.Tags }
Click to show internal directories.
Click to hide internal directories.