Tramuta

Convert AVI to MP4

Yes, on iPhone, iPad and Android, without uploading the file.

Per platform

iPhone and iPad High fidelity
Android High fidelity

How it works

  1. Import the AVI file, or share it with Tramuta.
  2. Pick MP4 among the formats.
  3. Tap “Convert”, then “Share” or “Save to…”.

AVI is the video format of many archives from a few years ago: clips from compact cameras, DivX and Xvid files, recordings from old Windows programs. Today phones, tablets and many apps no longer play it. Converting AVI to MP4 with Tramuta makes them watchable again, on the device and without uploading personal memories to a website.

AVI and MP4: what is copied and what is re-encoded

On iPhone, iPad and Android the conversion is rated “High fidelity”. An AVI can hold very different codecs, and Tramuta goes by those of the main video and audio tracks:

  • MPEG-4 Part 2 (DivX, Xvid) or H.264 video: copied into the MP4 without re-encoding;
  • Motion JPEG video, typical of cameras: re-encoded to H.264;
  • MP3 audio: copied;
  • PCM, AC-3 and other audio: re-encoded to AAC at 128 kbps.

When a stream is copied, the video stays identical; when it is re-encoded, quality depends on the device’s hardware encoder. Every video and audio track in the AVI goes into the MP4.

AVI on iPhone, iPad and Android

The AVI is read by the LGPL build of FFmpeg inside Tramuta, with the same command on iOS 15 and later and on Android 7 and later. Before converting, Tramuta checks the AVI’s RIFF header, so a truncated file is reported right away. Re-encoding to H.264 uses VideoToolbox on iPhone and iPad and MediaCodec on Android; on Android it has been tested only on the emulator, not yet on a physical device. If the resulting MP4 has no picture, Tramuta stops with an error.

Settings for an AVI

  • “Max height”: “Keep original” to avoid re-encoding an MPEG-4 or H.264 video; lower values shrink the video by re-encoding it.
  • “Trim start (s)” and “Trim end (s)”: keep only the part of a long clip you care about.
  • “Remove metadata”: on by default, on iPhone, iPad and Android. It strips the file’s data, such as title, date and software; picture and sound don’t change because of it. On iPhone and iPad the default follows “Keep metadata” in Settings.

AVI to MP4 in Tramuta, step by step

  1. Copy the AVI to your device and tap “Choose or drop files” in Tramuta.
  2. Under “Convert to”, choose “MP4”.
  3. If you like, set the trim in “Options”.
  4. Tap “Convert”.
  5. Save the video with “Save to…” or open it in another app with “Open in…”.

Other containers to convert? See MKV to MP4 and MOV to MP4.

The two formats

  • AVI

    Extensions: .avi

  • MP4

    Extensions: .mp4, .m4v

Questions

Can I convert AVI clips from an old camera?

Yes. Many compact cameras recorded AVI in Motion JPEG with PCM audio; MP4 accepts neither, so Tramuta re-encodes the video to H.264 and the audio to AAC. On Android, video re-encoding has not been tested on a physical device yet.

Does a DivX or Xvid AVI lose quality?

No, if the video is MPEG-4 Part 2, as DivX and Xvid files are: Tramuta copies it into the MP4 without re-encoding. The same goes for an AVI with H.264 video.

Is the MP3 audio of an AVI re-encoded?

No, MP4 accepts MP3 and it is copied. Other audio codecs, such as PCM or AC-3, become AAC at 128 kbps.

Will an incomplete AVI be converted?

No. Tramuta reads the size declared in the AVI’s RIFF header and, if the file is shorter, reports it as damaged before converting.

Free on iPhone, iPad and Android

No ads, no in-app purchases, no account.

  • App Store

    iPhone and iPad, iOS 15.0 or later.

    Coming to the App Store
  • Google Play

    Android 7.0 or later.

    Coming to Google Play
  • APK for Android

    Android 7.0 or later, without Google Play.

    The APK is not available yet.