Same ffmpeg.
More machine.

Swap ffmpeg for cfmpeg. Same arguments, output on local disk. The encode runs remotely on up to 64 cores and 256 GiB of memory.

Install
curl -fsSL https://cfmpeg.com/install | sh
Get an API key

$5.00 of free credit for new accounts. No card required.

One character changes.

Measured. Speedup depends on codec, input, and resources.

ffmpeg -i input.mov -c:v libx265 -crf 28 out.mp4
CI runner, 2 vCPUs
1 h 51 min 32 s
M1 Pro laptop, 10 cores
23 min 40 s
cfmpeg -i input.mov -c:v libx265 -crf 28 out.mp4
cfmpeg, 32 cores
6 min 26 s · $1.01

Measured in November 2026 on a 10-minute 4K film (633 MB) with the codec settings shown. The CI runner is a standard GitHub-hosted Linux runner with 2 vCPUs, and the laptop is a 10-core Apple M1 Pro. Both ffmpeg times are the encode alone, with the file already on the machine. The cfmpeg time is the whole trip from that laptop: upload, encode, and download. cfmpeg was given no size flags and chose 32 cores and 128 GiB for the job. Not drawn: the same encode limited to a single vCPU, which took 5 h 0 min 51 s.

The same job at three sizes
SizeFlagsWhole tripCost
16 cores · 64 GiB--cf-cpu 16 --cf-memory 64g8 min 56 s$0.72
32 cores · 128 GiBNone needed. cfmpeg picks this size.6 min 26 s$1.01
64 cores · 128 GiB--cf-cpu 64 --cf-memory 128g4 min 27 s$1.07

One run each. Times vary between runs.

The machine that calls ffmpeg doesn’t have to run it.

CI runners, web servers, and containers are sized for their everyday work, not for a 4K encode. cfmpeg moves the CPU and memory to a remote worker. The caller uploads, waits, and downloads.

  1. 1Your machine streams the inputA CI runner, app server, container, or laptop. No upgrade needed.
  2. 2A worker runs the encodeSized to the job: 2 cores for small files, 16 for larger encodes, and 32 when the encode can be split into parallel pieces. Or up to 64 cores and 256 GiB when you ask. Billed per second.
  3. 3Output lands on local diskExactly where ffmpeg would have written it.

Keep short jobs local. A thumbnail, a clip of a few seconds, or a -c copy remux finishes on your own machine before an upload would. cfmpeg pays off on long, CPU-bound encodes.

Change the binary. Keep the pipeline.

Shell scripts

Batch encodes finish without pinning the laptop that started them.

for f in raw/*.mov; do
  cfmpeg -i "$f" -c:v libx264 -crf 23 \
    "out/$(basename "$f" .mov).mp4"
done

CI pipelines

Encode on standard runners instead of paying for larger ones.

- run: curl -fsSL https://cfmpeg.com/install | sh
- run: cfmpeg -i master.mov release.mp4
  env:
    CFMPEG_API_KEY: ${{ secrets.CFMPEG_API_KEY }}

Application code

Queue workers shell out to cfmpeg and keep their CPU for requests.

await execFile('cfmpeg', [
  '-i', upload.path,
  '-c:v', 'libx264', '-crf', '23',
  'public/video.mp4',
]);

Integrating without the CLI? The same HTTP API is available directly. Read the API docs

Large files upload in parallel. URLs skip the upload.

cfmpeg picks how each input gets to the worker. There is no bucket, queue, or worker fleet for you to set up.

Small local files
MP4, MOV, and TS inputs up to 512 MiB start encoding while they upload, on the default job shape.
Large local files
Uploaded in parallel parts. Re-encodes to MP4 of 2 GiB and up are also split, encoded in parallel, and joined.
Remote URLs
The worker fetches http and https URLs itself. The bytes never pass through your machine.
Cleanup
Stored inputs and outputs are deleted 24 hours after they are uploaded.

What to know before production.

ffmpeg 8, CPU encoders
Workers run a full ffmpeg 8 build on CPU, with x264, x265, SVT-AV1, libaom, VP9, and ProRes. Several inputs, several output files, and http or https inputs all work.
Not supported yet
Pipes (stdin and stdout), HLS and image-sequence outputs, files named inside a filter such as subtitles or fonts, and GPU encoders. Keep those on ffmpeg.
Your files
Sent over HTTPS to encrypted storage. Each job runs in its own single-use container, and its workspace is deleted when the job ends.
API keys
Create as many as you need and revoke any of them. Keys are stored hashed and shown once.

Pay for CPU, memory, and seconds.

$0.003144
per core, per minute
$0.0005328
per GiB of memory, per minute
Job shapeFlagsPer minutePer hour
2 cores · 2 GiBNone. Small inputs run here.$0.0074$0.44
2 cores · 4 GiB--cf-cpu 2 --cf-memory 4g$0.0084$0.51
8 cores · 8 GiB--cf-cpu 8 --cf-memory 8g$0.0294$1.76
16 cores · 32 GiB--cf-cpu 16 --cf-memory 32g$0.0674$4.04
64 cores · 256 GiB--cf-cpu 64 --cf-memory 256g$0.3376$20.26

Without flags, cfmpeg sizes the job for you. A video encode with an input of 64 MiB or more runs on 16 cores · 32 GiB, or on 32 cores · 128 GiB when it can be split into pieces that encode in parallel. The CLI prints the size and its price per minute before the job starts.

Billed per second from when a worker picks up the job until its output is stored, with a 10-second minimum. Time in the queue and the download to your machine are free, and so are storage and transfer. Jobs that fail or that you cancel aren’t charged. Prepaid balance, no subscription: a job can’t spend more than you have loaded.

Change one letter.

$ curl -fsSL https://cfmpeg.com/install | sh
Get an API key