ffprobe

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BASE_PATH  = "importer/ffprobe/data/"
	AUDIO_FILE = BASE_PATH + "audio.csv"
	VIDEO_FILE = BASE_PATH + "video.csv"
)

Variables

This section is empty.

Functions

func Analyze

func Analyze()

func Init

func Init() (time.Time, *events.BufferedEmitter)

func Shutdown

func Shutdown()

Types

type AugmentedFile

type AugmentedFile struct {
	*models.File
	*FFPData
}

type FFPData

type FFPData struct {
	Duration    float64
	BitRate     int
	AspectRatio string
	Resolution  string
	VideoSize   string
}

func (*FFPData) ToMap

func (d *FFPData) ToMap() map[string]interface{}

Jump to

Keyboard shortcuts

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