zip2mp4

package
v0.0.0-...-e300b18 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(fileName string) (err error)

func ConvertDB

func ConvertDB(fileName, ext string, skipHb bool) (done bool, nMp4s int, err error)

func ExtractChunks

func ExtractChunks(fileName string, skipHb bool) (done bool, err error)

func FFmpegExists

func FFmpegExists() bool

func GetFormat

func GetFormat(fileName string) (vFormat, aFormat string)

func MergeVA

func MergeVA(vFileName, aFileName, oFileName string) bool

func YtComment

func YtComment(fileName string) (done bool, err error)

Types

type Chunk

type Chunk struct {
	VideoIndex *Index
	AudioIndex *Index
	VAIndex    *Index
}

type Index

type Index struct {
	// contains filtered or unexported fields
}

type ZipMp4

type ZipMp4 struct {
	ZipName       string
	Mp4NameOpened string

	FFMpeg  *exec.Cmd
	FFStdin io.WriteCloser
	// contains filtered or unexported fields
}

func (*ZipMp4) CloseFFInput

func (z *ZipMp4) CloseFFInput()

func (*ZipMp4) FFInput

func (z *ZipMp4) FFInput(rdr io.Reader)

func (*ZipMp4) FFInputCombFromFile

func (z *ZipMp4) FFInputCombFromFile(videoFile, audioFile string)

func (*ZipMp4) OpenFFMpeg

func (z *ZipMp4) OpenFFMpeg(ext string)

func (*ZipMp4) Wait

func (z *ZipMp4) Wait()

Jump to

Keyboard shortcuts

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