subkers

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 12 Imported by: 0

README

Subkers

How to convert subtitles to markers

How to Use

How to use markers in Adobe Audition

How to Use in Audition

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAll

func WriteAll(markers []Marker, writer io.Writer) error

WriteAll markers to writer

Types

type Marker

type Marker struct {
	StartAt  time.Duration
	Duration time.Duration
	Lines    []string
}

Marker structure for Audition

func Process

func Process(filename string) ([]Marker, error)

Process subtitles file to .csv format (markers) for Adobe Audition

func ProcessSpecific

func ProcessSpecific(subtitlesType SubtitleType, reader io.Reader) ([]Marker, error)

ProcessSpecific process specific extension subtitles to .csv format (markers) for Adobe Audition

type SubtitleType

type SubtitleType int

SubtitleType needed for ProcessSpecific

const (
	SRT SubtitleType = iota
	SSA
	ASS
	STL
	TTML
	WebVVT
)

func SubtitlesType added in v0.2.0

func SubtitlesType(ext string) (SubtitleType, error)

SubtitlesType returns SubtitleType from string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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