MKV to MP4: Black Screen, Sound Only on a TV (HEVC Fix)
MKV remuxed to MP4 shows a black screen with sound on your TV? Check whether the video is HEVC, then remux or re-encode to H.264 with exact commands.
GuideUpdated 6 min read
On this page
You remuxed an MKV to MP4, copied it to a USB stick or streamed it to your TV, and now you get sound but a black screen. The TV opens the file, plays the audio, and shows nothing for the video.
Why the screen is black but the sound plays
MKV and MP4 are containers, like boxes. A remux (-c copy) moves the same video stream from one box to another without touching it. If the TV could not decode that stream in the MKV, it cannot decode it in the MP4 either. People on ffmpeg and HandBrake community forums report exactly this: the remux "worked", and only a re-encode fixed the picture.
The audio plays because its codec (usually AAC or AC-3) is one the TV supports, while the video codec is not.
Common causes, most likely first:
- HEVC video on a TV without an HEVC decoder. Most common on TVs from before about 2016, or cheap smart TVs.
- 10-bit H.264. Some TVs only decode 8-bit H.264.
- Resolution or level too high. A 4K file on a 1080p-era TV can fail even with the right codec.
- Missing
hvc1tag. This mostly affects Apple players, not TVs, but it can cause "won't open" results for HEVC MP4s.
Check which codec is in the file
You need ffprobe, which ships with ffmpeg. With Homebrew:
brew install ffmpegThis installs ffmpeg and ffprobe. Undo it with brew uninstall ffmpeg.
Run this on the MKV, or on the MP4 you made from it:
ffprobe -v error -show_entries stream=index,codec_type,codec_name,profile,pix_fmt -of compact movie.mkvIt prints one line per stream. Read the line with codec_type=video:
codec_name / pix_fmt | What it means | What to do |
|---|---|---|
h264, yuv420p | Plain 8-bit H.264, which most TVs play | Remux to MP4 |
h264, yuv420p10le | 10-bit H.264, which some TVs refuse | Re-encode with -pix_fmt yuv420p |
hevc | H.265. Older TVs often cannot decode it | Re-encode to H.264, unless your TV lists HEVC support |
| anything else | Not covered here | Check your TV's supported formats first |
mediainfo (brew install mediainfo) shows the same information if you prefer it.
Test the TV before converting the whole file
A feature-length re-encode takes a while, so test first. This copies 30 seconds into an MP4 without re-encoding:
ffmpeg -t 30 -i movie.mkv -map 0:v:0 -map 0:a:0 -c copy sample.mp4Play sample.mp4 on the TV. A picture means a full remux will work. Black with sound means the TV cannot decode the video stream, so go to Fix 2.
Fix 1: remux when the TV can play the codec
Use this when the video is H.264, or HEVC on a TV that lists HEVC support:
ffmpeg -i movie.mkv -map 0:v:0 -map 0:a:0 -c copy movie.mp4This is lossless and takes seconds. It keeps the first video and audio streams and drops the rest, including subtitles.
For HEVC, add -tag:v hvc1 before movie.mp4. Without it, QuickTime and other Apple players may refuse the MP4.
If ffmpeg errors on the audio, MP4 cannot hold that audio codec. Replace -c copy with -c:v copy -c:a aac -b:a 192k to copy the video and convert only the audio.
Fix 2: re-encode to H.264
Use this when the video is HEVC and the TV cannot decode it:
ffmpeg -i movie.mkv -map 0:v:0 -map 0:a:0 -c:v libx264 -crf 20 -preset medium -pix_fmt yuv420p -profile:v high -level 4.1 -c:a aac -b:a 192k -movflags +faststart movie-h264.mp4-c:v libx264 -crf 20encodes H.264 at constant quality. Lower numbers mean higher quality and bigger files.-pix_fmt yuv420pforces 8-bit video, which avoids the 10-bit problem.-profile:v high -level 4.1is a conservative setting for 1080p up to about 30 fps. For a 4K source going to a 1080p TV, also add-vf scale=-2:1080.-c:a aac -b:a 192kconverts the audio to AAC, which MP4 handles reliably.
Expect a larger file than the HEVC original at similar quality. That is the price of compatibility.
Fix 3: re-encode in an app
| Method | Good for | Limit |
|---|---|---|
| ffmpeg commands above | Full control over codec, quality and streams | Terminal only |
| HandBrake | Video transcoding with a job queue | Video only; you choose the codec yourself |
| Avidemux | Cutting and re-encoding with a GUI | Check its output codec before saving |
| VLC | Quick remux or convert | Users report trimmed MKV-to-MP4 files that freeze in some players |
| Gizmojar Convert | Turning an HEVC MP4, MOV or M4V into H.264 MP4 | MKV input is unverified, so remux first |
Whichever app you pick, set the video encoder to H.264 explicitly so you do not get HEVC again.
Where Gizmojar fits
We make Gizmojar, and it covers only part of this job: turning an HEVC MP4 into an H.264 MP4. It reads what macOS AVFoundation can open, and its recognized video extensions are mov mp4 m4v qt 3gp 3g2. We have not verified that it opens MKV, so remux with ffmpeg first (Fix 1, with -tag:v hvc1 for HEVC).
- Press ⌃⌥Space (Control-Option-Space, the default) to open the command bar, then drop the MP4 on it.
- Pick Convert from the video tools.
- Press ⌘↵ to open the options. Check that Format: is MP4 and Video: is H.264 (both are defaults).
- Press ↵ to run it.
The result is saved next to the original as <name> (converted).mp4; the original is not changed.
Gizmojar is part of MacSuite: $349 one-time as of November 2026, with a 7-day trial per app. See the Gizmojar page, the video tools doc, or the guide to converting MOV to MP4.
Checklist before you try again
- The
ffprobeoutput saysh264withyuv420p(nothevc, not 10-bit). - Resolution is no higher than the TV supports.
- The audio is AAC (or another codec the TV lists).
- The file is on a drive the TV can read (exFAT or FAT32 under 4 GB per file).
- A 30-second sample played correctly before you converted the whole film.
If it still doesn't play
- Black screen after re-encoding to H.264: the file may still be 10-bit or above the TV's level limit. Re-run with
-pix_fmt yuv420p -profile:v high -level 4.1. - No sound, or the wrong language: re-encode the audio to AAC and pick the track with
-map 0:a:1(second audio stream) instead of0:a:0. - Subtitles missing: the commands above drop them. Add
-map 0:s:0 -c:s mov_textfor a text subtitle track. Image-based subtitles cannot be added to MP4 that way. - Colors look washed out: the source is probably HDR converted to SDR without tone mapping. In Gizmojar, choose SDR in the Color: row.
- File won't copy to the USB stick: FAT32 cannot hold files over 4 GB. Reformat as exFAT if your TV reads it, or compress the file. Reformatting erases everything on the stick.
If nothing works, contact the TV maker's support. Include the model number, the ffprobe output and what you tried.
Hello, my TV (model: your model number) shows a black screen with sound when
I play an MP4 file from USB. ffprobe reports: video codec your codec, pix_fmt
your pix_fmt, resolution your resolution, audio your audio codec. Which video
codecs, profiles and maximum resolution does this model decode from USB?Common questions
Is MP4 or MKV better for TVs?
Neither on its own. What matters is the codec inside. Many TVs open both containers, but fail on HEVC or 10-bit video.
Will re-encoding to H.264 lose quality?
Slightly, because it is a lossy re-encode. At -crf 20 the loss is usually hard to see, and the file gets bigger than the HEVC original.
Does hvc1 fix the black screen?
No. That tag helps Apple players open HEVC MP4s. A TV with no HEVC decoder still shows black.
Can I just play the MKV directly?
Sometimes. If the TV or a player box like a streaming stick supports HEVC, the original MKV may play fine, but the same decoder limit applies.