{"id":19840944,"url":"https://github.com/torvaney/motd-extractor","last_synced_at":"2025-05-01T19:30:48.612Z","repository":{"id":133824172,"uuid":"66586544","full_name":"Torvaney/motd-extractor","owner":"Torvaney","description":"Extract highlights from BBC's match of the day","archived":false,"fork":false,"pushed_at":"2017-02-23T18:35:02.000Z","size":133,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T17:06:43.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torvaney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-25T19:24:08.000Z","updated_at":"2020-06-21T18:32:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"b69b6144-e397-4f8c-aee7-baef4f24907b","html_url":"https://github.com/Torvaney/motd-extractor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fmotd-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fmotd-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fmotd-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fmotd-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torvaney","download_url":"https://codeload.github.com/Torvaney/motd-extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932593,"owners_count":21667175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:28:47.456Z","updated_at":"2025-05-01T19:30:48.606Z","avatar_url":"https://github.com/Torvaney.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automated MotD highlights extractor\nThis 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.\n\nA slightly fuller explanation of the method and motivation behind this project can be found in [this blog post](https://statsandsnakeoil.wordpress.com/2016/08/29/improving-match-of-the-day-with-python/)\n\n## Example\n\nYou can either use this in python or directly from the command line.\n\nPython:\n```python\nimport scoreboard_slicer as motd\n\nmy_clip = motd.load_video('full_fat_motd.mp4')\nmotd.extract_highlights(my_clip, 'highlights_only.mp4')\n```\n\n\nTerminal:\n```terminal\nmotd-extractor $ python3 scoreboard_slicer.py [full video filename] [output video filename]\n```\n\n\nThis will take the video saved in `/motd-extractor/video/[full video filename]` and save a trimmed version to `/motd-extractor/output/[output video filename]`\n\nThe module contains two primary functions:\n \n * `load_video` for loading the video (obviously). This is effectively just a wrapper around `moviepy.editor.VideoFileClip`.\n * `extract_highlights` for identifying, trimming and joining back together the match highlights.\n \n And that's more or less all there is to it.\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fmotd-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorvaney%2Fmotd-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fmotd-extractor/lists"}