Skip to main content

ClikaRT::processor::ProcessedVideo

struct

Header: ClikaRT/processor/processor.h

A processed clip PLUS the sampling metadata a timestamp/alignment video model needs upstream (which frames were sampled, at what times). Returned by VideoProcessor::process_with_indices, the generic seam that lets a model build grid_thw / timestamp tokens from frame_indices + pts_seconds without folding any model-specific logic into ClikaRT.

Data members

clip

Tensor clip

[num_sampled, H', W', C] Float32

Declared in ClikaRT/processor/processor.h, line 347

frame_indices

std::vector<std::int64_t> frame_indices

the source frame indices sampled, in order

Declared in ClikaRT/processor/processor.h, line 348

pts_seconds

std::vector<double> pts_seconds

presentation timestamp of each sampled frame

Declared in ClikaRT/processor/processor.h, line 349