lasagnastack.stages.reel_pipeline.ingest¶
lasagnastack.stages.reel_pipeline.ingest
¶
IngestStage
¶
Bases: Stage
Initialise IngestStage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
max_workers
|
int
|
Number of parallel worker processes for clip
normalisation and scene detection. |
1
|
Source code in src/lasagnastack/stages/reel_pipeline/ingest.py
run
¶
run(
input_dir: Path, output_dir: Path, max_workers: int = 1
) -> list[NormalisedClip]
Normalise all clips to 480×854 H.264 and detect scene cuts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input_dir
|
Path
|
Folder containing raw MP4/MOV clips and the brief .txt. |
required |
output_dir
|
Path
|
Destination root; normalised clips written to output_dir/normalised/. |
required |
max_workers
|
int
|
Number of parallel worker processes. |
1
|
Returns:
| Type | Description |
|---|---|
list[NormalisedClip]
|
One NormalisedClip per source file, in discovery order. |