The short answer
- HEVC is a video compression standard that encodes video for storage and transmission; the .h265 and .hevc files covered here are raw video streams, so MP4 playback compatibility does not automatically apply.
- On Windows or macOS, use FFmpeg to read the raw stream; its official format table lists raw HEVC reading and writing. For viewing, choose software explicitly supporting raw HEVC input. On a phone, check raw-stream support in the app before opening the file. Support for HEVC inside MP4 or MOV alone is insufficient evidence.
- Treat unknown HEVC files cautiously. RFC 7798 describes decoder overload and arbitrary data in user-data SEI in an RTP context. Such data does not necessarily execute during playback; how it is handled depends on the receiving system.
HEVC (.h265, .hevc): opening raw video streams
HEVC is also called H.265 and corresponds to the technically aligned ISO/IEC 23008-2 standard. Uses include streaming, conferencing and broadcasting. FFmpeg lists h265 and hevc as raw HEVC extensions. A codec defines video compression; a container organizes encoded streams.
Distinguish remuxing from transcoding. FFmpeg streamcopy avoids decoding and encoding, so it introduces no picture-quality loss, but success depends on the destination container. Converting HEVC to H.264 requires re-encoding and usually reduces quality.
How to open it
On Windows or macOS, use FFmpeg to read the raw stream; its official format table lists raw HEVC reading and writing. For viewing, choose software explicitly supporting raw HEVC input. On a phone, check raw-stream support in the app before opening the file. Support for HEVC inside MP4 or MOV alone is insufficient evidence.
On Windows or macOS, use FFmpeg to read the raw stream; its official format table lists raw HEVC reading and writing. For viewing, choose software explicitly supporting raw HEVC input. On a phone, check raw-stream support in the app before opening the file. Support for HEVC inside MP4 or MOV alone is insufficient evidence.
Distinguish remuxing from transcoding. FFmpeg streamcopy avoids decoding and encoding, so it introduces no picture-quality loss, but success depends on the destination container. Converting HEVC to H.264 requires re-encoding and usually reduces quality.
File safety
Treat unknown HEVC files cautiously. RFC 7798 describes decoder overload and arbitrary data in user-data SEI in an RTP context. Such data does not necessarily execute during playback; how it is handled depends on the receiving system.
An unknown sender, a name ending in two extensions, or contents that do not match the extension — check before you open it.
Converting it
Distinguish remuxing from transcoding. FFmpeg streamcopy avoids decoding and encoding, so it introduces no picture-quality loss, but success depends on the destination container. Converting HEVC to H.264 requires re-encoding and usually reduces quality.
Convert a copy, never the original, then compare quality, metadata, and layout against what you started with.
Common questions
What is an HEVC file with a .h265 or .hevc extension?
These extensions conventionally identify a raw HEVC video stream. HEVC, also called H.265, is the compression standard rather than a container.
How do I open an H265 file on Windows?
Use FFmpeg to read the raw stream, or select a viewer that explicitly supports raw HEVC input. MP4 support alone does not establish .h265 compatibility.
How do I open an HEVC file on Mac?
Use FFmpeg for raw-stream processing. For playback, check that the Mac application accepts raw .hevc input, rather than only HEVC in a container.
How do I open an HEVC file on a phone?
Check whether the phone app explicitly accepts raw HEVC streams. If it only accepts containers, consider remuxing on a computer into a container supported by that app; success is conditional.
What should I check when an HEVC file will not open?
First check raw-stream support in the chosen program. Use FFmpeg to attempt reading the input and inspect its messages. Failure in one player alone does not establish corruption.
H265 raw stream versus MP4: which should I use?
Use raw H265 when the receiving tool requests a raw video stream. Use an appropriate container such as MP4 when the receiving application requires a container; HEVC support still needs checking.
How can I convert an H265 raw stream to MP4 without re-encoding?
Attempt remuxing with FFmpeg streamcopy. It copies encoded video without quality loss, but whether the stream can be placed in MP4 depends on container requirements.
Does converting HEVC to H264 cause quality loss?
It requires re-encoding, which usually reduces picture quality. Streamcopy preserves the existing HEVC encoding and therefore cannot turn it into H.264.
Are HEVC files safe, including user-data SEI?
There is no blanket safety guarantee. RFC 7798 discusses complex streams overloading receivers and SEI carrying arbitrary bits, including code. Presence of such bits does not mean playback necessarily executes them.
Can a raw HEVC file contain audio or subtitles?
FFmpeg's raw HEVC output format carries HEVC video only, without audio or subtitles. Do not expect it to preserve the additional tracks of a container file.
Related formats
Sources
ITU-T H.265 标准说明与版本记录 · ITU-T
FFmpeg 原始 HEVC 输出器源码 · FFmpeg 官方源码仓库
FFmpeg General Documentation — File Formats · FFmpeg 官方文档
FFmpeg Documentation — Streamcopy and Transcoding · FFmpeg 官方文档
RFC 7798 — RTP Payload Format for High Efficiency Video Coding · IETF / RFC Editor
video/H265 媒体类型注册 · IANA