Skip to main content

Module stream_copy

Module stream_copy 

Source
Expand description

Watermark and graphic overlay embedding during transcoding. Stream copy (passthrough) mode for transcoding.

When the source codec matches the desired output codec and no filters (resize, crop, tone-map, etc.) are required, the stream can be copied bit-for-bit without re-encoding. This is dramatically faster and preserves the original quality.

Structs§

CopyDecision
Result of a stream copy eligibility check.
StreamCopyConfig
Configuration for stream copy decisions.
StreamCopyDetector
Detects whether streams can be copied without re-encoding.
StreamInfo
Information about a single media stream used for copy-eligibility checks.

Enums§

StreamCopyMode
Describes which streams should be copied vs. re-encoded.
StreamType
Type of a media stream.

Constants§

STREAM_COPY_SPEEDUP_FACTOR
Estimated speedup factor when stream-copying vs. re-encoding.

Functions§

estimate_time_saved
Estimates the time saved by stream copying instead of re-encoding.