Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FFmpeg ¶
type FFmpeg struct { Cmd *exec.Cmd Stdin io.WriteCloser Stdout, Stderr io.ReadCloser Buffer []byte }
func (*FFmpeg) SendBuffer ¶
Sends the buffer to the underlying FFMPEG process
type FFmpegStream ¶
type FFmpegStream struct { AudioEnabled bool // Used to turn on audio streaming // contains filtered or unexported fields }
func NewFFmpegStream ¶
func NewFFmpegStream(filename string, startTime time.Duration) (*FFmpegStream, error)
func (*FFmpegStream) Close ¶
func (f *FFmpegStream) Close()
func (*FFmpegStream) Fps ¶
func (f *FFmpegStream) Fps() int
func (*FFmpegStream) GetAudioStream ¶
func (f *FFmpegStream) GetAudioStream() chan [2]float64
Click to show internal directories.
Click to hide internal directories.