Documentation
¶
Index ¶
Constants ¶
View Source
const ( BitrateModeMetadata = "metadata" BitrateModeSample = "sample" BitrateModeMetadataThenSample = "metadata_then_sample" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
FFprobePath string
FFmpegPath string
ProbeTimeout time.Duration
AnalyzeDurationUS int64
ProbeSizeBytes int64
BitrateMode string
SampleSeconds int
}
Config controls ffprobe/ffmpeg stream analysis behavior.
type FFmpegAnalyzer ¶
type FFmpegAnalyzer struct {
// contains filtered or unexported fields
}
FFmpegAnalyzer probes stream metadata using ffprobe and optional ffmpeg sampling.
func NewFFmpegAnalyzer ¶
func NewFFmpegAnalyzer(cfg Config) (*FFmpegAnalyzer, error)
NewFFmpegAnalyzer builds an analyzer with validated defaults.
Click to show internal directories.
Click to hide internal directories.