Merge videos into one, in the order they were filmed
Six mixed phone clips joined into one 30-second video, nothing stretched.
A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 39 s in real time.
The short answer.
On a Mac, open the first clip in QuickTime Player and use Edit, Add Clip to End for each of the others, then File, Export As. On Windows 11, Clipchamp joins clips on a timeline. Mixed clips are where it goes wrong: a portrait clip gets stretched, or a silent one breaks the sound. Stella (stella.sh) puts the clips in filming order, fits each into one frame size and joins them.
Stella does this on Windows, Mac and Linux.
What happened.
One 30-second video from six clips in about 1 minute 40 seconds. Checked afterwards against an answer key written before the run: it plays without errors, all six clips are there in filming order, the audio runs the full length, the portrait clip isn't stretched (a round disc in it stays round), and the six clips are unchanged.
The clips are plain coloured test cards with tones, made for this run and mixed on purpose: portrait and landscape, 25, 30 and 60 fps, H.264 and HEVC, one with no sound. Stella spotted they weren't real beach footage and said so. The work is sped up 4×.
How Stella does it.
- Finds the beach day clips in Movies and orders them by the recording time saved in each file, not just by file name
- Fits every clip into one 1920 × 1080 frame, with black bars beside the portrait clip instead of stretching it
- Converts the mix of frame rates and formats (one clip at 25 fps, one HEVC at 60 fps) into one 30 fps H.264 video
- Puts silence under the clip that had no sound, so the audio runs the whole way through
- Saves Beach day.mp4 next to the clips and leaves them unchanged; it also noticed the clips were plain test cards, not beach footage, and said so
The prompt.
Join the beach day clips in my Movies folder into one video, in the order they were filmed.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
Put the clips in order
Sort the clips by when they were filmed, not by name: in Finder use View, as List with the Date Created column; in File Explorer use Details view and add Media created. Phone file numbers usually match, but clips from two phones won't.
On a Mac: QuickTime Player
Open the first clip in QuickTime Player, choose Edit, Add Clip to End and pick the next one; repeat in order, dragging clips in the strip to reorder. Then File, Export As, 1080p saves the joined video. Portrait clips get black bars.
On Windows: Clipchamp
Open Clipchamp (built into Windows 11), create a new video, import the clips and drag them onto the timeline in order. If a portrait clip is cropped, use the fit option on it, then export at 1080p.
Or iMovie on a Mac
Create a new Movie project, import the clips, drag them to the timeline in order and choose File, Share, File. iMovie also lets you add titles, transitions or a music track if you want them.
Command line: ffmpeg
ffmpeg's concat demuxer joins clips without re-encoding only if every clip has the same size, frame rate and codec. Phone clips rarely do, so scale and pad each to one size and frame rate first, or use the concat filter, which re-encodes them all together.
Where it stops.
- It joins clips and makes them fit one frame. Transitions, titles, music and trimming weren't asked for; say so in the prompt if you want them.
- Clips are re-encoded to match, which takes longer for long or 4K footage and costs a little quality.
- To describe the clips it looked at frames from them, which go to the AI model you use in Stella along with file details. The video itself is joined on your computer.
- Recorded on Linux, where ffmpeg was already installed. On a Mac or Windows PC Stella would download it first, which wasn't recorded.
Questions.
How do I merge videos without losing quality?
If every clip shares the same size, frame rate and codec, ffmpeg can join them without re-encoding. Mixed phone clips need re-encoding to match; at a good quality setting the loss is hard to see.
Why is my portrait clip stretched after merging?
The joiner forced it into a landscape frame. Fit it with black bars, as QuickTime and Stella did, or crop it, but don't scale it to fill the frame.
Can I add music or cut it down afterwards?
Yes, ask in the same chat, or add a track in iMovie or Clipchamp. To cut out silences or shrink the result for Discord, see those guides.
Does it work with iPhone videos in HEVC?
Yes. One of the test clips was HEVC at 60 fps and joined fine. Older Windows PCs may need the HEVC extension to play the originals, but the joined file is H.264, which plays almost anywhere.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
- Apple: Add a movie or clip to another in QuickTime Player
- Apple: iMovie User Guide
- Clipchamp: How to combine videos
- FFmpeg wiki: Concatenate
Checked against these sources on 13 November 2026.