audioInfo

package
Version: v0.0.0-...-d98ca20 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExtension

func GetExtension(name string) (string, error)

GetExtension extracts extension from ffmpeg

func GetReplayGain

func GetReplayGain(name string) (float64, error)

GetReplayGain extracts volume normalization info with ffmpeg -af volumedetect

Types

type Info

type Info struct {
	//Duration is in seconds
	Duration int
	Artist   string
	Title    string
}

Info holds data from GetInfo

func GetInfo

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

GetInfo extracts some data from ffprobe

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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