DivX to TS — Transport Stream or MP4?
Almost everyone who lands on "DivX to TS" is doing one of two things: feeding an old rip into a streaming or broadcast pipeline, or trying to get a file that plays on a stubborn set-top box. The short answer: convert to TS if something downstream ingests MPEG-2 transport streams — an HLS packager, an IPTV headend, a DVB/ATSC playout chain, or a hardware player that only reads .ts. For everything else, MP4 carries the same H.264 video with far broader support. Either way this is a full re-encode, never a stream copy, because DivX's MPEG-4 Part 2 video is not a codec a transport stream normally carries.
TS vs MP4 Side by Side
| Property | TS (MPEG-2 Transport Stream) | MP4 |
|---|---|---|
| Standard | ISO/IEC 13818-1, published jointly as ITU-T H.222.0 | ISO/IEC 14496-14, built on the ISO base media file format (14496-12) |
| Structure | A stream of fixed 188-byte packets, a size originally chosen for compatibility with ATM networks | A tree of boxes/atoms with a single index (moov) |
| Designed for | Lossy delivery channels — terrestrial, satellite, and cable broadcast | Reliable storage and progressive download |
| Error resilience | High: sync bytes and repeated program tables let a decoder recover mid-stream | Low: a damaged index can make the whole file unplayable |
| Seeking | Scan-based; no global index, so players estimate positions | Instant, via the sample tables in moov |
| Live/streaming role | The original HLS segment format, defined in RFC 8216 §3.2 | Used by HLS as fragmented MP4 (RFC 8216 §3.3) and by DASH/CMAF |
| Codecs offered here | H.264 (default), H.265, MPEG-1, MPEG-2, MPEG-4, Xvid, DivX | H.264 and the same family |
| Audio offered here | AAC (default), AC-3, E-AC-3, DTS, MP2, MP3 | AAC and friends |
| Everyday playback | Patchy — VLC and MPV are fine, many phones and editors are not | Effectively universal |
When to Pick TS
- A packager, encoder, or IPTV/DVB headend in your chain expects transport-stream input, or you are producing HLS segments the old-fashioned way.
- The playback target is a broadcast-oriented device — a set-top box, a professional decoder, or a TV tuner card — that reads
.tsand refuses.mp4. - The file will travel over something lossy or be spliced mid-stream, where packet-level resync genuinely matters.
- You need MPEG-2 or MP2 audio for legacy broadcast compatibility; both are natural transport-stream payloads and both are offered under Advanced Options.
When to Pick MP4 Instead
- The file is for ordinary humans: phones, browsers, editors, cloud drives, messaging apps. MP4 opens everywhere
.tsdoes not. - You want fast, accurate seeking. Transport streams have no global index, so scrubbing is guesswork for many players.
- You plan to edit the result. Most non-linear editors ingest MP4 cleanly and choke or mis-time raw transport streams.
- Storage efficiency matters slightly: the 188-byte packet structure adds a few percent of container overhead that MP4 does not carry. In that case use DivX to MP4.
How to Convert DivX to TS
- Upload Your DivX File: Drag and drop your
.divxor.avifile onto the page, or click "+ Add Files" to browse. Several files can be queued and converted with the same settings. - Confirm Video Codec and Audio Codec: Open Advanced Options. The output defaults to H.264 video and AAC audio, which is what HLS packagers and modern set-top boxes expect. Switch to MPEG-2 video and MP2 or AC-3 audio only if a legacy broadcast device demands it.
- Set Quality Preset, Video resolution, or Trim: Quality Preset starts on "Very High (Recommended)". Use Specific file size for a hard cap, Constant Bitrate for a fixed-rate stream, or Constant Quality to type a CRF directly — that box starts at 23. Video resolution stays on "Keep original" unless you pick a preset, and Trim is set to "Unchanged" until you choose a Time Range.
- Convert and Download: Click "Convert" and save the
.tsfile. 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 or made public.
What Actually Changes in the Conversion
| DivX source | TS output | |
|---|---|---|
| Video codec | MPEG-4 Part 2, Advanced Simple Profile | H.264 by default; H.265, MPEG-2, MPEG-4, Xvid, DivX available |
| Audio codec | Usually MP3 or AC-3, sometimes MP2 or AAC | AAC by default; AC-3, E-AC-3, DTS, MP2, MP3 available |
| Container | DivX Media Format, an extension of AVI | MPEG-2 transport stream, 188-byte packets |
| Index | AVI index chunk at the end of the file | None — program tables are repeated throughout the stream |
| Timing | Frame-rate driven | PCR/PTS timestamps carried in the packet headers |
| Re-encode | — | Always. Video and audio are both decoded and re-compressed |
Frequently Asked Questions
Can the DivX video be copied into the TS without re-encoding?
No. A stream copy would require the transport stream to carry MPEG-4 Part 2 video, which is neither what broadcast equipment expects nor what this tool produces — every conversion here decodes the source and re-encodes it to the codec you selected. That means one generation of loss, which is exactly why the Quality Preset defaults to "Very High". If avoiding a re-encode is the priority, keep the original DivX file and use a player that handles it.
Why won't my .ts file play in Windows, QuickTime, or my editor?
Because .ts is a broadcast delivery format, not a consumer file format. There is no index at the head of the file, so a player has to scan to find program information, and many general-purpose apps simply do not implement MPEG-2 systems parsing. VLC and MPV handle the H.264/AAC stream this tool writes; Photos, QuickTime, and several NLE versions do not. If you need something that opens by double-clicking, convert to MP4 and use TS to MP4 if you already have transport streams on hand.
Which codec combination should I choose for an HLS packager?
Leave the defaults: H.264 video with AAC audio. That is the pairing HLS clients have supported since the format's inception, and RFC 8216 lists MPEG-2 Transport Streams as a first-class segment type alongside fragmented MP4. Choose H.265 only if every player in your chain is confirmed to decode it, and reserve MPEG-2 video plus MP2 audio for legacy DVB or ATSC equipment that predates H.264.
Will the picture look worse than the original DivX?
A little, because it is re-encoded. The good news is that H.264 is a substantially more efficient codec than MPEG-4 Part 2, so at the default preset it can hold the source's detail at a similar or smaller bitrate. The bad news is that no encoder can restore what the original DVD-rip pass discarded — soft, blocky source material stays soft and blocky. Keep the Quality Preset at "Very High", or switch to Constant Quality and lower the CRF number if you want to spend more bits.
How do I make the output hit a specific file size?
Use Specific file size under File Compression and type the number of megabytes you need. The encoder then works backward from that target rather than from a quality setting, so a small target on a long clip will visibly soften the picture — trimming first with a Time Range usually gives a better-looking result than squeezing the whole runtime. The percentage-based size control is not offered on this page; the exact-size control is.
Is .ts the same thing as the .m2ts files on a Blu-ray?
They are closely related but not identical. Both carry MPEG-2 transport streams, but the BDAV/AVCHD variant used on Blu-ray discs and camcorders prefixes each 188-byte packet with a four-byte arrival timestamp, giving 192-byte packets, and constrains the codecs and audio formats to the Blu-ray specification. A plain .ts file like the one this tool produces has no such prefix. Players usually handle both, but authoring tools generally do not treat them as interchangeable.
Can I cut out part of the DivX while converting?
Yes. Open Trim, switch from "Unchanged" to Time Range, and set a Start time and Duration in either seconds or HH:MM:SS.sss. Note that the Duration box starts at 10, so if you enable Trim and forget to change it you will get a ten-second clip. Set Duration to cover the whole section you want, or leave Trim on "Unchanged" to convert the full runtime.
Is my file kept private during the conversion?
Yes. Your DivX file is uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours. There is no sign-up, no watermark is added to the output, and files are never shared or made public. Long DivX rips can be large, so the slowest part of the job is usually the upload rather than the encode.