video

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Duration time.Duration `json:"duration"`
	FileSize int64         `json:"fileSize"`
	Video    videoInfo     `json:"video"`
	Audio    audioInfo     `json:"audio"`
}

Info includes some general information about the video file.

func GetInfo

func GetInfo(file string) (*Info, error)

GetInfo returns the information about the given video file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL