Video Encoding

H.265 / HEVC Encoding API — next-gen efficiency

HEVC encoding with the same neural perceptual engine — up to 50% bitrate savings over H.264 at matching VMAF, plus presets tuned for sports and high-motion content.

VideoEncoding

Before & after

See the difference

Drag the handle — same quality as H.264, at roughly half the bitrate. Perfect for 4K and HDR delivery.

H.265 · 3 Mbps
H.264 · 6 Mbps
H.264 · 6 MbpsH.265 · 3 Mbps
Bitrate6 Mbps3 Mbps
File size · 10 min450 MB225 MB
Visual qualityH.264 qualitySame quality

What it does

HEVC's larger blocks and deeper reference structures are harder to drive well than H.264's — that is exactly where per-frame perceptual decisions pay off. The engine adapts to high-motion sports, film grain and screen content, and passes HDR metadata through cleanly for HDR10 and HLG masters. You get the efficiency of HEVC without the quality surprises.

Full API reference
Python
import requests

url = "https://api.mlslabs.io/v1/h265-encoding/jobs"
resp = requests.post(
    url,
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={
        "input": "s3://bucket/4k-master.mov",
        "output": "s3://bucket/h265/",
        "codec": "hevc",
        "profile": "main10",
        "quality_target": {"metric": "vmaf", "score": 92},
        "preset": "sports",
    },
)
job = resp.json()
print(job["job_id"])

Key features

Why teams pick this API

Neural perceptual HEVC

Per-frame adaptive decisions tuned for HEVC's larger blocks and deeper references.

Sports & high-motion presets

Motion-vector aware tuning for fast action — no smearing on fast pans, pitches or play.

Broad device compatibility

Main & Main10 profiles with HDR metadata passthrough (HDR10 / HLG).

Licensing clarity

One API handles encoding; we break out HEVC patent-pool implications in plain language.

Use cases

Built for real workflows

4K HDR delivery

Ship Main10 HEVC with HDR10/HLG metadata to modern streaming devices.

Sports streaming

High-motion presets keep fast action clean at efficient bitrates.

Storage savings

Halve archive footprint vs H.264 at matching VMAF.

Pricing

Credit-based pricing

Every request draws from your credit pool. This API bills 25 credits per minute of output video.

Billing unitCost in creditsNotes
Processing time25 creditsPer minute of output video
Failed jobs0 creditsCredits auto-refunded
Batch processingSame rateOne queue, per-file callbacks

See credit packs & full pricing

Learn

Guides, tutorials & comparisons

Browse all tutorials

FAQ

Common questions

What about HEVC patents?

We separate encoding service from licensing: your output may be subject to patent-pool obligations depending on your market and device — see our licensing explainer for a plain-language breakdown.

Do you support 4K and HDR passthrough?

Yes — Main10 with HDR10/HLG metadata passthrough is supported end to end.

Why not AV1?

We are evaluating AV1 for high-throughput jobs; H.265 covers today's device compatibility matrix.

How much can I save vs H.264?

Typical tests show 40-50% bitrate savings at matching VMAF on 1080p+ content.