# Convert old AVI, WMV, 3GP and VOB videos to MP4

> Markdown version of https://stella.sh/how/video/convert-avi-to-mp4 for agents and LLMs.
> Turn old camera and phone clips (AVI, WMV, 3GP, VOB) into MP4s that play on any phone or TV, without squashing the picture: HandBrake, VLC, ffmpeg or Stella (stella.sh).

Re-encode each clip to H.264 video with AAC sound in an MP4: the free HandBrake does it on Mac and Windows with its Fast 1080p30 preset, and VLC's Convert / Save works for one file at a time. The catch with old footage is shape: DV camcorder and DVD clips use stretched pixels, so a careless conversion squashes or stretches people. Stella (stella.sh) converted five clips in four formats and fixed the shape of the two that needed it.

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

## Stella doing it

Recorded 14 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: Five MP4s in under a minute. Checked afterwards against an answer key written before the run: an MP4 for every clip, H.264 with AAC sound, the DV clip 4:3 and the DVD clip 16:9 widescreen with nothing squashed, full length, the same picture at the same moment, sound kept, and the originals unchanged. The five clips were made for this run in the formats old cameras and phones wrote: Motion JPEG and DV AVIs, WMV with WMA sound, a 3GP with AMR sound and a DVD VOB with AC-3 sound. A time code in each picture let the check compare moments. The work is sped up 4×. We didn't play the files on a real phone or TV.

Video (43 s): https://stella.sh/media/proofs/video/convert-avi-to-mp4/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. Old family clips in AVI, WMV, 3GP and VOB are in Videos.
- 0:01 The prompt: convert them all to MP4 for a phone and TV.
- 0:11 Stella replies it's converting them and keeping the originals.
- 0:17 Checking each clip's shape and converting.
- 0:28 Done: five MP4s, two clips fixed so they no longer look squashed, dates kept.

What Stella does:

1. Finds the five clips in “Old family videos”: two AVIs, a WMV, a 3GP from an old phone and a VOB from a DVD
2. Reads each clip's codec, size, frame rate and pixel shape, and checks for interlacing
3. Grabs a frame from each and lays them side by side to see how they should look
4. Converts every clip to H.264 with AAC sound, turning the DV camcorder clip and the widescreen DVD clip into square pixels so nothing is squashed
5. Saves the MP4s in a new MP4 folder inside the original one, copies each file's date across, and checks every new file plays to the end with sound

## The prompt to paste

```text
My Old family videos folder in Videos has clips in AVI, WMV, 3GP and VOB from old cameras and phones. Convert them all to MP4 so they play on my phone and TV.
```

## Convert them yourself

1. **Mac or Windows: HandBrake.** Open the free HandBrake, drag in a clip and pick the Fast 1080p30 preset (H.264 and AAC in an MP4). On the Dimensions tab leave Anamorphic on Automatic so DV and DVD clips keep their real shape, then Start. Add the others to the queue.
2. **One file: VLC.** In VLC choose Media, Convert / Save, add the file, click Convert / Save and pick the Video - H.264 + MP3 (MP4) profile. Play the result and check that the DVD clip is still widescreen.
3. **ffmpeg.** `ffmpeg -i "Camping trip 2006.avi" -vf "scale=trunc(iw*sar/2)*2:ih,setsar=1" -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a aac "Camping trip 2006.mp4"` converts one clip and turns stretched pixels into square ones. Loop it over the folder for the rest.
4. **Check the shape.** Look at a face or a round object in each new file. DVD clips are usually 16:9 even though the file says 720×480, and DV camcorder clips are 4:3 at 720×576. Forcing everything to 640×480 squashes the widescreen ones.
5. **Keep the originals.** Store the AVI, WMV, 3GP and VOB files somewhere safe after converting. Converting is lossy, and the originals are what you'd go back to if a better tool or setting comes along.

## Where Stella stops

- Converting doesn't add detail. A 2009 phone clip at 352×288 still looks soft on a big TV, and low frame rates still look choppy; Stella pointed both out.
- Copy-protected DVDs aren't covered. This is for VOB files you already have on your computer.
- File names and the clips' technical details, plus one frame from each clip, went to the AI model you use in Stella. The videos were converted on your computer.
- Recorded on Linux with ffmpeg already installed. On a Mac or Windows PC Stella would usually download ffmpeg first, which isn't shown.

## Questions

**Why does my converted DVD video look squashed?**
DVD video is stored at 720×480 and stretched to 16:9 when played. A converter that ignores that flag, or forces 4:3, squeezes everyone thin. Keep the shape (HandBrake's Automatic anamorphic) or scale to square pixels as Stella did.

**Can I convert a whole folder at once?**
Yes. HandBrake has a queue, and Stella converted all five clips in one go into a separate MP4 folder.

**Will my converted videos be in the right order on my phone?**
Phones sort by date. Stella copied each original's date onto its MP4 so they land in the right place in the gallery.

**What about MOV or MKV files?**
See [convert MOV to MP4](https://stella.sh/how/video/convert-mov-to-mp4) and [convert MKV to MP4](https://stella.sh/how/video/convert-mkv-to-mp4).

**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: [HandBrake documentation](https://handbrake.fr/docs/en/latest/), [VLC media player](https://www.videolan.org/vlc/), [FFmpeg filters: scale and setsar](https://ffmpeg.org/ffmpeg-filters.html#scale-1).

## Related problems

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

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