Documentation
¶
Overview ¶
Package ffprobe runs the bundled ffprobe binary against an HTTP video URL and returns its embedded chapters. ffprobe reads container headers through byte ranges, so a large camera original is never downloaded completely.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶ added in v0.2.0
func RegisterRoutes(e *echo.Echo, diagnostic Diagnostic, curatorGuard echo.MiddlewareFunc)
Types ¶
type Chapter ¶
type Chapter struct {
Title string `json:"title"`
Start float64 `json:"start"`
End float64 `json:"end"`
}
Chapter is one read-only navigation segment, in seconds from the start.
type Command ¶
Command locates and bounds the ffprobe process. The zero value uses the ffprobe on PATH with a one-minute budget.
type Diagnostic ¶ added in v0.2.0
Diagnostic is the Settings seam for the chapter probe.
Click to show internal directories.
Click to hide internal directories.