AVI to TS Converter

Convert AVI video to TS (MPEG Transport Stream) for broadcasting, IPTV, HLS streaming, and Blu-ray authoring.

Initializing... drag & drop files here

Supports: AVI

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
File Compression
Preset
Video resolution
Trim

How to Convert AVI to TS Online

  1. Upload Your AVI File: Drag and drop or click "+ Add Files" to select AVI clips — DV camcorder captures, Xvid/DivX rips, screen recordings, archived footage. Batch upload is supported, so you can queue an entire folder for HLS or IPTV packaging in one pass.
  2. Pick Compression and Bitrate: Default is Quality Preset "Very High (Recommended)". Switch to Constant Bitrate for broadcast contribution feeds (set 6–8 Mbps for 1080p H.264, 15–25 Mbps for Blu-ray-style mastering), Variable Bitrate for size-efficient HLS ladders, Constant Quality (CRF 18 visually lossless, 23 default, 28 small) for one-pass encoding, or Constraint Quality (CRF + max bitrate) when your CDN or playout chain enforces a peak.
  3. Resolution and Trim (Optional): Under Video Resolution, keep original, pick a Preset Resolution (2160p / 1440p / 1080p / 720p / 480p / 360p / 240p), enter Width × Height, or scale by Resolution Percentage. Under Trim, switch from Unchanged to Time Range and enter start time + duration in HH:MM:SS.sss to cut a single HLS-ready segment.
  4. Convert and Download: Click Convert. Files process in your browser session — no sign-up, no watermark, no upload to a third-party encoder.

Why Convert AVI to TS?

AVI is Microsoft's 1992 RIFF container from the Video for Windows era — designed for local playback, not for broadcasting or HTTP streaming. It has no built-in synchronization between elementary streams, no error-recovery mechanism, no Program Map Table, and the original AVI 1.0 spec capped files at 2 GB (OpenDML extends this to roughly 256 GB but not every player honors the extension). MPEG Transport Stream (defined in ISO/IEC 13818-1, first published July 1995) was engineered for the opposite job: lossy radio links, satellite hops, and segmented HTTP delivery.

  • HLS packaging — Apple's HLS spec (RFC 8216) explicitly defines MPEG-2 TS as a Media Segment Format, and the typical target duration is around 10 seconds per segment. Convert your AVI master once, slice with FFmpeg or Bento4, and serve directly from any HTTP origin.
  • DVB / ATSC contribution and playout — Broadcast playout servers (Harmonic, Imagine, EVS) ingest TS natively. ATSC adds 20-byte Reed-Solomon FEC; DVB and ISDB add 16 bytes. Re-wrapping AVI to TS is the first step before the modulator sees the stream.
  • IPTV middleware and set-top boxes — Most STBs (MAG, Formuz, Android TV IPTV apps) consume MPEG-TS over UDP/RTP multicast or unicast. AVI is not in the supported-container list for any major IPTV middleware.
  • Concatenation without re-encoding — Two TS files of the same codec/profile can be joined with cat a.ts b.ts > c.ts and play correctly because each 188-byte packet is self-describing. AVI concatenation breaks the index/header.
  • Legacy AVI rescue — If you have an OpenDML AVI larger than 4 GB that hits "file too large" errors in older editors, transcoding to TS preserves the video and audio while moving you to a container without the 2 GB / 4 GB ghosts.
  • Camera card workflows — Some prosumer camcorders write MPEG-TS natively (.ts or .m2ts). Re-wrapping AVI archives to TS standardizes a mixed library before NLE ingest.

AVI vs MPEG-TS — Container Comparison

Property AVI MPEG-TS
Origin / standard Microsoft RIFF, November 1992 (Video for Windows) ISO/IEC 13818-1, first published July 1995
Packet structure RIFF chunks indexed at end of file Fixed 188-byte packets, self-synchronizing
Error resilience None in container PCR sync, continuity counters; ATSC adds 20-byte RS FEC, DVB/ISDB add 16-byte
Streaming over HTTP Not designed for it; no segmentation primitive HLS Media Segment Format (RFC 8216 §3.2)
Broadcast use Not used DVB, ATSC, ISDB-T, IPTV — the de-facto carrier
Concatenation Breaks (single header/index) Trivial (cat a.ts b.ts) when codec matches
File size ceiling 2 GB (AVI 1.0); ~256 GB with OpenDML None in spec; practical limit is filesystem
Typical codecs inside DivX, Xvid, MJPEG, DV, uncompressed H.264, H.265, MPEG-2, AC-3, AAC, MP2

Compression Mode Quick Guide

Mode (UI label) What it does Pick when
Quality Preset (Highest → Lowest) One-click CRF wrapper You want sensible defaults — start with Very High
Target file size (%) Scales bitrate to N% of source Re-targeting a master to a smaller archive copy
Specific file size Solves bitrate to hit N MB Fitting a cap (CDN budget, USB stick, courier disk)
Constant Bitrate Locks bitrate every second Broadcast contribution, fixed-bandwidth links, IPTV multicast
Variable Bitrate Allocates bits where the picture needs them HLS VOD ladders, archival masters
Constant Quality (CRF) Fixed perceptual quality, variable size One-pass HLS source, smallest size at chosen quality
Constraint Quality (CRF + max) CRF with a hard ceiling Stream peaks must stay under the playout cap

Frequently Asked Questions

Will my .ts file work as an HLS segment out of the box?

Yes for the container — HLS (RFC 8216) explicitly accepts MPEG-2 TS — but the playlist still needs to be generated separately. XConvert produces a single TS file; to serve it as HLS you still need an .m3u8 playlist and segments cut to your target duration (around 10 seconds is typical). FFmpeg's -f hls -hls_time 10 does the slicing once you have the TS source. Codec-wise stick with H.264 + AAC or H.265 + AAC for the broadest player support.

Should I pick H.264 or H.265 for the TS output?

H.264 is the default for HLS — every Apple device since iOS 3, every modern browser, every IPTV STB decodes it. H.265 / HEVC cuts the bitrate roughly 40% at equal quality but is only fully supported in HLS on iOS 11+, Safari 11+, and modern STBs; older Android devices will fail. If your player is Apple-centric, H.265 is fine. For DVB/ATSC contribution feeds, check what your playout server expects — many still mandate H.264 or MPEG-2.

What's the difference between TS, M2TS, and MTS?

All three carry MPEG-2 Transport Stream payload, just with different headers. TS is the bare 188-byte packet container used in broadcast and HLS. M2TS adds a 4-byte timecode header per packet (192 bytes total) and is the AVCHD / Blu-ray flavor. MTS is the camera-side filename for the same M2TS layout. If you need Blu-ray authoring use AVI to M2TS; for HLS, IPTV, or broadcast use plain TS.

Why is the converted TS sometimes larger than the AVI?

Two common reasons. First, MPEG-TS has packetization overhead — 4-byte headers on every 188-byte packet plus PAT/PMT tables — which can add 2–5% versus the raw streams. Second, if your AVI was already low-bitrate Xvid/DivX and you encode at "Very High" quality, the new H.264 stream may use a higher bitrate than the source. Lower the quality preset, switch to Constant Quality with CRF 23–26, or use Target file size (%) to cap output at your source size.

What bitrate should I use for broadcast or IPTV?

For 1080p H.264, broadcast contribution is typically 6–10 Mbps CBR; IPTV distribution often 4–8 Mbps; ATSC over-the-air program streams sit around 12–19 Mbps multiplexed. For 720p, 3–5 Mbps is comfortable. Blu-ray-style mastering (if you're transcoding to TS as an intermediate) goes 15–25 Mbps. Check the receiving facility's spec — TR 290 / DVB conformance has tight rules and a CBR encode is usually mandatory.

Can I batch-convert a whole AVI archive?

Yes. Drop in as many AVI files as you want — Xvid rips, DV captures, screen recordings — and apply the same compression/resolution settings across the batch, or override per file. Files convert in parallel within your browser session and download individually or as a ZIP archive.

Can I trim a clip into a single HLS-ready segment?

Yes — use Trim → Time Range and enter start time + duration in HH:MM:SS.sss (e.g. start 00:00:30.000, duration 00:00:10.000 produces a 10-second clip suitable for a single HLS segment). Trim before encoding to avoid re-encoding footage you'll throw away.

My AVI is over 4 GB and other tools refuse to open it. Will this work?

Likely yes. Files larger than 2 GB (AVI 1.0) or 4 GB usually rely on the OpenDML extension introduced around 1996. XConvert reads OpenDML AVIs that legacy editors trip over and re-wraps the streams into TS — a container with no comparable ceiling. If your source is corrupted past the OpenDML index, results vary; otherwise the conversion is straightforward.

Should I just convert to MP4 instead?

Depends on the destination. If you're streaming to web players, sharing on social, or playing on a phone, AVI to MP4 is the right choice — MP4 is the universal sharing format. Pick TS only when you need broadcast, HLS, IPTV, or simple concatenation. For Blu-ray authoring use AVI to M2TS instead.

Rate AVI to TS Converter Tool

Rating: 4.8 / 5 - 97 reviews