What are TS and MP4?
TS (MPEG transport stream) is the format of TV broadcasts, IPTV and HLS segments; recordings from TV tuners and stream downloads often come as .ts. MP4 is the video container that plays everywhere: phones, browsers, TVs, WhatsApp, Instagram and every editor, normally with H.264 video and AAC audio.
TV recordings and downloaded HLS streams arrive as .ts; as MP4 they open in phone galleries and editors and can be uploaded anywhere.
This page opens the video converter ready for TS → MP4. The conversion runs in your browser: the files never leave your device.
TS vs MP4
| TS | MP4 | |
|---|---|---|
| Extension | .ts | .mp4 |
| What it is | transport stream | container |
| Usual codecs | H.264, MPEG-2 + AAC, AC-3 | H.264, H.265, AV1 + AAC |
| Plays on | VLC, TVs; not most phone galleries or editors | everything |
| Best for | broadcast, IPTV, HLS | sharing, web, phones |
When to convert TS to MP4
- Convert to MP4 when the video must play on any phone, browser or social network.
- Keep the TS when the video is broadcast or streamed in segments.
What changes in the conversion
- The picture is re-encoded to H.264 and the sound to AAC, which every phone and browser plays. Re-encoding loses a little detail; the "high" quality keeps it invisible in practice.
- Everything runs in your browser with FFmpeg compiled to WebAssembly: big files need free memory (the page warns above 300 MB) and take longer on phones.
How to convert TS to MP4
- Drop one or more TS files (.ts) on the page.
- Convert; MP4 is already selected.
- Download each MP4 or a ZIP with all of them.
Example
The converter runs FFmpeg in your browser. With the default "balanced" quality, a TS is re-encoded with these exact arguments:
ffmpeg -i input.ts -map 0:v:0 -map 0:a:0 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -c:v libx264 -preset veryfast -crf 24 -pix_fmt yuv420p -c:a aac -b:a 160k -movflags +faststart -y output.mp4When the source video is already H.264 and the size is kept, the "fast" option copies the picture instead (-c:v copy), which takes seconds:
ffmpeg -i input.ts -map 0:v:0 -map 0:a:0 -c:v copy -c:a aac -b:a 160k -movflags +faststart -y output.mp4Frequently asked questions
Are my files uploaded?
No. Your browser reads and converts the TS files itself.
Why does a TS file not play everywhere?
A TS file is a transport stream that usually carries H.264, MPEG-2 + AAC, AC-3; it plays on VLC, TVs; not most phone galleries or editors. A MP4 plays on everything.
Is there a size limit?
No fixed limit, but the browser holds the file about three times in memory while converting; the page warns above 300 MB and above 1 GB, where a desktop with plenty of RAM works best.