Skip to content

Cophy08/motd-extractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated MotD highlights extractor

This repo contains a small python (3) module for automatically removing the banal and uninsightful commentary from Match of the day, leaving you with just footage of the actual football you wanted to watch in the first place.

Example

import scoreboard_slicer as motd

my_clip = motd.load_video('full_fat_motd.mp4')
motd.extract_highlights(my_clip, 'highlights_only.mp4')

The module contains two primary functions:

  • load_video for loading the video (obviously). This is effectively just a wrapper around moviepy.editor.VideoFileClip.
  • extract_highlights for identifying, trimming and joining back together the match highlights.

And that's more or less all there is to it.

About

Extract highlights from BBC's match of the day

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.4%
  • Python 1.6%