gui-for-ffmpeg/encoder/msvideo1/encoder.go

22 lines
463 B
Go
Raw Normal View History

package msvideo1
import encoder2 "git.kor-elf.net/kor-elf/gui-for-ffmpeg/encoder"
type encoder struct {
}
func NewEncoder() encoder2.EncoderContract {
return &encoder{}
}
func (e encoder) GetParams() []string {
return []string{"-c:v", "msvideo1"}
}
func NewData() encoder2.EncoderDataContract {
title := "msvideo1"
formats := []string{"avi"}
fileType := encoder2.FileType(encoder2.Video)
return encoder2.NewData(title, formats, fileType, NewEncoder)
}