Skip to content

x0s/VideoSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Bruno LenziBruno Lenzi
Bruno Lenzi
and
Bruno Lenzi
Nov 20, 2019
5b6ae74 · Nov 20, 2019

History

18 Commits
Nov 14, 2019
Nov 20, 2019
Nov 15, 2019

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