TS to MP4 Converter
Convert MPEG-2 Transport Stream (.ts) files to MP4 format directly in your browser using FFmpeg. Fast remux without re-encoding. Files up to 2GB supported.
About TS to MP4 Converter
Overview
TS to MP4 Converter transforms MPEG-2 Transport Stream (.ts) files into MP4 format directly in your browser. The conversion uses FFmpeg WebAssembly to remux the stream — copying audio and video tracks without any re-encoding, so the process is fast and lossless. The output MP4 is optimized for web playback with the faststart flag. Files up to 2GB are supported. For larger files, FFmpeg WebAssembly has memory limitations that prevent processing.
Features
- Lossless remux — audio and video are copied without re-encoding
- Optimized MP4 output with -movflags faststart for immediate web playback
- Real-time progress tracking during FFmpeg conversion
- Clear 2GB file size limit enforced before processing begins
- File drag-and-drop support for convenient upload
- FFmpeg WebAssembly runs entirely in-browser — no server uploads
- Shows input and output file sizes after conversion
- Works with .ts files from any source including HLS stream downloads
How to Use
- Click "Choose .ts File" or drag and drop your .ts file into the upload area
- Verify the file name and size shown in the file info panel
- Click "Convert to MP4" to start the conversion
- Wait for FFmpeg to load (first-time only, ~30MB download) and then convert
- Monitor the conversion progress bar
- Click "Download" to save the converted .mp4 file to your device
FAQ
Why does conversion fail for files over 2GB?
FFmpeg WebAssembly runs in a 32-bit memory space within the browser, limiting addressable memory. Files larger than 2GB cannot fit in this memory model. For larger files, use desktop FFmpeg or split the file into smaller segments first.
Is the video quality affected by conversion?
No quality loss occurs. This tool remuxes the stream using stream copy (-c copy), which moves audio and video data into the MP4 container without decoding or re-encoding. The output is bit-for-bit identical to the input content.
How long does conversion take?
Conversion is very fast since no re-encoding occurs. A 1GB file typically converts in under a minute. Initial FFmpeg loading takes 10-30 seconds on first use but is cached by your browser for subsequent conversions.
What if the converted MP4 does not play correctly?
If the .ts file contains codecs unsupported by MP4 containers (rare), the remux may fail. Try playing the .ts file first to verify it plays, then retry conversion. Some HEVC or unusual audio codec files may need transcoding instead.
Where can I get .ts files to convert?
MPEG-2 Transport Stream files come from HLS downloads, broadcast recordings, DVR captures, and some video editing software. Use our M3U8 HLS Downloader tool to download stream segments and then convert them to MP4 here.