AVI to M4V Converter

Re-encode an AVI video as an H.264 and AAC M4V in your browser.

or drop files here

AV

AVI Format

Audio Video Interleave

A RIFF-based media container whose streams can use many different codecs.

  • RIFF multimedia container
  • Different video codecs
  • Different audio codecs
M4

M4V Format

MPEG-4 video

A video suffix often used for MP4 packaging, with tool-specific ambiguity.

  • Often MP4-style packaging
  • Suffix can be ambiguous
  • Inspect actual container

How to convert AVI to M4V

Follow these steps to convert AVI to M4V online.

    1

    Choose your AVI file, or several at once.

    2

    Wait while the converter turns each file into M4V.

    3

    Download each new M4V file. Your original file isn't changed.

Before converting AVI to M4V

  • The browser makes a fresh H.264 and AAC encode.
  • Frame rate and picture size are capped.
  • On a desktop, name the MP4 format explicitly when you write an .m4v file.

AVI files and M4V output

What is an AVI file?

AVI, Audio Video Interleave, is a RIFF-based container that Microsoft introduced in 1992. It interleaves video with audio and can carry many codecs. It turns up as older Windows video, in camera or capture output, and in archives; modern features are poorly supported.

Programs that open AVI files

Windows, Mac and Linux:

  • mpv plays AVI and lets you pick the audio track.
  • ffplay plays it.
  • Adobe Premiere imports AVI when the decoder is available.

Mobile:

  • The VLC apps on Android and iOS play AVI on phones.

AVI and M4V compared

M4V is a video format developed by Apple that is very close to MP4, with H.264 video and AAC audio. HandBrake treats .m4v and .mp4 outputs as the same container. Files from the iTunes Store may carry FairPlay DRM. iTunes and the Apple TV app use it for videos, and so do phones and tablets.

This page runs FFmpeg in your browser. It re-encodes the video as H.264 at CRF 30 with the ultrafast preset and the sound as AAC at 96 kbps, with the index placed first in the file. A filter deinterlaces frames flagged as interlaced, a picture bigger than 1920 px on a side is shrunk to fit, and no more than 30 frames a second are kept. Width and height are then rounded down to even numbers, and a video inside those limits otherwise keeps its size and rate. A batch of AVI files is encoded in turn, one M4V each.

Other ways to convert AVI to M4V

  • FFmpeg encode: run ffmpeg -i archive.avi -c:v libx264 -crf 19 -c:a aac -f mp4 delivery.m4v. The -f mp4 picks MP4 packaging for the .m4v name.
  • FFmpeg copy: run ffmpeg -i archive.avi -c copy -f mp4 copied.m4v. The -c copy option leaves the streams unchanged instead of re-encoding them.

Problems with AVI files

  • An old codec: some players and decoders lack support for older AVI codecs.
  • Sound out of sync: check the whole clip, not only the opening seconds.
  • Larger than expected: the page sets no target size, so check the result against your needs.
  • Looks softer than the AVI: this page trades detail for speed, so use FFmpeg with a lower CRF for archival quality.

Frequently Asked Questions

Everything you need to know about our converter

Does it just copy the video into an M4V?

Is M4V different from MP4?

What happens to a video larger than the size limit?

Will a high frame rate stay as it is?

Why did my video lose a pixel?

How good is the quality?

Is interlaced video handled?

Is my AVI changed by the conversion?