Skip to content

Generating numbers from movies, one movie at a time.

Notifications You must be signed in to change notification settings

skulltech/cinembers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cinembers

Generating numbers from movies, one movie at a time.

Usage

As of now, cinembers.py script plots the differences between consecutive frames of a given video. Spikes in this plot indicate a possible change in shot.

The method used to score the difference can be set by the --score flag. Available options are

  • SAD. Sum of Absolute Differences.
  • HD. Histogram Differences.
  • ECR. Edge Change Ratio.

More about these methods can be found here.

sumit@HAL9000:~/cinembers$ python3 cinembers.py -h
usage: cinembers.py [-h] -v VIDEO -s {SAD,HD,ECR}

Generating numbers from movies, one movie at a time.

optional arguments:
  -h, --help            show this help message and exit
  -v VIDEO, --video VIDEO
                        Filename of video.
  -s {SAD,HD,ECR}, --score {SAD,HD,ECR}
                        Scoring method.

Example Usage

Plotting the SAD between consecutive frames of this Britain's Got Talent clip.

sumit@HAL9000:~/cinembers$ python3 cinembers.py -v WSinMOs5eGw.mkv -s SAD

Plot of SAD between of consecutive frames of WSinMOs5eGw

About

Generating numbers from movies, one movie at a time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages