internal/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MPL-2.0

Directories

Path Synopsis
Package config reads the live worker's configuration from the environment (every variable is listed in the README).
Package config reads the live worker's configuration from the environment (every variable is listed in the README).
Package media holds what every live encode agrees on, whichever process runs it: the frame a rung encodes, the encoder settings, the AAC frame grid and the frame rate written into the SPS.
Package media holds what every live encode agrees on, whichever process runs it: the frame a rung encodes, the encoder settings, the AAC frame grid and the frame rate written into the SPS.
Package paths keeps a worker's sources inside its media roots: a request names a file by its path, and nothing but a regular file under one of the roots (after symbolic links) is opened.
Package paths keeps a worker's sources inside its media roots: a request names a file by its path, and nothing but a regular file under one of the roots (after symbolic links) is opened.
Package procstat reads a process's resident set: on Linux from /proc, elsewhere from ps(1).
Package procstat reads a process's resident set: on Linux from /proc, elsewhere from ps(1).
Package seg reads a package rendition: its media playlist, its header's timeline and edit list, and its segments' exact boundaries.
Package seg reads a package rendition: its media playlist, its header's timeline and edit list, and its segments' exact boundaries.
Package subtitle turns the packets of a text subtitle stream into a WebVTT document: SubRip, ASS/SSA, WebVTT, mov_text and plain text, as a stream origin serves an original's embedded subtitles.
Package subtitle turns the packets of a text subtitle stream into a WebVTT document: SubRip, ASS/SSA, WebVTT, mov_text and plain text, as a stream origin serves an original's embedded subtitles.
Package supervisor is the live worker's front: one process that owns N warm worker processes, one per encode slot, and answers the API of package api for them.
Package supervisor is the live worker's front: one process that owns N warm worker processes, one per encode slot, and answers the API of package api for them.
Package testpkg cuts a track of a progressive MP4 into a CMAF/HLS rendition as a packager does, for the tests: segments of about segSec seconds (video: each starting at a sync sample), the samples' decode times and composition offsets copied unchanged, an EXT-X-MAP header, EXTINF durations, and an edit list in the header:
Package testpkg cuts a track of a progressive MP4 into a CMAF/HLS rendition as a packager does, for the tests: segments of about segSec seconds (video: each starting at a sync sample), the samples' decode times and composition offsets copied unchanged, an EXT-X-MAP header, EXTINF durations, and an edit list in the header:
Package worker is one warm live-rung worker process: a long-lived process that keeps its GPU context (CUDA, when the machine has one) and makes one job at a time through the media libraries (go-astiav on FFmpeg 7.1): decode, scale, tone-map and encode in-process, the CMAF written in Go.
Package worker is one warm live-rung worker process: a long-lived process that keeps its GPU context (CUDA, when the machine has one) and makes one job at a time through the media libraries (go-astiav on FFmpeg 7.1): decode, scale, tone-map and encode in-process, the CMAF written in Go.
ffx
Package ffx fills the gaps of the go-astiav binding (v0.39.0, the last release for FFmpeg 7.x) the worker needs, with small cgo calls into the same libraries.
Package ffx fills the gaps of the go-astiav binding (v0.39.0, the last release for FFmpeg 7.x) the worker needs, with small cgo calls into the same libraries.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL