FastPix Video Encoding API
The video encoding API that learns from your viewers
Upload any source file and get back renditions tuned to that specific video. Machine learning tunes every ladder using playback data from millions of streams a day. Your viewers get a clean picture on the networks they actually have.
$25 in signup credits. No credit card. Encoding is free on Standard quality.
# One call. Ladder, codecs and packaging are handled.
curl -X POST https://api.fastpix.io/v1/on-demand \
-H "Authorization: Bearer $FASTPIX_TOKEN" \
-d '{
"inputs": [{ "url": "https://cdn.acme.io/master.mov" }],
"encoding": {
"mode": "per_title", // ladder built for this file
"codecs": ["av1", "hevc", "h264"],
"quality": "standard"
}
}'
→ 201 Created
{ "playback_id": "aBc123", "status": "processing" }
# Playback URL is live before the encode finishes.Encoding video in production for






A video encoding API turns your source file into streaming-ready renditions with one HTTP request.
You send a URL. FastPix compresses the video, builds a bitrate ladder tuned to that file (the set of quality levels a player switches between), packages it as CMAF and hands back a playback URL that works on every screen. Nothing runs on your infrastructure and there is no encoder to keep alive.
Also sold as a cloud video encoding service. It is not the browser VideoEncoder in WebCodecs, which encodes frames inside one viewer's tab.
Why teams switch to a video encoding service
What cloud video encoding handles for you
One ladder per video, not one per catalog.
FastPix builds the ladder from the file itself, then keeps tuning it. Viewer Experience monitoring watches rebuffering, startup time and quality across millions of streams a day, and we feed that back into how your next upload gets encoded.
Playback starts before the encode finishes.
FastPix serves the first rungs while the rest are still encoding, so nobody waits for the whole ladder. Twenty-one minutes of 1080p finishes in 10.7 seconds.
The ladder does not multiply your bill.
You pay for the source minute once, whatever we do with it. Rung count, codec and encoding passes do not change the rate.
The short version
What happens when you encode a video
Every video you deliver over the internet has to be encoded first. Video encoding is the process of taking your source file and compressing it with a codec that can be streamed. Normally that is where the settings land on you: how hard to squeeze the file and how much picture detail to give up (the bitrate), which resolutions to produce, and which encoder feature set to use (the codec profile). Then you do it again at several quality levels, because the player has to switch between them as a connection changes. That set of levels is the ladder.
Cloud video encoding takes all of that off your infrastructure. On FastPix none of those choices are yours to make. You send a file, FastPix profiles the source and builds the ladder to fit it, and you get back a playback URL that works on every screen.
01 Source
A file arrives
A camera master, a screen recording, an export. Usually already compressed, often far larger than anything you would stream.
02 Analyse
The encoder reads it
Motion, detail and scene complexity decide how many bits the picture actually needs. A flat interview needs far fewer than a chase sequence.
03 Ladder
Renditions get built
The same video is encoded several times at different resolutions and bitrates. Each level is a rung, and the set of them is the bitrate ladder.
04 Package
Segments get wrapped
Renditions are cut into short segments and described in a manifest, so a player can request them piece by piece.
05 Play
The player picks a rung
Adaptive bitrate streaming moves the viewer up and down the ladder as their connection changes, without stopping playback.
How FastPix encodes your video
Send us the file and we work out the rest. The FastPix video encoding API reads your source before it encodes it, because a talking-head interview and a fast-cut trailer are different problems and deserve different rendition ladders.
You do not pick resolutions, tune bitrates or maintain preset files. One call in, a playback URL back.
- Any source. H.264, HEVC, AV1 and VP9 in, up to 4K with HDR.
- Any origin. Direct upload, pull from a URL, or resumable upload from mobile.
- CMAF out. One packaging format that every modern player understands.
A fixed preset would have sent 5.1 Mb/s at 1080p for this file. Low motion, flat background, so the ladder allocates less and the picture is identical.
Content-adaptive encoding, tuned by real playback data
We keep tuning your ladder after it ships, using the people actually watching. Most video encoding APIs guess from the source file and stop there.
Viewer Experience monitoring tracks errors, rebuffering, startup time and picture quality across millions of streams a day. Machine learning feeds those signals back into how ladders get built, so the encoder that runs your next upload is not the one that ran your last one.
- Real sessions, not lab conditions. Signals come from production playback on real devices and real networks.
- Both failure modes. A ladder that is too fat stalls on weak connections. Too thin and the picture goes soft. Matched beats smaller.
- Nothing to wire up. Video Data is part of the platform, not a second vendor bolted on.
Signals in
Model
Ladder out
↻ next encode starts here
Per-title encoding: one ladder per file, not one per library
We build a ladder per file, because a single ladder applied to a whole catalog is wrong for almost every video in it. Netflix introduced per-title encoding in 2015 for exactly that reason.
FastPix profiles each source, builds the ladder that fits it, and scores the result with VMAF rather than aiming at a fixed bitrate.
- Measured, not assumed. Quality is scored with VMAF at every rung.
- 35% fewer bytes at matched quality, against open-source H.264, HEVC and AV1 baselines.
A fixed 1080p preset sends 5.1 Mb/s to all five. Two are paying for bits nobody can see. Two are under-served.
Just-in-time encoding, so playback starts before the encode ends
We hand back a playback URL before the encode is done, where a traditional pipeline bakes every rendition first and makes you wait on renditions nobody has asked for yet.
FastPix opens playback as soon as the first rungs are ready, so a thirty-second clip and a two-hour premiere both start in seconds.
- Time to first viewer, not time to full ladder. The upload finishes and playback begins.
- Two things share the name. Just-in-time transcoding produces renditions on demand. Just-in-time packaging rewraps renditions that already exist. FastPix packages CMAF on the way out.
- Nothing to configure. There is no pre-warm step and no separate packager to run.
The first viewer starts watching at Playable. The remaining rungs land underneath them while they watch.
Multi-codec support
Video encoding specs: codecs, containers and limits
What FastPix accepts, what it emits, and when each one gets used. Codec choice does not change your rate. The full decode-support matrix lives on codec support.
| Codec | In | Out | When it gets used | Price effect |
|---|---|---|---|---|
| H.264 / AVC | ✓ | ✓ | Always. The compatibility floor for every device in the field. | None |
| H.265 / HEVC | ✓ | ✓ | Where the player and device support it, for the same picture at lower bitrate. | None |
| AV1 | ✓ | ✓ | On surfaces with AV1 decode, typically modern browsers and newer mobile. | None |
| VP9 | ✓ | Not emitted | Accepted as a source. FastPix emits AV1 instead. | None |
Containers
- CMAF
- MP4
- HLS manifest
- DASH manifest
Resolutions
- SD 480p
- HD 720p
- Full HD 1080p
- 2K 1440p
- 4K 2160p
HDR
- HDR10
- Dolby Vision
- HLG
Quality metric
- VMAF
- Per-title ladder
- Matched-quality targets
Ingest
- Direct upload
- Pull from URL
- Resumable upload
- RTMP / RTMPS / SRT
Time to ready
- Playback before encode ends
- 10 min 1080p: 35 to 90s
Encoding mode
- Per-title ladder
- Content-adaptive
- Just-in-time delivery
Quality tiers
- Standard
- Pro
- Premium
Terminology
Video encoding vs transcoding vs transmuxing
You will see all three words used for the same thing, including by vendors. They are different operations and they cost very different amounts, so knowing which one you are buying tells you what you are actually paying for.
Compressing raw video into a codec
Encoding takes raw, uncompressed picture and writes it as a codec such as H.264, HEVC or AV1. If your file came out of a camera or an editor, this already happened before you sent it to us.
Decoding, then re-encoding
Transcoding takes video that is already compressed and re-encodes it into different codecs and bitrates. This is what actually runs on every file you upload, and it is the expensive step, because every frame has to be decoded before it can be written again.
Repackaging without re-encoding
Transmuxing rewraps the same compressed video into a different file wrapper (the container) and never touches the picture, so it costs almost nothing next to the other two. On FastPix it happens at delivery, when CMAF segments are wrapped for whichever player asked.
Live encoding, with the same ladder discipline
Point any standard encoder at one ingest URL and FastPix takes it from there. We transcode, package and deliver low-latency LL-HLS over a multi-CDN, and adaptive bitrate keeps playback stable when a viewer's connection is not.
Live encoding bills at one flat rate across 720p, 1080p, 2K and 4K, and the replay is archived automatically.
- Ingest. RTMP, RTMPS and SRT, with backup stream keys included.
- Output. LL-HLS with adaptive bitrate, sub-3-second glass-to-glass by spec.
- Replay. Live-to-VOD runs automatically, so the recording gets the same per-title treatment.
Ingest RTMPS / SRT · Output LL-HLS · Flat rate across 720p to 4K
Why teams move off their own encoding pipeline
Three problems that stop being yours
None of these show up as an encoding ticket. They show up as an on-call page, a support queue and a bill, which is why they are the three we take off you.
The FFmpeg fleet nobody wants to own
Someone has to patch it, scale it and get paged when a batch job wedges at 3am. That person could be shipping product instead.
Support tickets that trace back to the ladder
Nobody files a ticket saying your bitrate ladder is wrong. They say the app is broken, the video stalls, or it ate their data. Viewer Experience data tells you which it was.
Re-encoding the catalog when a codec lands
New codec, new device, new rendition set. Your library gets re-encoded as the platform adds support, not as you schedule a migration.
Stack consolidation
What a video encoding API replaces
One video encoding API replaces the list below, and every row comes with the same API key. Per-title encoding runs on NVIDIA GPUs through the FastPix pipeline (NVIDIA Inception Partner). Everything here sits alongside the rest of the platform features, and the same encoder runs behind Video on Demand and Live Streaming.
| Surface | Stitched together today | FastPix ships |
|---|---|---|
| Encoder fleet | FFmpeg on your own instances, or MediaConvert jobs | One API call |
| Ladder tuning | Hand-written presets per content type | Per-title ladder, built per file |
| Packaging | Separate packager for HLS and DASH | CMAF, packaged on the way out |
| Storage | Object storage plus lifecycle rules you maintain | Per-minute-month, no buckets to manage |
| Delivery | CDN contract, negotiated separately | Multi-CDN included |
| Quality measurement | A QoE product that watches playback and never touches the encoder. Data and ladder live in different vendors and never meet. | Viewer Experience data feeds the ladder directly |
Verified performance
Video encoding speed, measured on real files
The benchmark is open source and it reports the runs FastPix does not win as well as the ones it does. Every number here links to the file it came from and how it was measured.
Per-title encoding does more work per file than a fixed preset, because it profiles the source before it picks a ladder. It still finished first here. Same file, same region, same network. Full method
Pricing
What video encoding costs on FastPix
Two things set what the video encoding API costs you: resolution and quality tier. The codec you choose, the number of rungs and the encoding passes do not.
Encoding costs nothing on Standard. The bill comes from storage and streaming only.
Higher rendition quality for catalogs where picture is the product. Rates scale by resolution.
One rate across 720p, 1080p, 2K and 4K. RTMP, RTMPS and SRT ingest with backup keys included.
The whole model
One minute of video is one minute.
No normalized units, no rung multipliers, no pass surcharges. You are billed for what you sent us.
1x. The ladder is included. Five renditions or fifteen, the number does not move.
15.72x. Every rung is billed separately, weighted by resolution, frame rate and pass count.
What that adds up to in a month
33 hours encoded, 15 million viewer-minutes delivered, 288 TB of egress.
Encoding $53 · Storage $65 · Delivery $10,185 · Ops $0
Encoding $377 · Storage $32 · Delivery $20,110 · Ops, requests and logging $250
Common questions
Encoding questions, answered
What is video encoding?
Video encoding is compressing a source video with a codec so it can be streamed over the internet. The encoder decides how much picture detail to give up (the bitrate), which resolutions to produce, and which encoder feature set to use (the codec profile) so the file plays on the devices your viewers own. For streaming it does this several times at different quality levels, and that set of levels is the bitrate ladder.
On FastPix none of those choices are yours to make. You send a file, FastPix profiles it and builds a ladder for that one video, and you get back a playback URL that plays everywhere.
What is a video encoding API?
A video encoding API turns a source file or a live stream into adaptive-bitrate renditions ready for playback. You send one HTTP request containing a source URL. The service handles compression, builds the bitrate ladder, packages the segments and returns a playback URL you can drop into any player. Nothing runs on your infrastructure and there is no encoder to keep alive.
The FastPix API profiles each source, builds a ladder that fits it, and emits AV1, HEVC and H.264 packaged in CMAF. It is a server-side API — not the browser
VideoEncoderin WebCodecs, which encodes frames inside a single user's tab. See the five-minute quick-start.What is a cloud video encoding service?
A cloud video encoding service takes your source files and returns streaming-ready renditions, without you running encoders. You send a file or a URL over an API. The service handles compression, the bitrate ladder, packaging and delivery, and hands back a playback URL. There is no encoder fleet to patch, scale or get paged about.
FastPix is a video encoding service built for developers rather than an application you log into. Encoding is free on Standard quality, and you are billed per source minute.
What is the difference between video encoding and transcoding?
Encoding compresses raw video into a codec. Transcoding decodes video that is already compressed, then re-encodes it. A camera producing an H.264 file from its sensor is encoding. Taking that H.264 file and producing five smaller renditions from it is transcoding, because the source has to be decoded first.
Almost every file uploaded to a video platform is already compressed, so what actually runs is transcoding. Most vendors, FastPix included, say "encoding" because that is the word buyers search for. A third term, transmuxing, rewraps video into a different container without touching the picture at all. Encoding vs transcoding.
How does video encoding work?
An encoder reads the source and throws away detail the eye is least likely to miss. It looks for redundancy in two directions. Within a frame, large areas of similar colour are described once rather than pixel by pixel. Across frames, only what changed between one picture and the next is stored. A codec such as H.264, HEVC or AV1 defines how that gets written down.
For streaming the encoder does this several times at different resolutions and bitrates, producing a ladder. The player requests short segments and moves up or down the rungs as the connection changes, which is what adaptive bitrate streaming means.
How long does video encoding take?
On FastPix a 10-minute 1080p source is ready to play in 35 to 90 seconds. Three things move that number: how long the source is, how complex the picture is, and how many rungs the ladder ends up with. Per-title encoding adds a profiling pass before it picks the ladder, which is more work than a fixed preset, and still finishes faster in practice.
Source Time to playable 30-second clip Seconds 10-minute 1080p 35 to 90 seconds 21-minute 1080p 10.7s encode, 82.9s to playable 4K master 34.5 seconds to playable Method and raw runs: the benchmark.
Supporting reading
More on encoding
Everything below is written by the same team that runs the FastPix encoder, so it reflects what we actually ship rather than what reads well.
Developers
Everything you need to start building
One API key gets you the whole FastPix video encoding API. We do not gate codecs, per-title or webhooks behind a plan.
Five-minute quick-start
First encode running before your coffee goes cold.
Full API reference
Every endpoint, parameter and response shape.
Webhook reference
Asset lifecycle events, ready to wire into your queue.
Code samples
Node, Python, Go, Ruby, PHP, Java and C#.
Open source
Player SDKs and the benchmark suite on GitHub.
Developer hub
SDKs, migration tools and the Slack community.
Continue exploring