cup

package module
v0.0.0-...-98f9077 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 8 Imported by: 0

README

cup(conversion upload)

Is a video transfer to m3u8 then add to ipfs service.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DummySlice

func DummySlice(ctx context.Context, s []byte) (f string, e error)

DummySlice ...

func IsMedia

func IsMedia(format *fftool.StreamFormat) bool

IsMedia ...

func TaskInit

func TaskInit(cfg *config.Config)

TaskInit ...

func TaskSlice

func TaskSlice(ctx context.Context, s []byte) (f string, e error)

TaskSlice ...

Types

type Fragment

type Fragment struct {
	Scale     config.Scale
	Output    string
	Input     string
	Sharpness string
}

Fragment ...

func Slice

func Slice(ctx context.Context, s *config.SliceConfig) (f *Fragment, e error)

Slice ...

func (*Fragment) JSON

func (f *Fragment) JSON() (string, error)

JSON ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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