TS to MP4

Convert TS videos to MP4 in seconds, one file or many at once, without sending them to any server.

loading TS to MP4
About this tool

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

TSMP4
Extension.ts.mp4
What it istransport streamcontainer
Usual codecsH.264, MPEG-2 + AAC, AC-3H.264, H.265, AV1 + AAC
Plays onVLC, TVs; not most phone galleries or editorseverything
Best forbroadcast, IPTV, HLSsharing, 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

  1. Drop one or more TS files (.ts) on the page.
  2. Convert; MP4 is already selected.
  3. 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.mp4

When 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.mp4

Frequently 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.

Report a problem