
Date:
Author:
Akash Jaggi
Start here
What is actually free in this video clipping workflow?
A long video can contain several good short clips. The awkward part is finding the moments, getting the timing right, and repeating the export steps without turning the job into an afternoon of clicking. A coding assistant can help organise that work, even if you are not a developer.
The setup in this guide is simple: Claude Code or Codex helps plan the cuts and write commands; FFmpeg processes the local video. You choose which moments deserve to be published. This is a practical route for turning your own interviews, tutorials, or recordings into shorter videos without buying a dedicated clipping subscription.
Free editing tools do not mean unlimited free AI
FFmpeg is free software, and the local Whisper transcription project provides another open-source option. Your computer still does the processing. Claude Code and Codex access is separate: account eligibility, plan limits, rollout availability, or API billing can apply.
At the time of checking, OpenAI lists limited Free-plan Codex access in the desktop app, subject to rollout. Do not assume that means free CLI access or unlimited work. Claude Code’s current authentication documentation lists supported subscriptions and Console or provider access. Check the official pages linked below before choosing a route.
If you want to avoid assistant charges entirely, choose timestamps yourself and use the FFmpeg commands in this article. The AI-assisted route is a convenience, not a requirement for producing the clips.
What you need before starting
Use a local video you own or have permission to edit, FFmpeg installed from an appropriate package linked by its official download page, and enough disk space for exports. For automatic transcription, you can optionally install local Whisper using its official instructions. No paid transcription API is required for that local route.
Create a project folder with input, transcripts, plans, and output subfolders. Put the original video in input as source.mp4. Keep exports in output, so a new render cannot accidentally replace your source. Open the project folder in your coding assistant and start with the inspection prompt below.

Choose the moments
Use a transcript to propose clips, then watch them
The best clipping decision is usually editorial. Look for a complete answer, a useful demonstration, a surprising point, or a short story with an ending. A sentence that sounds exciting in isolation may still need the previous thirty seconds to make sense.
Start with timestamps you can verify
If you already have timestamped subtitles, use those. Otherwise, ask the assistant to prepare a local transcription workflow with Whisper, following the project’s installation instructions. Start with a short sample to check speed and accuracy. Smaller models may suit limited hardware, but review their output rather than treating it as ground truth.
Make sure the transcript timestamps refer to the original source video. If you transcribe audio extracted from the middle of a recording, account for its start offset. A timestamp is only useful when everyone is referring to the same timeline.
These durations are starting points, not platform rules. A complete thought matters more than fitting an arbitrary number. Watch the proposed ranges in the original video. Move a boundary if it cuts off a breath, a visual demonstration, or the sentence that makes the answer understandable.
A transcript is not a visual review
Text cannot reliably tell you whether a slide changes, a gesture matters, or the camera has cut to somebody else. A coding assistant does not automatically understand every frame of a video simply because the file is in its workspace. Ask it what it actually inspected and review the source yourself.
Approve one candidate before making a batch. Record its start, end, and duration in a small edit plan. That gives the assistant a concrete instruction and gives you a way to spot an export that starts at the wrong moment.
Make the clips
Cut accurately, then choose a vertical layout
Here is a straightforward FFmpeg example. Run it from the project folder after creating output. It takes a 45-second excerpt beginning at 2 minutes 15 seconds. Replace those example values with your approved timestamps. These multi-line commands use Bash syntax for macOS, Linux, or WSL. For PowerShell, ask the assistant to adapt them before running them.
This example re-encodes the video rather than relying on stream copy, which can make requested boundaries depend on keyframes. The quoted optional audio mapping allows a source without audio. The -n option refuses to overwrite an existing file. Choose a new output filename if you rerun it.
A centre crop is not automatic subject tracking
For a centred talking-head shot, the next command makes a 1080 × 1920 portrait version. It scales the picture to fill the vertical frame, then crops the excess. It does not follow a moving speaker or decide which person matters.
Preview the entire result. If the crop removes a face, a product, or important text, use a different composition. A landscape video fitted inside a vertical canvas may be the better choice for slides and demonstrations. Do not stretch the picture to make it fill the frame.
The trim and crop command patterns were checked on a synthetic test video for this guide, producing an H.264/AAC portrait file. Real recordings can have different rotation, colour, or timing properties, so inspect your own input before applying the same settings blindly.

Finish the edit
Add captions, review the result, and keep it reusable
For captions, transcribe the finished clip rather than reusing subtitles timed against the full recording. That gives you a timeline beginning at the clip’s own start. Local Whisper can produce timed subtitle files; ask the assistant to generate an SRT, then correct names, punctuation, and any Hindi–English switching by listening.
You can keep the SRT as a sidecar file for an upload workflow that accepts it, or burn captions into the picture. FFmpeg’s subtitles filter requires an appropriate build with libass support. Ask the assistant to check availability before creating a burn-in command. Avoid assuming every FFmpeg installation has the same filters.
Review on the device people will use
Watch the clip on a phone with sound, then without it. Check the opening, the ending, subtitle timing, and whether captions hide a face or important visual. Keep speech readable against the background. Listen for clipped words, distracting volume jumps, and music that makes dialogue difficult to follow.
Turn a successful test into a small batch
Once the first clip works, have the assistant process the approved edit plan. Ask for a small report listing filenames, source ranges, durations, and export dimensions. Keep the plan and commands beside the outputs so you can make a revision without rebuilding the whole job.
Processing the video with local FFmpeg does not make the coding assistant an offline service. Prompts, transcripts, and any files you share with a cloud assistant follow that service’s settings and terms. You can keep this workflow entirely manual if you prefer not to share a transcript.
Can I do this without Claude Code or Codex?
Yes. Pick a start time and duration, run the FFmpeg example, and review the output. You can also edit those choices in a desktop editor. The assistant is useful for repetitive command writing and organising batches; it is not necessary for the basic cut.
Will AI automatically find viral clips?
No tool can guarantee that. A useful clip needs context, a reason to keep watching, and a satisfying ending. Use proposed highlights as a shortlist. Your review is what turns a timestamp into an edit worth sharing.
See more of my creative work
I share original films, animated stories, music videos, and creative experiments on YouTube. If this guide helps you make a clip, tell me which step saved you the most time. Subscribe if you would like to follow what I create next.
Official references and access notes
Access information checked on 20 November 2026. Plan availability and usage limits can change. Illustrations are original AI-generated editorial artwork, not screenshots of Claude Code or Codex.
OpenAI — Codex and ChatGPT pricing
Anthropic — Claude Code authentication
FFmpeg — Trimming and transcoding documentation
FFmpeg — Video filter documentation
OpenAI — Local Whisper installation and usage




