# Convert MKV to MP4 so your TV plays it

> Markdown version of https://stella.sh/how/video/convert-mkv-to-mp4 for agents and LLMs.
> TV won't play your MKV movies? Convert them to MP4 with VLC, HandBrake or ffmpeg, often without re-encoding, or let Stella (stella.sh) check each file and do it.

An MKV is a box around video, sound and subtitles, and TVs usually reject one thing inside it, not the box. If the video is H.264 and the sound AAC, just copy them into an MP4 (seconds, no quality lost); convert only what the TV can't play, often HEVC video or Dolby Digital sound. HandBrake, VLC and ffmpeg all do it for free. Stella (stella.sh) checks each file and converts only what it has to.

- Checked: 12 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 12 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: Three MKVs became three MP4s in 1 minute 46 seconds. One was only repackaged, one had its Dolby Digital sound converted to AAC, and one had its HEVC video re-encoded to H.264 with its 5.1 sound kept. Checked afterwards: all three decode start to end with no errors, the lengths match to within 0.02 s, the loudness to within 0.1 dB, and all 29 subtitle lines are there with the same text and timing. The MKVs were byte-for-byte unchanged. The three test films are 32–36-second clips of NASA's public-domain Artemis I launch footage at 720p, each with a generated narration track and an English subtitle track that matches it. They were made for this run: one H.264 with AAC sound, one H.264 with Dolby Digital stereo, one HEVC with Dolby Digital 5.1. The wait is sped up 12×. We didn't play the files on a real TV.

Video (41 s): https://stella.sh/media/proofs/video/convert-mkv-to-mp4/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. Three MKV films are in Videos/Movies.
- 0:03 The prompt: my TV won't play these MKV movies, convert them to MP4 so they work.
- 0:08 Stella replies: each MP4 goes next to its original, and the MKVs stay where they are.
- 0:11 Checking every track in every file, then converting all three at once, sped up 12×.
- 0:19 Done. Launch Night was copied as it was, Three Miles Out had its Dolby Digital sound converted, and Ignition's HEVC video became H.264. All three keep their English subtitles.
- 0:30 It couldn't test on the TV itself, says the subtitles are now on by default, and offers to delete the MKVs once you've checked.

What Stella does:

1. Looks inside every MKV for its video, sound and subtitle tracks, in the recording three films with three different mixes
2. Copies the picture and sound straight across when they're already in a format TVs play, so nothing is re-encoded and it takes seconds
3. Converts only what a TV may refuse: Dolby Digital (AC3) sound to AAC, and HEVC video to H.264, testing a few quality settings first
4. Turns the subtitle track into the kind an MP4 can carry, so the English subtitles come along
5. Checks every new file plays to the end, saves them next to the MKVs with the same names, and leaves the originals alone

## The prompt to paste

```text
My TV won't play these MKV movies, convert them to MP4 so they work. They're in Videos/Movies.
```

## Convert it yourself

1. **See what's inside the MKV.** Open it in VLC and choose Tools > Codec Information (Window > Media Information on a Mac), or install MediaInfo. Note the video codec (H.264/AVC or HEVC/H.265), the audio codec (AAC, AC3/Dolby Digital, E-AC3, DTS) and whether there's a subtitle track. Compare that with your TV's manual: many play H.264 with AAC everywhere, while HEVC, AC3 and DTS support depends on the brand and year.
2. **If the video is H.264, just repackage it.** With ffmpeg, `ffmpeg -i movie.mkv -map 0 -c copy -c:s mov_text -movflags +faststart movie.mp4` copies the picture and sound into an MP4 in seconds with no quality lost, and turns text subtitles into the MP4 kind. Add `-c:a aac -b:a 256k` (before the output name) if the TV complains about the sound only.
3. **If it's HEVC, or you'd rather use a window.** In HandBrake (free, Windows and Mac), open the file, pick the Fast 1080p30 preset (or 720p for a smaller file), keep the Format as MP4, set the Video Encoder to H.264, and on the Audio tab choose AAC. On the Subtitles tab add the English track and leave Burn In off to keep them switchable. Re-encoding a full film can take as long as the film or longer on a laptop.
4. **Or use VLC.** Choose Media > Convert / Save, add the MKV, click Convert / Save, pick the profile Video – H.264 + MP3 (MP4) and a file name ending in .mp4, then Start. It's simple, but VLC always re-encodes and may drop the subtitles, so check the result.
5. **Subtitles still don't show?.** Many TVs ignore subtitles stored inside an MP4 but show a separate file. Save the subtitles as `Movie Name.srt` next to `Movie Name.mp4` (in ffmpeg, `ffmpeg -i movie.mkv -map 0:s:0 movie.srt`), or burn them into the picture in HandBrake if you always want them on. Image subtitles from Blu-rays (PGS) can't go into an MP4 as text; burn them in instead.

## Where Stella stops

- We didn't play the MP4s on a real TV. “Works” here means they decode start to end with no errors in H.264 and AAC, which most TVs since about 2012 play; check one on yours before deleting the MKVs.
- The subtitles ended up switched on by default in all three files, and Stella said it couldn't change that back. It also didn't make separate .srt files, which some TVs need to show subtitles at all; ask for them if yours ignores the built-in ones.
- The test films were half a minute long. A two-hour film that only needs repackaging still takes seconds, but one that needs HEVC re-encoded can take an hour or more on a laptop, and the H.264 file comes out bigger (here 2.8 MB became 5.1 MB).
- ffmpeg was already on the Linux computer in the recording. On Windows or a Mac, Stella would install it first, which hasn't been recorded yet.
- Copy-protected files (from a streaming app or an encrypted Blu-ray) can't be converted.

## Questions

**Does converting MKV to MP4 lose quality?**
Not if it only repackages: copying H.264 video and AAC sound into an MP4 keeps them bit for bit. Quality is only lost when something is re-encoded, like HEVC to H.264, and at a sensible setting (HandBrake's presets, or ffmpeg's `-crf 20`) it's hard to see.

**Why does my TV play the picture but not the sound?**
The sound track is usually Dolby Digital (AC3), E-AC3 or DTS, which some TVs won't decode inside an MP4 or from a USB stick. Converting only the sound to AAC fixes it and leaves the picture untouched; that's what Stella did for one of the three test films.

**Will the subtitles carry over?**
Text subtitles (SRT, ASS) can go into an MP4 as a switchable track, and did in the recording, but not every TV shows that kind. A separate .srt file with the same name, or burning them into the picture, works almost everywhere.

**Is there a way without converting at all?**
Yes. A media server such as Plex or Jellyfin converts on the fly while you watch, and a cheap streaming stick (Chromecast, Fire TV, Apple TV with Infuse) plays most MKVs directly.

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [HandBrake documentation: subtitles](https://handbrake.fr/docs/en/latest/advanced/subtitles.html), [FFmpeg documentation](https://ffmpeg.org/ffmpeg.html), [VideoLAN: VLC media player](https://www.videolan.org/vlc/), [Samsung Developers: TV video specifications](https://developer.samsung.com/smarttv/develop/specifications/media-specifications/2025-tv-video-specifications.html), [NASA: Artemis I Launch from NASA Causeway (source footage)](https://images.nasa.gov/details/GX010506).

## Related problems

- [Compress a video for Discord](https://stella.sh/how/video/compress-video-for-discord.md)
- [Add burned-in subtitles to a video for TikTok](https://stella.sh/how/video/burn-subtitles-into-video-for-tiktok.md)
- [Merge videos into one, in the order they were filmed](https://stella.sh/how/video/combine-videos-into-one.md)
- [Convert MOV to MP4 so your phone videos play anywhere](https://stella.sh/how/video/convert-mov-to-mp4.md)
- [Convert WebM to MP4 that plays on an iPhone](https://stella.sh/how/video/convert-webm-to-mp4.md)
- [Cut silences out of a video automatically](https://stella.sh/how/video/cut-silences-from-video.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
