Cut HEVC files by setting start and end times. Free, no quality loss.
Process files in seconds with our optimized servers
Frame-accurate cuts with intuitive timeline controls
Maintain original quality with smart re-encoding
.hevc raw elementary stream — exports from FFmpeg's hevc_mp4toannexb/extract_extradata filters, x265 CLI output, NVIDIA NVENC/AMD AMF dumps, Intel Quick Sync samples, codec test vectors, and IP-camera Annex B byte streams all work. Containerized H.265 (.mp4, .mkv, .mov, .ts) is also accepted and the H.265 elementary stream is extracted automatically. Batch is supported — drop in multiple .hevc files at once..hevc extension and stays Annex B by default.A .hevc file is the raw HEVC/H.265 elementary stream in Annex B byte-stream format — NAL units prefixed with 0x000001 startcodes and no container around them, per the ITU-T H.265 / ISO/IEC 23008-2 spec, Annex B. That format is what x265, NVENC, the FFmpeg hevc_mp4toannexb bitstream filter, and most IP-camera pipelines emit. Cutting here decodes the stream and re-encodes the kept range at the visually-lossless HEVC default, producing a clean, frame-accurate Annex B clip. Note that it is a re-encode — the original NAL units are not preserved byte-for-byte, so when bit-exact extraction matters (conformance work, decoder-bug repro) cut locally with ffmpeg -c copy instead. Common reasons to cut a raw HEVC bitstream:
ffmpeg -c copy locally when the bug depends on the exact source NAL units..hevc after hevc_mp4toannexb to inspect NAL units in HEX. Cutting to the suspect range lets HEVC ES Viewer, gpac, or 265dump load the file in seconds..hevc per-channel. Cut the 15-second window of an incident out of an 8-hour recording without processing the whole feed.If you need the cut wrapped into a playable container afterwards, run it through HEVC to MP4 or HEVC to MKV. For the timeline-editor experience without the raw-bitstream framing, see Trim HEVC, or Compress HEVC for size-only reduction.
| Property | Default settings | Custom settings |
|---|---|---|
| Speed | Proportional to clip length | Proportional to clip length and codec |
| Quality | Re-encoded at the visually-lossless HEVC preset (CRF 17) | Whatever CRF / bitrate you choose |
| Cut precision | Frame-accurate | Frame-accurate |
| VPS / SPS / PPS parameter sets | Freshly written by the encoder (self-contained output) | Freshly written by the encoder |
| SEI messages (HDR10, HDR10+, DV RPU, timecode) | Not reliably carried through the re-encode | Not reliably carried through the re-encode |
| 10-bit / 12-bit Main10 / Main12 profiles | Output is standard 8-bit 4:2:0 | Output is standard 8-bit 4:2:0 |
| Output codec | Stays H.265 / HEVC, stays Annex B | H.264, H.265, AV1, VP9, MPEG-4, etc. |
| Best for | Quick frame-accurate clips at source-matching quality | Codec change for compatibility, smaller file |
Every cut decodes and re-encodes the kept range, so the output can start on any frame — no IDR/CRA alignment required. Stream-copy tools, by contrast, can only start at an IDR (Instantaneous Decoder Refresh) or CRA (Clean Random Access) NAL unit and snap to the nearest one; with a re-encode the GOP layout of the source (1-2 s for cameras, 5-10 s for low-bitrate IP-camera encoders) doesn't affect the cut point.
| Source | Typical GOP | Profile / bit depth | Cut behavior |
|---|---|---|---|
x265 CLI output (--keyint 250) |
~10 sec at 25 fps | Main / Main10 | Frame-accurate re-encode; long source GOPs don't limit the cut point |
FFmpeg hevc_mp4toannexb dumps |
Matches source GOP | Whatever source uses | Frame-accurate re-encode; source NALs not preserved byte-for-byte |
| NVENC / AMF / QuickSync HEVC | 1-2 sec | Main / Main10 | Frame-accurate re-encode |
| IP-camera Annex B (Reolink / Hikvision) | 2-10 sec | Main | Frame-accurate re-encode |
| UHD Blu-ray remux extract | 1-2 sec | Main10, HDR10 / HDR10+ / DV | Frame-accurate re-encode; HDR metadata not reliably preserved |
| Apple ProRes / iPhone capture transcoded to.hevc | 1-2 sec | Main / Main10 | Frame-accurate re-encode |
| JCT-VC reference test vectors | Varies (often 8-32 sec) | Main / Main10 / Main12 / 4:2:2 | Frame-accurate re-encode; not conformance-preserving — use ffmpeg -c copy for that |
.hevc file re-encode the bitstream?Yes — every cut decodes the stream and re-encodes the kept range at the visually-lossless default preset (CRF 17); there is no stream-copy path. That makes the cut frame-accurate and the output visually indistinguishable from the source, but the NAL units are freshly encoded, not byte-identical to the source. For codec testing, where a re-encode would mask the exact bug you're trying to capture, cut the repro window locally with ffmpeg -c copy -ss ... -t ... instead.
The output has its own: because the cut re-encodes, the encoder writes fresh VPS/SPS/PPS NAL units at the start of the output, so the cut decodes standalone — you don't need the original file to play it. They are newly generated, not the source's parameter sets carried verbatim, and source SEI prefix messages (HDR10 mastering display, HDR10+ dynamic metadata, Dolby Vision RPU, picture timing) are not reliably carried through the re-encode.
With XConvert it shouldn't — the cut re-encodes the kept range, so the output starts at your exact timestamp. Snapping is stream-copy-cutter behavior: those tools can only start the output at an IDR or CRA keyframe (the only NAL units a decoder can independently initialise from), so they rewind to the nearest preceding one — up to 10 seconds with x265 --keyint 250 at 25 fps. Here the source GOP layout doesn't affect the cut point.
.hevc, .h265, and .265?All three are conventional extensions for raw HEVC Annex B elementary streams — same byte format, different naming preferences. FFmpeg writes .hevc by default; some tools and reference encoders write .h265 or .265. None of them carry audio, subtitles, or timing — there's no container. If your file has audio or chapters it's almost certainly inside .mp4, .mkv, .mov, or .ts instead; XConvert auto-detects and extracts the H.265 elementary stream from any of those.
Not reliably. The cut re-encodes the HEVC stream, and HDR10 static metadata (Mastering Display Colour Volume + Content Light Level SEI), HDR10+ dynamic tone-mapping SEI, and Dolby Vision RPU NAL units generally do not survive a re-encode — and no tone-mapping is applied either, so the output is a plain SDR-range encode that can look flat or washed out on HDR sources. If preserving the HDR layer is the point, cut locally with ffmpeg -c copy (which does carry those NAL units) and keep the untouched source.
You can upload one — 10-bit Main10, 12-bit Main12, and 4:2:2/4:4:4 chroma profiles all decode fine — but the re-encoded output is standard 8-bit 4:2:0, so the source bit depth and chroma sampling are not preserved. If the output must stay Main10 bit-exact (grading intermediates, conformance work), cut locally with ffmpeg -c copy instead.
Raw .hevc Annex B is a developer/analysis format — most consumer players won't open it directly because there's no container, no audio track, no duration metadata, and no MOOV box. Once you've cut the bytes you need, run the output through HEVC to MP4 or HEVC to MKV to wrap it in a player-friendly container. Windows 10/11 also needs Microsoft's HEVC Video Extensions codec ($0.99 in the Microsoft Store) for built-in playback; free alternatives are VLC, MPV, and PotPlayer.
.hevc file size I can cut?There's no fixed cap. Cutting runs on our servers, so the practical limit is upload size and connection speed and patience for the upload. Multi-GB encoder dumps and 50-80 GB UHD Blu-ray HEVC extracts both work — processing time scales with the length of the segment you keep, not the full source duration. For very large sources, consider pre-cutting with ffmpeg -i in.hevc -c copy -ss... -t... out.hevc locally to shrink the upload.
.hevc file in one pass?Yes. The trim controls accept multiple segments — add a second range (start + duration) and the cut concatenates both regions into one output .hevc. Each segment is re-encoded, so segments can start on any frame — no IDR/CRA alignment needed — and the result is a single self-contained bitstream. Useful for extracting specific test ranges (e.g., the IDR period containing frames 0-30 plus the one containing frames 1000-1030) into a single regression fixture.
.hevc or cut the containerised MP4/MKV instead?Cut in whichever domain you'll consume the output in. If your downstream tool (codec analyser, conformance checker, NAL dumper) wants raw Annex B, cut the .hevc directly. If you need a playable file with audio and timing, work from the MP4/MKV — see Trim HEVC for the container-aware workflow, or cut here and run HEVC to MP4 on the output. Avoid round-tripping: cutting MP4 → demuxing to .hevc → re-cutting Annex B is wasted work that risks SEI loss at the container boundary.