ffmpeg

package
v0.0.0-...-22e0fe9 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RawMetadata

func RawMetadata(location string) (buf []byte, err error)

func TargetFormatByStream

func TargetFormatByStream(stream *FFProbeStream) (format string, err error)

Types

type FFProbeOutput

type FFProbeOutput struct {
	Streams []FFProbeStream `json:"streams"`
}

type FFProbeStream

type FFProbeStream struct {
	Index            uint8  `json:"index"`
	CodecName        string `json:"codec_name,omitempty"`
	CodecLongName    string `json:"codec_long_name,omitempty"`
	CodecType        string `json:"codec_type,omitempty"`
	SampleFmt        string `json:"sample_fmt,omitempty"`
	SampleRate       string `json:"sample_rate,omitempty"`
	Channels         uint8  `json:"channels,omitempty"`
	ChannelLayout    string `json:"channel_layout,omitempty"`
	BitsPerSample    uint8  `json:"bits_per_sample,omitempty"`
	BitsPerRawSample string `json:"bits_per_raw_sample,omitempty"`
}

Jump to

Keyboard shortcuts

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