ffmpeg

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AVFormatDeinit

func AVFormatDeinit()

func AVFormatInit

func AVFormatInit()

Register and Deregister

Types

type AVFormatContext

type AVFormatContext C.struct_AVFormatContext

func NewAVFormatContext

func NewAVFormatContext() *AVFormatContext

NewAVFormatContext creates a new format context

func (*AVFormatContext) CloseInput

func (this *AVFormatContext) CloseInput()

Close Input

func (*AVFormatContext) Filename

func (this *AVFormatContext) Filename() string

Return Filename

func (*AVFormatContext) Free

func (this *AVFormatContext) Free()

Free AVFormatContext

func (*AVFormatContext) Metadata

func (this *AVFormatContext) Metadata() *AVDictionary

Return Metadata Dictionary

func (*AVFormatContext) NumStreams

func (this *AVFormatContext) NumStreams() uint

Return number of streams

func (*AVFormatContext) OpenInput

func (this *AVFormatContext) OpenInput(filename string, input_format *AVInputFormat) error

Open Input

func (*AVFormatContext) Streams

func (this *AVFormatContext) Streams() []*AVStream

Return Streams

type AVIOFlags

type AVIOFlags int
const (
	AVIO_FLAG_NONE       AVIOFlags = 0
	AVIO_FLAG_READ       AVIOFlags = 1
	AVIO_FLAG_WRITE      AVIOFlags = 2
	AVIO_FLAG_READ_WRITE AVIOFlags = (AVIO_FLAG_READ | AVIO_FLAG_WRITE)
)

type AVInputFormat

type AVInputFormat C.struct_AVInputFormat

func EnumerateInputFormats

func EnumerateInputFormats() []*AVInputFormat

Return input formats

func (*AVInputFormat) Description

func (this *AVInputFormat) Description() string

func (*AVInputFormat) Ext

func (this *AVInputFormat) Ext() string

func (*AVInputFormat) MimeType

func (this *AVInputFormat) MimeType() string

func (*AVInputFormat) Name

func (this *AVInputFormat) Name() string

func (*AVInputFormat) String

func (this *AVInputFormat) String() string

type AVOutputFormat

type AVOutputFormat C.struct_AVOutputFormat

func EnumerateOutputFormats

func EnumerateOutputFormats() []*AVOutputFormat

Return output formats

func (*AVOutputFormat) Description

func (this *AVOutputFormat) Description() string

func (*AVOutputFormat) Ext

func (this *AVOutputFormat) Ext() string

func (*AVOutputFormat) MimeType

func (this *AVOutputFormat) MimeType() string

func (*AVOutputFormat) Name

func (this *AVOutputFormat) Name() string

func (*AVOutputFormat) String

func (this *AVOutputFormat) String() string

type AVStream

type AVStream C.struct_AVStream

func (*AVStream) Id

func (this *AVStream) Id() int

func (*AVStream) Index

func (this *AVStream) Index() int

func (*AVStream) Metadata

func (this *AVStream) Metadata() *AVDictionary

func (*AVStream) String

func (this *AVStream) String() string

Jump to

Keyboard shortcuts

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