pub enum ChunkSeamMode {
Parallel,
ParallelConstQp,
Serial,
}Expand description
How the multi-GPU single-file path keeps quality consistent across the chunk seams it stitches into one continuous video.
Only relevant when more than one GPU encodes a single file (the AllGpus /
Family policies on a multi-GPU host); single-GPU hosts, SingleGpu, and
HLS (whose segments are independent by design) are unaffected. AMD (AMF) and
Intel (QSV) chunks are already constant-QP, so their seams are quality-flat
— this chiefly governs NVENC, which otherwise runs VBR per chunk and can
leave a mild quality step at the ~2 s boundaries.
Variants§
Parallel
Default. Chunk across GPUs for throughput; each chunk uses its encoder’s normal rate control (VBR on NVENC). Fastest; NVENC may show mild quality steps at the seams on complex content.
ParallelConstQp
Chunk across GPUs but force constant-QP so the seams are
quality-flat, keeping the multi-GPU speedup. The QP is derived from the
QualityTarget (via the per-encoder tuning CQ), so quality still tracks
the target — the hand-rolled NVENC sets a real const-QP rather than a
preset default. AMD/QSV are unchanged (already constant-QP).
Serial
Encode the whole file with one encoder — seam-free and
QualityTarget-accurate, at the cost of the multi-GPU single-file
speedup. (Like SingleGpu, but leaves multi-GPU in place for HLS jobs.)
Trait Implementations§
Source§impl Clone for ChunkSeamMode
impl Clone for ChunkSeamMode
Source§fn clone(&self) -> ChunkSeamMode
fn clone(&self) -> ChunkSeamMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ChunkSeamMode
Source§impl Debug for ChunkSeamMode
impl Debug for ChunkSeamMode
Source§impl Default for ChunkSeamMode
impl Default for ChunkSeamMode
Source§fn default() -> ChunkSeamMode
fn default() -> ChunkSeamMode
impl Eq for ChunkSeamMode
Source§impl PartialEq for ChunkSeamMode
impl PartialEq for ChunkSeamMode
Source§fn eq(&self, other: &ChunkSeamMode) -> bool
fn eq(&self, other: &ChunkSeamMode) -> bool
self and other values to be equal, and is used by ==.