Skip to content

Frame Medio is a Python 3 script that outputs the average frame of an input video as a .png file.

Notifications You must be signed in to change notification settings

agenttux/Frame-Medio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frame Medio

Frame Medio is a Python 3 script that outputs the average frame of an input video as a .png file.

Requirements

Frame Medio requires ffmpeg and python3.

Installation

Install the requirements.

pip install -r requirements.txt

Usage

Run the frame-medio.py script.

$ python3 frame-medio.py
What file do you want to get the average frame of? Filename: <path to input file>
How many frames per second do you use in your average? (24/1 = every frame, 1 = 1 image per second, 1/600 = 1 image every 10 minutes) Number: <frames per second to use in analysis>
What should the output file be called? Name: <output file name (don't add any extensions to the end of this)>

Samples

The running scene from 1917 with 1 frame taken every 5 seconds (1/300):

1917

Luke and Vader's duel from The Empire Strikes Back with 1 frame taken every second:

ESB

Isle of Dogs sushi scene with 24 frames taken every second:

sushi

Swedish House Mafia's Ultra 2018 set with 1 frame taken every second:

SHM

License

MIT

About

Frame Medio is a Python 3 script that outputs the average frame of an input video as a .png file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages