To split a video into sequences of frames with the same camera settings: coordinates x,y,z (zoom), location name
pip install opencv-python pillow pytesseract moviepy
python VideoSplitter.py -h
for help
Write to the output directory:
- split videos (
<name>_seq<first_frame>_<last_frame>.<ext>
) - info (captions, sequences, ...) in pickle files
- Last split video can last longer than it should. Might be related to
ffmpeg_extract_subclip
. Can be circunvented by skipping frames beyond<last_frame> - <first_frame>
stored in filename - Extracting the caption is not always easy...