Skip to main content

Module concat_transcode

Module concat_transcode 

Source
Expand description

Concatenation and joining of multiple media sources. Concatenation and joining of multiple media sources into a single output.

Handles cross-format joining with optional transition effects between segments, automatic audio/video alignment, and gap filling.

§Mixed-Source Concatenation

MixedSourceConcatenator handles sequences where sources have different resolutions, frame rates, or codecs. It analyses each source segment, determines whether re-encoding is required, and produces a ConcatPlan that the caller can execute.

Structs§

AnnotatedSegment
A ConcatSegment annotated with its probed source properties.
ConcatConfig
Overall concat job configuration.
ConcatPlan
A fully-resolved plan for concatenating mixed-source segments.
ConcatResult
Result of a concat operation.
ConcatSegment
A single input segment in the concat list.
ConcatStep
A single step in a ConcatPlan.
MixedSourceConcatenator
Analyses a list of annotated source segments and produces a ConcatPlan that handles mixed resolutions, frame rates, and codecs.
SourceProperties
Codec and format properties of a single source segment.

Enums§

ConformStrategy
Strategy for handling format mismatches between segments.
TransitionKind
Transition type between consecutive segments.

Functions§

validate_concat
Validate a concat configuration and return a list of issues (empty = valid).