Skip to content

TS to MP4 converter

Choose a .ts file and download an MP4. When MP4 takes every stream in the TS, the video and sound are copied, not re-encoded: all 413 frames of a real HD broadcast recording came out identical, in 0.27 seconds on our test machine.

Choose a file or drag it here
MP4, AVI, MOV, FLV, MKV, WebM, 3GP, MPEG, MPG, GIF, WMV, TS (up to 500 MB)
Input
TS files
Izvade
MP4, streams copied when they all fit
Limit
Up to 500 MB
Price
Free, no account

How to convert TS to MP4

  1. 01

    Choose your TS

    Drop it on the box. The limit is 500 MB.

  2. 02

    Check what changes

    The table under your file shows what the MP4 keeps and what it drops.

  3. 03

    Download the MP4

    The link lasts one day.

Does converting TS to MP4 lose quality?

No, when MP4 takes every stream in the TS. The converter then copies the video and sound without re-encoding them.

We converted a real HD broadcast recording with MPEG-2 video and 5.1 AC-3 sound. Each of its 413 frames decodes to the same checksum before and after, and the file went from 28.0 MB to 26.8 MB. When one stream doesn't fit, like the Blu-ray PCM sound in the table below, the converter re-encodes the whole file to H.264 and AAC.

Broadcast TS
First frame checksum 464c1eca7ece617c7601ce83d089d0d3
28.0 MB
MP4
First frame checksum 464c1eca7ece617c7601ce83d089d0d3
26.8 MB
Copy0.27 s
Re-encode6.7 s
The first frame's checksum in both files, and the time on our test machine against re-encoding the same recording with this converter's H.264 setting. The recording is from FFmpeg's public sample archive.

What is in your TS decides whether the MP4 plays

Each row is a file we ran through the converter, then played in our test browser, Chromium, the open-source base of Chrome. Both MPEG-2 recordings stayed MPEG-2 in the MP4, and Chromium showed neither picture.

H.264 + AAC

Made with FFmpeg

NokopētsH.264 + AAC

Plays in Chromium: Yes

H.264 + Blu-ray PCM

Made with FFmpeg

Re-encodedH.264 + AAC: the PCM sound can't be copied

Plays in Chromium: Yes

MPEG-2 1080i + AC-3 5.1

A real HD broadcast recording

NokopētsMPEG-2 1080i + AC-3 5.1

Plays in Chromium: No

MPEG-2 + MP2 + two subtitle tracks

A real broadcast recording with DVB subtitles

NokopētsMPEG-2 + MP2, subtitles dropped

Plays in Chromium: Sound only

MPEG-2 + MP2 + an empty audio description track

A real UK broadcast recording

FailedFFmpeg can't write the empty track

Plays in Chromium: No

What the MP4 keeps

Video
MPEG-2 or H.264becomes Same frames, when every stream fits
Sound
AAC, MP2 or AC-3becomes Copied, 5.1 stays 5.1
Interlacing
1080ibecomes Still interlaced
PCM sound
Blu-ray PCMbecomes Whole file re-encoded to H.264 + AAC
Subtitles
DVB or teletextbecomes Dropped

Where is the MP4 going?

An MPEG-2 recording needs re-encoding or an extension.

Media Player on Windows 11 plays H.264 out of the box. MPEG-2 needs Microsoft's MPEG-2 Video Extension, and AC-3 sound is no longer included from Windows 11 24H2.

Source: Microsoft: codecs in Media Player

Convert on your computer

FFmpeg, as this converter runs it

Copies the video and every sound track. FFmpeg stops if MP4 can't take one of them.

ffmpeg -i in.ts -map 0:v:0? -map 0:a? -codec copy -movflags +faststart out.mp4
FFmpeg, MPEG-2 to H.264 for any player

Removes the interlacing and re-encodes. Our 1080i recording became 50 frames a second H.264 that plays in Chromium.

ffmpeg -i in.ts -map 0:v:0 -map 0:a? -vf bwdif -c:v libx264 -crf 20 -preset medium -pix_fmt yuv420p -c:a aac -b:a 160k -movflags +faststart out.mp4
FFmpeg, keeping the subtitles

MP4 can't hold DVB subtitles; MKV can. Copies everything into an MKV.

ffmpeg -i in.ts -map 0:v -map 0:a -map 0:s -c copy out.mkv
FFmpeg, first sound track only

Copies the video and the first sound track.

ffmpeg -i in.ts -map 0:v:0 -map 0:a:0 -c copy -movflags +faststart out.mp4
FFmpeg, a whole folder (Mac or Linux terminal)

Runs the converter's copy on each .ts file in the folder and saves each MP4 next to it.

for f in *.ts; do ffmpeg -i "$f" -map 0:v:0? -map 0:a? -codec copy -movflags +faststart "${f%.ts}.mp4"; done

If the conversion doesn't work

The conversion fails
Some recordings carry a sound track with nothing in it, like the audio description track in our UK recording. The converter takes every track, and FFmpeg stops at the empty one. The first-track command above skips it.
The MP4 plays sound but no picture, or won't open
The copy keeps the recording's video as it is. If that is MPEG-2, re-encode it with the MPEG-2 to H.264 command above.
The subtitles are gone
The converter keeps only video and sound. Use the MKV command above to keep them.
"Choose a file under 500 MB."
An HD recording at 13.2 Mbit/s passes 500 MB after about 5 minutes. The FFmpeg commands above have no limit.

Related file conversions

Turn an idea into a video

Give Storybook a topic or an article link. It makes an illustrated video with narration and music.

Try Storybook
All 42 tools

TS to MP4 questions

All file converters

Search converters