How to Convert AVI to M2TS Online
- Upload Your AVI File: Drag and drop or click "Add Files" to select AVI files from your computer. DivX, XviD, MJPEG, MPEG-4, and Cinepak-encoded AVI sources all work — the wrapper is what counts. Batch is supported, so a folder of legacy clips can be queued in one pass.
- Pick a Video Codec and Quality: Default is H.264 (the AVCHD / Blu-ray spec codec). Choose MPEG-2 if you're targeting an older Blu-ray authoring chain that expects it. Pick a Quality Preset (Highest → Lowest), target a percentage of the original size or an exact size in MB, or fine-tune with CRF on the H.264 0-51 scale (18 = visually lossless, 23 = default for disc playback, 28 = smaller archive).
- Set Resolution and Trim (Optional): M2TS is an HD container — pick a Preset Resolution (1080p or 720p; the list is height-only, so the width follows your source's aspect ratio), enter an exact Width × Height such as 1920 × 1080 or 1440 × 1080, or scale by percentage. Use the trim section with a start time and duration in HH:MM:SS.sss to extract just the segment that needs to land on disc.
- Convert and Download: Click Convert. Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark, never shared.
Why Convert AVI to M2TS?
AVI (Audio Video Interleave) is the multimedia container Microsoft shipped in 1992 — it accepts almost any codec but has no real notion of streaming, chapters, or HD-disc structure. M2TS (MPEG-2 Transport Stream, the BDAV variant) is the stream format used by Blu-ray discs and AVCHD camcorders since 2006: H.264 video plus AC-3 or LPCM audio inside an MPEG-2 transport wrapper, designed for steady-bitrate playback off optical media. Converting AVI → M2TS is almost always about getting legacy footage into a disc-authoring or HD-playback workflow:
- Authoring AVCHD-on-DVD discs that play on standalone Blu-ray players — Burn the M2TS into the
BDMV/STREAM/folder structure on a DVD-R or BD-R and any Blu-ray player from 2008 onward, plus PS4 and PS5, will play it like a real Blu-ray disc. No Blu-ray burner required for AVCHD-on-DVD authoring. - Re-mastering 1990s and 2000s AVI archives for HD disc — Old DivX / XviD AVIs from the early file-sharing era often hold family events and rare TV captures. Re-encoding to H.264 inside M2TS lets that footage play off a modern Blu-ray player or a USB stick plugged into a TV instead of needing a PC.
- Feeding disc-authoring apps that expect transport streams — multiAVCHD, tsMuxeR, and the AVCHD templates in ImgBurn all want
.m2ts(or.mts) input, not AVI. Converting first lets the authoring app drop the stream straight into aBDMV/build. - Camcorder and TV USB playback — Many Sony, Panasonic, and Sharp TVs from 2010 onward play AVCHD-style M2TS files off a USB stick natively, but stumble on AVI. The conversion turns "won't play" into "plays at full HD with the correct aspect."
- Editing in legacy AVCHD-only NLEs — Sony Vegas (pre-13), Pinnacle Studio, and Panasonic-bundled editors only accept native AVCHD M2TS / MTS — they reject AVI containers outright. A one-time conversion brings the old footage into the timeline.
- Stripping AVI codec baggage for predictable playback — AVI files in the wild use dozens of codec combinations (DivX 3, XviD, MJPEG, ancient Indeo). Re-encoding to standardized H.264 + AC-3 inside M2TS produces a single predictable file every downstream device handles cleanly.
AVI vs M2TS — Format Comparison
| Property | AVI | M2TS |
|---|---|---|
| Origin | Microsoft, 1992 | Sony / Panasonic AVCHD + Blu-ray spec, 2006 |
| Container | RIFF / Audio Video Interleave | MPEG-2 Transport Stream (BDAV) |
| Common video codec | DivX, XviD, MJPEG, MPEG-4 ASP | H.264 / AVC (also MPEG-2 on Blu-ray) |
| Common audio codec | MP3, AC-3, PCM | AC-3 (Dolby Digital), LPCM |
| Resolution | Any — typically SD or 720p in older files | HD only — 1080p / 1080i / 720p |
| Streaming-ready | No — designed for local file playback | Yes — constant-bitrate transport stream |
| Disc authoring | Not a disc format | Native — Blu-ray and AVCHD discs |
| Modern device support | Hit-or-miss outside PCs | Universal on Blu-ray players, PS4 / PS5, AVCHD-aware TVs |
| Best for | Legacy archives, PC-only playback | Disc authoring, HD camcorder workflows, TV USB playback |
Quality Preset / CRF Quick Guide
| Setting | CRF (H.264) | Approx bitrate (1080p) | Best for |
|---|---|---|---|
| Highest | 18 | 24-30 Mbps | Mastering, near-source disc authoring |
| High | 20 | 18-22 Mbps | Blu-ray-on-DVD, archival |
| Medium | 23 | 12-16 Mbps | General AVCHD disc / USB playback |
| Low | 26 | 6-9 Mbps | Long runtime on a single DVD-R |
| Lowest | ~32 | 3-5 Mbps | Maximum runtime on small media |
Note: The AVCHD spec caps peak video bitrate at 24 Mbps for AVCHD 1.0 and 28 Mbps for AVCHD 2.0. If a downstream player rejects the file, drop the bitrate below 24 Mbps.
Frequently Asked Questions
What's the difference between M2TS and MTS?
They're the same stream format with different file extensions. MTS is what AVCHD camcorders write directly to SD card. M2TS is the same content used inside the BDMV/STREAM/ folder on a Blu-ray or AVCHD disc. Most authoring apps expect .m2ts. If you need the camcorder-style extension instead, see Convert AVI to MTS.
Should I pick H.264 or MPEG-2 for the M2TS output?
H.264 for almost everything — it's the AVCHD default and what every Blu-ray player from 2008 onward decodes natively. MPEG-2 only if you're targeting a very early Blu-ray authoring chain or an SD-DVD-style workflow that explicitly requires it. H.264 at the same visual quality is roughly half the bitrate of MPEG-2, so files are smaller and discs hold more runtime.
Will my old DivX or XviD AVI convert cleanly?
Yes. DivX and XviD are MPEG-4 ASP variants — fully decodable. The converter re-encodes the video to H.264 (or MPEG-2 if you choose it) and the audio to AC-3 inside the M2TS wrapper. Because AVI usually holds SD or 720p content, the output stays at source resolution unless you upscale via the resolution preset.
Can I burn the converted M2TS onto a regular DVD-R and have a Blu-ray player play it?
Yes — that's the AVCHD-on-DVD workflow. Drop the converted .m2ts into the BDMV/STREAM/ folder on a DVD-R, add the standard BDMV/INDEX.BDM, MOVIEOBJ.BDM, and PLAYLIST/00000.MPL index files (most disc-burning apps build these automatically when you pick "AVCHD disc"), and Blu-ray players from 2008 onward, plus PS4 and PS5, will play the disc. No Blu-ray burner needed.
What if my AVI is interlaced or 480i?
Many older AVIs from VHS captures and early DV transfers are 480i interlaced. The converter does not deinterlace — the field pattern is carried into the M2TS as recorded, so combing can show on progressive HD displays during motion; deinterlace in a desktop editor first if that matters for your footage. M2TS itself supports 1080i, but AVCHD players generally expect 1080i / 1080p / 720p — if you need a strict-AVCHD-compatible disc from an SD source, use the resolution preset to upscale to 720p; otherwise leave it at source and let the player handle it.
Will the audio survive?
Yes. AVI audio in the wild is usually MP3, AC-3, or PCM. All three are re-encoded to AC-3 (Dolby Digital), the AVCHD default, at 192-384 kbps. If your AVI carries multi-channel audio, the primary track is kept and downmixed to stereo or 5.1 depending on the source layout.
Is there a file size limit?
XConvert handles large AVI files including multi-GB legacy captures. Conversion happens on our servers, so the practical limit is upload size and connection speed and patience for the upload. There's no fixed cap, no quantity limit on batch jobs, and no watermark on the output.
What about the BDMV folder structure for a finished disc?
The converter outputs the stream file (the .m2ts content). The surrounding BDMV/INDEX.BDM, MOVIEOBJ.BDM, and PLAYLIST/ index files are generated by your disc-authoring app — multiAVCHD, tsMuxeR, ImgBurn with the AVCHD template, or the built-in tools in Vegas and EDIUS. Drop the converted .m2ts into the authoring app's input list and it builds the folder structure for you.
Can I trim part of the AVI while converting?
Yes. Use the trim section to enter a start time and duration. Both accept seconds (2.5) or HH:MM:SS.sss (00:00:02.500). Trimming first means the encoder does less work and the output disc file is smaller. For a pure-trim pass with no codec change, see Convert AVI to MP4 for a more universally compatible output.