Interactive crop & trim for multi-subject behavioural video. Draw a box per subject, slice into time bins, download the clips.
Behavioural recordings capture several animals in one wide shot over long sessions. Before analysis you need a tight crop around each subject and the session sliced into fixed time bins. Tailor Mouse does both, from the browser.
Grab a reference frame, draw a box per subject ID with your mouse, export one clip per subject.
Split each video into consecutive bins from a start time and bin length. The final bin clamps to the real end.
Both at once โ each subject's region, cut into bins, in a single ffmpeg pass per output.
Every processed clip bundled into one zip. No server paths, nothing left behind.
ffmpeg on your PATH, then three commands.
ffmpeg -version works.python -m venv .venv .venv\Scripts\activate # Windows pip install -r requirements.txt streamlit run app.py