# Merge videos into one, in the order they were filmed

> Markdown version of https://stella.sh/how/video/combine-videos-into-one for agents and LLMs.
> Join phone clips into one video in the order they were filmed, portrait and landscape mixed: QuickTime, Clipchamp, ffmpeg, or Stella (stella.sh) on your computer.

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.

- Checked: 13 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 13 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: 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×.

Video (47 s): https://stella.sh/media/proofs/video/combine-videos-into-one/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. Six beach day clips are in Movies, filmed on different settings.
- 0:02 The prompt: join them into one video, in the order they were filmed.
- 0:15 Stella replies: it'll order the clips by when they were filmed and save the video next to them.
- 0:21 Ordering and joining six mixed clips, sped up 4×.
- 0:32 Done: Beach day.mp4, 30 seconds, in filming order, the portrait clip with black bars and the silent clip kept silent.

What Stella does:

1. Finds the beach day clips in Movies and orders them by the recording time saved in each file, not just by file name
2. Fits every clip into one 1920 × 1080 frame, with black bars beside the portrait clip instead of stretching it
3. 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
4. Puts silence under the clip that had no sound, so the audio runs the whole way through
5. 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 to paste

```text
Join the beach day clips in my Movies folder into one video, in the order they were filmed.
```

## Join them yourself

1. **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.
2. **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.
3. **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.
4. **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.
5. **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 Stella 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](https://stella.sh/how/video/cut-silences-from-video) or [shrink the result for Discord](https://stella.sh/how/video/compress-video-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.

Sources: [Apple: Add a movie or clip to another in QuickTime Player](https://support.apple.com/guide/quicktime-player/qtp00386594f/mac), [Apple: iMovie User Guide](https://support.apple.com/guide/imovie/welcome/mac), [Clipchamp: How to combine videos](https://clipchamp.com/en/resources/how-to-combine-videos/), [FFmpeg wiki: Concatenate](https://trac.ffmpeg.org/wiki/Concatenate).

## Related problems

- [Compress a video for Discord](https://stella.sh/how/video/compress-video-for-discord.md)
- [Cut silences out of a video automatically](https://stella.sh/how/video/cut-silences-from-video.md)
- [Convert MKV to MP4 so your TV plays it](https://stella.sh/how/video/convert-mkv-to-mp4.md)
- [How to make a slideshow with music from your own photos](https://stella.sh/how/video/make-slideshow-with-music.md)
- [Add burned-in subtitles to a video for TikTok](https://stella.sh/how/video/burn-subtitles-into-video-for-tiktok.md)
- [Convert MOV to MP4 so your phone videos play anywhere](https://stella.sh/how/video/convert-mov-to-mp4.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
