Documentation
¶
Index ¶
- type Transcoder
- func (t *Transcoder) SetInput(input io.Reader) *Transcoder
- func (t *Transcoder) SetInputPath(inputPath string) *Transcoder
- func (t *Transcoder) SetOutput(output io.Writer) *Transcoder
- func (t *Transcoder) SetOutputPath(outputPath string) *Transcoder
- func (t *Transcoder) SetRate(rate int) *Transcoder
- func (t *Transcoder) To(format string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transcoder ¶
type Transcoder struct { InputPath string OutputPath string Input io.Reader Output io.Writer Rate int }
func (*Transcoder) SetInput ¶
func (t *Transcoder) SetInput(input io.Reader) *Transcoder
func (*Transcoder) SetInputPath ¶
func (t *Transcoder) SetInputPath(inputPath string) *Transcoder
func (*Transcoder) SetOutput ¶
func (t *Transcoder) SetOutput(output io.Writer) *Transcoder
func (*Transcoder) SetOutputPath ¶
func (t *Transcoder) SetOutputPath(outputPath string) *Transcoder
func (*Transcoder) SetRate ¶
func (t *Transcoder) SetRate(rate int) *Transcoder
Click to show internal directories.
Click to hide internal directories.