write

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ASS

func ASS(subs []subtitle.Subtitle, sty style.Style, vidInfo VideoInformation, path string) error

ASS saves subtitles with a given style to ASS format at path

Types

type VideoInformation

type VideoInformation interface {
	VideoPath() string
	VideoWidth() int
	VideoHeight() int
}

VideoInformation provides necessary info about the video for generating an

ASS file.

Jump to

Keyboard shortcuts

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