Documentation ¶
Index ¶
- func BuildFlags(fileName string, tempFileName string, metadata *models.FileMetadata) []string
- func HookTermination(c *exec.Cmd, stopTranscoder chan bool, done chan bool, tempFileName string)
- func OutputToReport(lines []string) *models.ProgressReport
- func ReadError(pipe io.ReadCloser)
- func ReadFileMetadata(file string) (*models.FileMetadata, error)
- func ReadOut(pipe io.ReadCloser, filename string, metadata *models.FileMetadata, ...)
- func TranscodeFile(fileName string, tempFileName string, metadata *models.FileMetadata, ...) (bool, *models.ProgressReport, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFlags ¶
func BuildFlags(fileName string, tempFileName string, metadata *models.FileMetadata) []string
func HookTermination ¶
func OutputToReport ¶
func OutputToReport(lines []string) *models.ProgressReport
func ReadError ¶
func ReadError(pipe io.ReadCloser)
func ReadFileMetadata ¶
func ReadFileMetadata(file string) (*models.FileMetadata, error)
func ReadOut ¶
func ReadOut(pipe io.ReadCloser, filename string, metadata *models.FileMetadata, stopTranscoder chan bool)
func TranscodeFile ¶
func TranscodeFile(fileName string, tempFileName string, metadata *models.FileMetadata, skip chan bool) (bool, *models.ProgressReport, bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.