Learn the basics of creating a video pipeline in Curator by following a split-and-clip pipeline example.
Use this overview to understand how stages pass data through the pipeline.
h264_nvenc (NVENC-equipped GPU) or libvpx-vp9 (CPU fallback for non-NVENC GPUs such as A100/H100)For more information, refer to the Video Concepts section.
Import required classes and define paths used throughout the example.
Instantiate a named pipeline to orchestrate the stages.
Add modular stages to read, split, encode, extract frames, embed, and write outputs.
Read videos from storage and extract metadata to prepare for clipping.
Create clip windows using fixed intervals or scene-change detection.
Convert clip buffers using the selected encoder and settings. Choose h264_nvenc on NVENC-equipped GPUs or libvpx-vp9 (CPU) on GPUs without NVENC such as A100/H100. Refer to Clip Encoding for encoder details and NVENC setup.
Extract frames at target rates for downstream embedding models.
Create Cosmos-Embed1-ready frames and compute clip-level embeddings.
Write clips, embeddings, and metadata to the output directory. Refer to Save & Export for a full list of parameters.
Run the configured pipeline using the executor.