MP4 to HEVC Converter

Encode an MP4's video as a raw HEVC stream with your browser's own H.265 encoder.

Video only: .hevc files are raw video streams with no audio.

or drop files here

MP

MP4 Format

MPEG-4 Part 14

A media container that can hold encoded video alongside sound and other tracks.

  • Container rather than codec
  • Multiple codec combinations
  • Track support depends on the receiving software
HE

HEVC Format

High Efficiency Video Coding (H.265)

The video coding standard also known as H.265.

  • Video codec
  • Raw streams do not carry audio
  • Distinct from an MP4 container

How to convert MP4 to HEVC

Follow these steps to convert MP4 to HEVC online.

    1

    Choose your MP4 file, or several at once.

    2

    Wait while the converter turns each file into HEVC.

    3

    Download each new HEVC file. Your original file isn't changed.

What to know before converting MP4 to HEVC

  • The .hevc file is a raw H.265 video stream. It has no audio.
  • Your browser's own HEVC encoder does the work, so it needs a browser and device that offer one. Without it the conversion stops with a message.
  • The video is first reduced to at most 1920 pixels on the longer side and 30 fps.
  • Frames marked as interlaced are deinterlaced first.
  • A raw stream is not a movie file: it has no track structure, so a player may ask for a container.

About MP4 and HEVC files

What is an MP4 file?

MP4 follows ISO/IEC 14496-14 and keeps video, audio, subtitles and metadata in separate tracks. The video inside may be H.264, H.265 or another codec, and the sound is usually a separate track. Container support alone does not mean a player has a decoder for what is inside, and an MP4 whose writing was interrupted can be left unplayable.

An MP4 file plays on nearly every device, which makes it the usual source for a video you want to re-encode. The extension names the wrapper and never the codec, so an MP4 can already hold H.265 without any sign of it in its name.

Programs that open MP4 files

Windows

  • FFplay: ships with FFmpeg and plays MP4 through FFmpeg's MP4 demuxer.

Mac

  • Adobe Premiere: can import MP4 once the decoder it needs is available.

Linux

  • mpv: a desktop player that lets you switch audio and subtitle streams.

Web

  • Firefox: opens MP4 files directly; AAC and H.264 may need system codecs.
  • Chrome: plays MP4 files whose audio and video combination it supports.

Mobile

  • VLC on Android and iOS: a free mobile player for most movie files, local or networked; the codec inside the file decides whether decoding works.

MP4 and HEVC compared

  • Layer: MP4 is a container. HEVC is a video codec, so an MP4 may already hold HEVC.
  • Audio: an MP4 can carry sound. The .hevc file made here carries none.
  • Structure: a raw stream has no track organization and no timestamps.
  • Profiles: HEVC profiles set different feature combinations, including higher bit depths and full-resolution chroma. A decoder must support the stream's profile and level.
  • Support: Apple introduced HEVC media support with iOS 11 and macOS High Sierra 10.13, and older Apple devices may be limited by the video's resolution or frame rate.

HEVC is a video codec, also named H.265 and MPEG-H Part 2. ISO/IEC and ITU-T standardized it jointly and first published it in 2013 for storage, television, streaming and video calls.

What changes in this conversion is the whole video, in three steps. FFmpeg first decodes the MP4, deinterlaces frames marked interlaced, shrinks anything above 1920 pixels or 30 fps, and passes a constant-rate copy to your browser. The browser's own HEVC encoder then re-encodes it. FFmpeg finally writes the encoded video as an Annex B .hevc stream and records the frame rate in it, because a raw stream has no timestamps.

Because the encoder belongs to your browser, the result depends on your device. A browser without an HEVC encoder stops with a message and no file is made. The video always goes through a fresh encode, so it is lossy, and the new extension is not a sign of a lossless copy.

Pick this conversion when a tool asks for an elementary H.265 stream, for example a pipeline that adds its own container later. If you want a smaller movie that still has sound, use an exporter that writes HEVC into an MP4 instead.

Other ways to convert MP4 to HEVC

  • FFmpeg with libx265 (command line): run ffmpeg -i input.mp4 -an -c:v libx265 -f hevc output.hevc. It writes raw video without audio, and -an leaves the sound out.
  • x265 (standalone): run ffmpeg -i input.mp4 -an -pix_fmt yuv420p intermediate.y4m, then x265 intermediate.y4m output.hevc. x265 reads raw YUV or Y4M, not MP4, so the intermediate file needs disk space.
  • MP4Box: run MP4Box -info input.mp4 to find the HEVC track, then MP4Box -raw 1:output=output.hevc input.mp4, replacing 1 with that track number. This only works when the MP4 already contains HEVC, and it copies rather than encodes.

Problems with MP4 files

  • A player says it cannot decode the video: opening the container does not mean the player has the decoder for the codec inside. Try a player with that decoder.
  • An audio tool reports nothing to import: this MP4 has no sound track, so there is no audio to give it.
  • The file stops partway or will not play: an interrupted write leaves an unfinished MP4, because its packet metadata is kept together. This page usually still converts such a file, to a shorter output.
  • You only want the H.265 already inside: extract it with MP4Box instead of encoding again.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert MP4 to HEVC?

Why does the HEVC file have no sound?

Is HEVC the same as H.265?

Will an HEVC file be smaller than my MP4?

Why do I get a message that my browser cannot encode HEVC?

Can I play a .hevc file?

I already have H.265 in my MP4. Can I just extract it?

What resolution and frame rate does the output have?

Does the HEVC keep my video's frame rate?

Is my video uploaded anywhere?