About
A small tool that refuses to lose your quality
Built because cutting forty seconds out of a video should not mean re-encoding the whole thing, waiting four minutes, and getting back something slightly worse.
The problem it was written for
Cutting a clip is the most common video task there is, and the normal way to do it is the worst way. You open an editor, drag two handles, and export — and the export re-encodes every frame of the clip in order to change where it begins and ends. You have spent minutes of your time and a generation of image quality to perform what is, underneath, a copy.
The tools to do it properly have existed for twenty years. FFmpeg will copy a stream between two timestamps without touching a pixel. The reason almost nobody does it that way is that you have to know the incantation, you have to know where the keyframes are, and you have no way to see what you are about to get.
anYTrim is that capability with the hard parts handled: the keyframes found for you, the real start time shown rather than hidden, and a preview before you commit.
What it will not do
A short list, because the refusals shape the product more than the features do.
- It will not re-encode a clip. Not to make the cut land on an exact frame, not to produce a more convenient container. If a request would mean re-encoding, the answer is to say so, not to do it quietly.
- It will not pretend to be more accurate than it is. A lossless cut can only begin on a keyframe, so the start often moves back by a second or two. The app shows you the real start time. Hiding that would mean re-encoding, and that trade is yours to make, not ours to make for you.
- It will not phone home. No telemetry, no licence check, no account. The application makes no network request you did not ask for.
- It will not lock anything behind a payment. Every feature is in the free build. The sponsor link is a thank-you, not a tier.
How it is built
A Python application with a Qt interface, which drives yt-dlp and FFmpeg as separate programs rather than importing them. That is a deliberate decision and not a shortcut: yt-dlp ships extractor fixes most weeks, running it as a subprocess means a fix is a file swap instead of a release, and every command the app runs can be copied out and inspected.
The core of it has no dependency on the interface, which is what lets the command line and the test suite drive the real pipeline with no window open. There is a longer version of this in the repository’s architecture notes.
A note on what you download
anYTrim is a tool, and what you point it at is your responsibility. Downloading your own uploads, material you have a licence to, and work in the public domain or under a permissive licence is fine. Re-publishing somebody else’s work without permission is not, whichever tool was used to copy it, and no amount of technical sophistication changes that.
Who builds it
It started as one person’s project and is open source under the MIT licence. Everybody who has contributed is credited on the contributors page — and “contributed” there means documentation, triage and answered questions too, not only commits.
If you want to join in, the contributing guide has five specific first tasks, each small enough to finish in an evening.