Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeExtension ¶
func ChangeLocation ¶
func FileExists ¶
func GetRelative ¶
Types ¶
type VideoFormat ¶
type VideoFormat struct { FileName string `json:"filename"` BitRate string `json:"bit_rate"` FormatLongName string `json:"format_long_name"` FormatName string `json:"format_name"` ProbeScore int `json:"probe_score"` Programs int `json:"nb_programs"` Size string `json:"size"` Duration string `json:"duration"` StartTime string `json:"start_time"` Streams int `json:"nb_streams"` Tags map[string]string `json:"tags"` }
type VideoInfo ¶
type VideoInfo struct { Streams []VideoStream `json:"streams"` Format VideoFormat `json:"format"` }
func GetVideoInfo ¶
type VideoStream ¶
type VideoStream struct { CodecName string `json:"codec_name"` CodecType string `json:"codec_type"` CodecLongName string `json:"codec_long_name"` CodecTag string `json:"codec_tag"` CodecTagString string `json:"codec_tag_string"` Index int `json:"index"` Profile string `json:"profile"` Tags map[string]string `json:"tags"` }
func GetAudioStreams ¶
func GetAudioStreams(source string) (list []VideoStream, err error)
Click to show internal directories.
Click to hide internal directories.