The five pipeline stages
A video pipeline has five stages, and each one has a tensor shape you should be able to state:
raw file → decoded frames → preprocessed batch → model input → model output
The design question is where two systems are the same and where they must differ. A recommender and a surgical-phase model share the first two stages almost exactly, and diverge completely at the last one.