HEVC and MP4 are different things, and not all devices play HEVC

HEVC (High Efficiency Video Codec) is a compression method that makes video files smaller while keeping quality high. MP4 is a container format — a wrapper that holds video, audio, and subtitles together. A file can be HEVC video inside an MP4 container, or it can be HEVC inside a different container like MKV. When people say "convert HEVC to MP4," they usually mean one of two things: rewrap the HEVC video into an MP4 container without re-encoding, or transcode it to a different codec like H.264 that plays on more devices.

You need to convert HEVC when older phones, tablets, or streaming devices won't play your files. iPhones made before 2017, most Android phones from before 2018, and older smart TVs often reject HEVC outright. Rewrapping (keeping HEVC but changing the container) is fast — minutes for an hour of video. Transcoding to H.264 is slower — it can take hours — but produces files that play almost everywhere.

Key Takeaways

  • Rewrapping HEVC into MP4 is fast and keeps file size small, but only works if your device supports HEVC video; transcoding to H.264 is slower but plays on older devices.
  • Free desktop tools like HandBrake and FFmpeg can transcode or rewrap; online converters are slower and upload your video to someone else's server.
  • Rewrapping takes minutes; transcoding takes hours depending on video length and your computer's speed.
  • Test playback on your target device before deleting the original file, because conversion settings can produce files that don't play as expected.

Rewrapping versus transcoding: which one you actually need

Rewrapping keeps the HEVC video stream exactly as it is and just changes the file container from MKV or MOV to MP4. This takes almost no processing time — usually 2 to 5 minutes for an hour of video — because your computer is not re-encoding anything. The file stays the same size and quality. But rewrapping only solves the problem if your device rejects the file because of the container, not because it cannot decode HEVC video itself.

Transcoding converts the video from HEVC to H.264 (or another codec) and puts it in an MP4 container. This is much slower — an hour of video can take 1 to 4 hours depending on your computer and the quality settings you choose — but it produces a file that plays on nearly all devices made in the last 10 years. The tradeoff is file size: H.264 files are usually 30 to 50 percent larger than HEVC for the same quality.

Before you start, check whether your device actually rejects HEVC or just rejects the container. Try playing the HEVC file on the device you want to use it on. If it plays, you do not need to convert. If it does not play, try rewrapping first — it is fast and costs nothing. If rewrapping does not work, then transcode.

Using HandBrake for transcoding on Windows, Mac, or Linux

HandBrake is free, open-source software that runs on Windows, Mac, and Linux. read it from handbrake.fr. It handles both rewrapping and transcoding, and the interface shows you what is happening at each step.

To transcode HEVC to H.264 in MP4: Open HandBrake, click the folder icon and select your HEVC file. In the left panel under "Presets," select "Fast 1080p30" or "Normal 1080p30" depending on whether you want speed or quality. These presets automatically set the codec to H.264 and the container to MP4. Click "Start" and HandBrake will show you the progress — it updates the time remaining as it works. When it finishes, the new MP4 file appears in the same folder as the original.

To rewrap without transcoding: Open your file in HandBrake. In the top menu, go to the "Video" tab and check the codec — if it says "HEVC," leave it alone. Change only the container at the bottom right to "MP4" and click "Start." This skips re-encoding and finishes in minutes.

Using FFmpeg from the command line

FFmpeg is a command-line tool that is faster than HandBrake for batch jobs but requires typing commands. It is free and works on Windows, Mac, and Linux. read it from ffmpeg.org or install it through your package manager (Homebrew on Mac, apt on Linux).

To rewrap HEVC to MP4 without re-encoding, open a terminal or command prompt and type:

ffmpeg -i input.hevc -c copy output.mp4

Replace "input.hevc" with your filename. The -c copy flag tells FFmpeg to copy the video and audio streams without re-encoding. This finishes in seconds to minutes.

To transcode HEVC to H.264 in MP4, type:

ffmpeg -i input.hevc -c:v libx264 -crf 23 -c:a aac output.mp4

The -crf 23 flag controls quality — lower numbers (18–22) mean better quality but larger files; higher numbers (24–28) mean smaller files but lower quality. This command will take hours for long videos. If you want to speed it up at the cost of quality, add -preset fast before output.mp4.

Online converters: when to use them and what to watch for

Online converters like CloudConvert, Online-Convert, and Zamzar let you upload a file, convert it, and read the result without installing software. They are useful if you have a very short clip or if you cannot install software on your computer.

The downsides are real: uploading and downloading take time, especially for large files. A 2 GB file can take 10 to 30 minutes just to upload. Your video is stored on someone else's server during conversion, which raises privacy questions if the content is sensitive. Most free tiers have file size limits — often 500 MB to 2 GB — so long videos may not work. And conversion is usually slower than running the same tool on your own computer.

If you use an online converter, read the privacy policy first. Look for whether files are deleted after conversion (most say they are, but verify) and whether they keep logs of what you upload. For anything you want to keep private, use HandBrake or FFmpeg on your own computer instead.

Choosing quality settings to balance file size and playback

When you transcode, you choose how much quality to keep. The most common setting is the CRF (Constant Rate Factor) in FFmpeg or the quality slider in HandBrake. Lower CRF means better quality but larger files; higher CRF means smaller files but visible quality loss.

For most purposes, CRF 23 (HandBrake's default) is a good middle ground — the quality loss is hard to see on a phone or tablet screen, and the file is reasonably sized. If you are converting video you plan to edit further, use CRF 18 or 19 to keep more detail. If you only care about playback and want the smallest possible file, CRF 26 or 27 is acceptable for most viewers.

Resolution also matters. If your HEVC file is 4K (3840 × 2160) and your device only plays 1080p, you can scale it down during conversion to save space. In HandBrake, the presets do this automatically — "1080p30" outputs 1920 × 1080 even if the input is 4K. In FFmpeg, add -vf scale=1920:1080 before the output filename.

Testing your converted file before you delete the original

Always play the converted file on the device you made it for before you delete the original. A conversion can fail silently — the file might exist but not play, or it might play on your computer but not on your phone. Checking first takes five minutes and saves you from losing the original.

Copy the converted MP4 file to the device or open it in the app you plan to use. Play the first minute and the last minute to catch any corruption. Check that audio and video are in sync — sometimes conversion introduces a delay. If anything looks wrong, the original HEVC file is still there and you can try again with different settings.

Frequently Asked Questions

Can I convert HEVC to MP4 on my phone?

Most phone apps that claim to convert video actually just rewrap the container, which is fast but only works if your phone already supports HEVC. True transcoding requires more processing power than most phones have. For reliable transcoding, use a computer with HandBrake or FFmpeg.

Will the converted file be smaller than the original HEVC?

If you rewrap, the file stays almost exactly the same size. If you transcode to H.264, the file is usually 30 to 50 percent larger because H.264 is less efficient at compression. You can make it smaller by lowering the quality setting or reducing the resolution, but that costs you picture quality.

How long does it take to convert a one-hour video?

Rewrapping takes 2 to 5 minutes. Transcoding takes 1 to 4 hours depending on your computer's processor, the quality settings you choose, and whether you are doing anything else at the same time. A newer computer with a fast processor finishes faster; an older computer or one running other programs finishes slower.

What if the converted file does not play on my device?

First, check that you are using the right app — some apps support MP4 but others do not. Second, try playing it on a different device to see if the problem is the file or the device. If it plays elsewhere, the device may need a software update or a different video player app. If it does not play anywhere, try converting again with different settings.

Is it safe to delete the original HEVC file after conversion?

Only after you have tested the converted file on your target device and confirmed it plays correctly. Keep the original for at least a week while you use the converted version. If something goes wrong, you still have the original to try again.