# Segmenting video into two

Say I have a collection of videos, each that have an action that occurs at time $$t_i$$ for video $$i$$.

So I could have $$\{v_1, v_2, ..., v_n \}$$ with times $$\{3, 7, ..., t_n\}$$ in seconds, for example.

Is there any sort of method that can take these videos and train a model to predict what time $$t_k$$ is for a test video $$v_k$$?

I was thinking perhaps of labeling all frames in video $$i$$ before time $$t_i$$ and labeling them 0 and then those after as 1. Then, train a model to classify images into before and after and go from there.

This seems almost like a survival analysis problem. Any suggestions?