Documentation
¶
Index ¶
- Constants
- type MediaInfo
- func (mi *MediaInfo) AudioCount() int
- func (mi *MediaInfo) AvailableParameters() string
- func (mi *MediaInfo) Close()
- func (mi *MediaInfo) Get(typ uint32, param string) (result string)
- func (mi *MediaInfo) ImageCount() int
- func (mi *MediaInfo) Inform() (result string)
- func (mi *MediaInfo) OpenFile(path string) error
- func (mi *MediaInfo) OpenMemory(bytes []byte) error
- func (mi *MediaInfo) Option(option string, value string) (result string)
- func (mi *MediaInfo) StreamCount(typ string) int
- func (mi *MediaInfo) TextCount() int
- func (mi *MediaInfo) VideoCount() int
Constants ¶
View Source
const ( General = C.MediaInfo_Stream_General Video = C.MediaInfo_Stream_Video Audio = C.MediaInfo_Stream_Audio Image = C.MediaInfo_Stream_Image Text = C.MediaInfo_Stream_Text )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaInfo ¶
type MediaInfo struct {
// contains filtered or unexported fields
}
MediaInfo - represents MediaInfo class, all interaction with libmediainfo through it
func (*MediaInfo) AudioCount ¶
AudioCount returns count of audio streams
func (*MediaInfo) AvailableParameters ¶
AvailableParameters returns string with all available Get params and it's descriptions
func (*MediaInfo) ImageCount ¶
ImageCount returns count of images
func (*MediaInfo) OpenMemory ¶
OpenMemory - opens memory buffer
func (*MediaInfo) StreamCount ¶
StreamCount returns count of streams
func (*MediaInfo) VideoCount ¶
VideoCount returns count of video streams
Click to show internal directories.
Click to hide internal directories.