Track original frame indices through sequence transformations.
A reminder and some simplifying.