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 a .hevc file at the byte level preserves every NAL unit untouched, which is what codec engineers, regression-test authors, and broadcast pipelines need. Common reasons to cut a raw HEVC bitstream:
.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 re-encoding 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 | Stream copy (default) | Re-encode |
|---|---|---|
| Speed | Seconds for any size, including 50 GB UHD remuxes | Proportional to clip length |
| Quality | Bit-identical to source HEVC NAL units | Slight loss unless CRF 18-20 |
| Cut precision | Snaps to nearest IDR/CRA keyframe | Frame-accurate |
| VPS / SPS / PPS parameter sets | Preserved exactly | Rewritten by encoder |
| SEI messages (HDR10, HDR10+, DV RPU, timecode) | Preserved | May be dropped unless explicitly carried |
| 10-bit / 12-bit Main10 / Main12 profiles | Preserved bit-perfect | Preserved if encoder supports |
| Output codec | Stays H.265 / HEVC, stays Annex B | H.264, H.265, AV1, VP9, MPEG-4, etc. |
| Best for | Repro clips, test vectors, HDR sources, fast cuts | Frame-accurate edits, codec change for compatibility |
Stream-copy can only start the output at an IDR (Instantaneous Decoder Refresh) or CRA (Clean Random Access) NAL unit, because that's the first frame a decoder can independently reconstruct. Most camera and screen-capture HEVC uses a 1-2 second GOP, so the cut snaps to within 1-2 seconds of your requested timestamp. Low-bitrate IP-camera encoders sometimes push GOPs out to 5-10 seconds; check with ffprobe -show_frames if you need to predict the exact snap point.
| Source | Typical GOP | Profile / bit depth | Cut style |
|---|---|---|---|
x265 CLI output (--keyint 250) |
~10 sec at 25 fps | Main / Main10 | Stream copy; long GOPs mean coarse snap |
FFmpeg hevc_mp4toannexb dumps |
Matches source GOP | Whatever source uses | Stream copy preserves source NALs |
| NVENC / AMF / QuickSync HEVC | 1-2 sec | Main / Main10 | Stream copy |
| IP-camera Annex B (Reolink / Hikvision) | 2-10 sec | Main | Stream copy; verify GOP first |
| UHD Blu-ray remux extract | 1-2 sec | Main10, HDR10 / HDR10+ / DV | Stream copy preserves HDR metadata |
| Apple ProRes / iPhone capture transcoded to .hevc | 1-2 sec | Main / Main10 | Stream copy |
| JCT-VC reference test vectors | Varies (often 8-32 sec) | Main / Main10 / Main12 / 4:2:2 | Stream copy preserves conformance |
.hevc file re-encode the bitstream?No, not in the default stream-copy mode. XConvert parses the Annex B NAL units, locates the IDR or CRA before your start time, and writes the contiguous range of NAL bytes into a new .hevc output. No HEVC decode, no HEVC encode, no quality loss — the output bytes within the cut range are identical to the corresponding bytes in the source. This is critical for codec testing, where re-encoding would mask the exact bug you're trying to capture. Re-encoding only happens if you opt in via step 3 (to change codec, resolution, or bitrate).
Yes. Stream-copy writes the activated 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. If the source uses in-band parameter sets (common with Annex B) they're preserved verbatim; if it uses out-of-band parameter sets (less common for raw .hevc) they're inserted in-band so the cut is self-contained. SEI prefix messages (HDR10 mastering display, HDR10+ dynamic metadata, Dolby Vision RPU, picture timing) are also carried.
HEVC stream-copy can only start the output at an IDR or CRA keyframe — those are the only NAL units a decoder can independently initialise from. The cut therefore snaps to the nearest preceding IDR/CRA. Most NVENC/AMF/QuickSync output uses a 1-2 second GOP so the snap is within 1-2 seconds; x265 with --keyint 250 at 25 fps uses ~10-second GOPs so the snap can be up to 10 seconds off. To predict it, run ffprobe -show_frames -select_streams v <file> | grep key_frame=1. For exact-frame cuts, enable re-encode in step 3 and pick CRF 18-20.
.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.
Yes, in stream-copy mode. HDR10 static metadata (Mastering Display Colour Volume + Content Light Level SEI), HDR10+ dynamic tone-mapping SEI, and Dolby Vision RPU NAL units all travel inside the HEVC elementary stream — stream-copy doesn't touch the bytes, so HDR playback works on the same TVs, Apple TVs, and Plex/Infuse clients that handled the source. Re-encoding HDR HEVC is risky: most browser encoders strip Dolby Vision RPU or remap to SDR unless metadata is explicitly carried, so stream-copy is the safe default for HDR.
Yes, transparently. Stream-copy is bit-depth-agnostic — it doesn't decode samples, so 8-bit Main, 10-bit Main10, 12-bit Main12, and 4:2:2/4:4:4 chroma profiles all pass through unchanged. The output bit depth and chroma sampling match the source exactly. This matters because some online tools silently downconvert Main10 to 8-bit; XConvert's stream-copy mode cannot, by design.
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 in your browser session, so the practical limit is your device's available memory and patience for the upload. Multi-GB encoder dumps and 50-80 GB UHD Blu-ray HEVC extracts both work — stream-copy is fast enough that an 80 GB source finishes the cut in under a minute once it's loaded, because no transcoding happens. For sources larger than your RAM, consider pre-cutting with ffmpeg -i in.hevc -c copy -ss ... -t ... out.hevc locally.
.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 still has to start at an IDR/CRA in stream-copy mode, and the parameter sets are reactivated between segments so 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.