transcoder.go 341 B

1234567891011121314
  1. package transcoder
  2. import "io"
  3. // Transcoder ...
  4. type Transcoder interface {
  5. Start(opts Options) (<-chan Progress, error)
  6. Input(i string) Transcoder
  7. InputPipe(w *io.WriteCloser, r *io.ReadCloser) Transcoder
  8. Output(o string) Transcoder
  9. OutputPipe(w *io.WriteCloser, r *io.ReadCloser) Transcoder
  10. WithOptions(opts Options) Transcoder
  11. }