Guides File conversion

Convert HEVC to MP4 on Mac

Make an H.264 copy that more apps can play and keep the first audio track. No upload needed.

A Takes for Mac guide · FFmpeg does the conversion.

Conversion sample4 sec · made for this guide
input.mp4HEVC video + AAC sound
compatible.mp4H.264 video + AAC sound
H.264 · AAC · 512 × 288 Play the converted MP4. A light moves across the frame as soft tones play. Download sample inputDownload sample result

On your Mac

Three steps in Terminal

  1. 1. Check what’s inside

    If FFmpeg isn’t installed and you use Homebrew, run brew install ffmpeg in Terminal. Then type cd and a space, drag the folder with your file into Terminal, and press Return. Replace input.mp4 with your file name, even if it ends in .mov. Look for codec_name=hevc (H.265).

    ffprobe -v error -show_entries stream=codec_name,codec_type,pix_fmt,sample_rate,channels:format=duration \
      -of compact "input.mp4"
  2. 2. Write a new MP4

    This re-encodes the first video and the first audio track, if present. It leaves the original alone. -n refuses to replace an existing output.

    ffmpeg -n -i "input.mp4" \
      -map 0:v:0 -map '0:a:0?' \
      -c:v libx264 -pix_fmt yuv420p \
      -c:a aac -b:a 192k -movflags +faststart \
      "compatible.mp4"
  3. 3. Check the codec, then play it

    Look for h264 and, if the original had sound, aac. Open compatible.mp4 from the same folder in QuickTime Player or the app that rejected the original. Check picture and sound.

    ffprobe -v error -show_entries stream=codec_name,codec_type,pix_fmt,sample_rate,channels:format=duration \
      -of compact "compatible.mp4"

What to check

MP4 is the box. H.264 is what’s inside.

PartWhat it meansOur example
ContainerHolds streams together.MP4 in both files
Video codecHow the picture is encoded.HEVC (H.265) → H.264
Audio codecHow the sound is encoded.First audio track → AAC

It’s already an MP4

That only tells you the container. Renaming a file or copying its video stream won’t turn HEVC into H.264.

Sound is missing or wrong

Inspect the input. No audio stream means a silent result. If it has multiple tracks, 0:a:0 picks the first; use 0:a:1 for the second.

The copy is bigger

This is a compatibility fix, not a size target. H.264 can be larger than HEVC. Keep the original; converting again can reduce quality.

HDR looks washed out

The command is for standard dynamic range. HDR can need tone mapping; keep the original and spot-check the target player before sharing.