Documentation
¶
Overview ¶
Package ffmpegstream delivers outputs from one FFmpeg input traversal to independent, bounded consumers over private, child-authenticated pipes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachPipes ¶
AttachPipes installs write ends before Start. cmd must have no existing ExtraFiles.
func ClosePipes ¶
func ClosePipes(pipes []Pipe)
ClosePipes releases listeners and any pipe ends not transferred to consumers.
Types ¶
type Output ¶
Output supplies backend-owned output arguments, excluding the destination. Consume must read to EOF. An unsuccessful consumer is drained so siblings can finish; cancellation closes every pipe and waits for the child.
type Pipe ¶
type Pipe struct {
// contains filtered or unexported fields
}
Pipe owns one child's output stream. Use NewPipes to initialize it.
func (*Pipe) Destination ¶
type Result ¶
Result distinguishes consumer failures from a failed shared process.