Skip to content

MateoLostanlen/VideoSplitter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VideoSplitter

To split a video into sequences of frames with the same camera settings: coordinates x,y,z (zoom), location name

Getting started

Prerequisites

Installation

pip install opencv-python pillow pytesseract moviepy

Usage

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

Known issues

  • 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...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%