Skip to main content

overc-clips

Cut analysis clips out of a YouTube video or a local file, through a web page, with no command line required.

Built for volleyball coaches handing clips to video-review sites, but there is nothing sport-specific in it. Point it at a video, mark the spans you want, and it produces the clips.

It runs two ways from one codebase:

  • On your own machine. It starts a small web server and prints an address. Open that in a browser on the same machine, or on your phone if you are on the same wifi. The video processing happens on your computer; the phone is only the remote control.
  • Hosted, like any other internal web app.

What you need

Python 3.10 or newer. That is all. ffmpeg and yt-dlp come with it — the install pulls a static ffmpeg build, so there is nothing to install separately and nothing to put on your PATH.

Works on macOS, Linux and Windows.

Install

pip install overc-clips

On current macOS and most Linux distributions that will refuse with a message about an "externally managed environment" — that is the operating system protecting its own Python, not an error in this package. Use a virtualenv:

python3 -m venv ~/.local/share/overc-clips/venv
~/.local/share/overc-clips/venv/bin/pip install overc-clips
~/.local/share/overc-clips/venv/bin/overc-clips serve

or install it with pipx, which does the same thing for you:

pipx install overc-clips

Use it

overc-clips serve              # start the web UI, print the address to visit
overc-clips doctor             # what it found on this machine, and what is missing

serve prints a local address and, if it can, a second one for other devices on your network. Everything else happens in the browser: paste a video link, scrub to the start and end of each clip, and make them.

Useful flags:

overc-clips serve --outdir ~/Movies/clips   # where clips are written
overc-clips serve --port 8080               # default
overc-clips serve --token secret            # require a token, for a shared network

Settings you would otherwise need a flag for — the output folder, how long clips are kept, the maximum clip length — are in the web UI itself, so someone who was handed a desktop shortcut can still change them.

Clips

Clips are named after the source video and their timestamps, so two cuts from one match never collide. Where each clip came from is written into the file as mp4 metadata, which survives the file being moved or shared, and the built-in library can group, search and file them.

Clips are deleted after 14 days by default, which the UI tells you on startup and lets you change or switch off.

Keeping it working

YouTube changes things regularly and an out-of-date yt-dlp is the usual cause of a download that suddenly fails. Updating it is independent of this package:

pip install -U yt-dlp        # in whichever environment you installed into

overc-clips doctor reports the version it is using and where it came from.

Licence

GNU Affero General Public License, version 3. See LICENSE.

If you change it and pass it on, the changes come with it. The Affero part extends that to running a modified copy as a service for other people over a network — which for a web application is the case that matters. Improvements sent back are welcome.

This is early software and it changes often. Treat it as alpha: things move, and nothing here is supported.

Metadata

Release files for overc-clips 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for overc-clips 0.2.5
File Size Uploaded
overc_clips-0.2.5.tar.gz 154.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for overc-clips 0.2.5
File Interpreter ABI Platform
overc_clips-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 311.8 kB

Release files / overc_clips-0.2.5.tar.gz

Download URL overc_clips-0.2.5.tar.gz
Size 154.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d3bee1192c6fb75c3cd364c79eb5d6fc6fdc7fc9972886a91df8f989ded90c5f
BLAKE2b-256 checksum
How to use checksums
d99807a6cabe32f1c6f5bff62eb68fcfb25fb7a0fe9f7f6f02712f03109a7503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / overc_clips-0.2.5-py3-none-any.whl

Download URL overc_clips-0.2.5-py3-none-any.whl
Size 156.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be558495cd3fe16311f6ba974d3089aab82a55b6426de665eb0ac3538acf8ce2
BLAKE2b-256 checksum
How to use checksums
1bb426dc5d0a9ba065c932822f46df69205634a502929874877573e4fa961392
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.6.42

2 release files

0.6.41

2 release files

0.6.39

2 release files

0.6.25

2 release files

0.6.24

2 release files

0.6.23

2 release files

0.6.19

2 release files

0.6.18

2 release files

0.6.17

2 release files

0.6.15

2 release files

0.6.14

2 release files

0.6.13

2 release files

0.6.10

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.4.24

2 release files

0.4.23

2 release files

0.4.21

2 release files

0.4.19

2 release files

0.4.4

2 release files

0.4.2

2 release files

0.3.39

2 release files

0.3.35

2 release files

0.3.34

2 release files

0.3.32

2 release files

0.3.29

2 release files

0.3.28

2 release files

0.3.27

2 release files

0.3.26

2 release files

0.3.25

2 release files

0.3.24

2 release files

0.3.23

2 release files

0.3.22

2 release files

0.3.21

2 release files

0.3.20

2 release files

0.3.19

2 release files

0.3.14

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.13

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.6

2 release files

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page