VPS for Video Transcoding & FFmpeg
Estimate compute, scratch space and outbound traffic for encoding workloads.
Each row represents a separate pipeline; session limits and achieved encoding speed require provider confirmation and FFmpeg tests.
| Transcoding pipeline | Minimum | Recommended | Headroom |
|---|---|---|---|
| 1080p x264 VOD queue | 2 vCPU / 4 GB RAM / 55 GB disk | 2 vCPU / 4 GB RAM / 75 GB disk | 4 vCPU / 4 GB RAM / 90 GB disk |
| Live multi-bitrate HLS | 4 vCPU / 4 GB RAM / 95 GB disk | 4 vCPU / 8 GB RAM / 125 GB disk | 6 vCPU / 8 GB RAM / 155 GB disk |
| 4K AV1 CPU pipeline | 12 vCPU / 4 GB RAM / 175 GB disk | 16 vCPU / 8 GB RAM / 230 GB disk | 24 vCPU / 8 GB RAM / 280 GB disk |
| 4K NVENC GPU pipeline | 2 vCPU / 4 GB RAM / 175 GB disk / 6 GB VRAM | 2 vCPU / 4 GB RAM / 230 GB disk / 8 GB VRAM | 4 vCPU / 8 GB RAM / 280 GB disk / 9 GB VRAM |
Budget the encoder, buffers and temporary segments

Reference sizing tiers
| Tier | Scenario inputs | CPU | RAM | Storage | Catalog price | Network at price endpoints |
|---|---|---|---|---|---|---|
| Minimum | mode=x264; jobs=1; resolution=1080p; bitrateMbps=5; scratchGb=10 | 2 vCPU · dedicated x86_64 | 4 GB | 35 GB NVMe/SSD | $36.00–$144.00 USD/mo | Linode G6 Dedicated 4 GB (4 TB); Linode G6 Dedicated 16 GB (6 TB) |
| Recommended | mode=x264; jobs=1; resolution=1080p; bitrateMbps=5; scratchGb=10 | 2 vCPU · dedicated x86_64 | 4 GB | 50 GB NVMe/SSD | $36.00–$144.00 USD/mo | Linode G6 Dedicated 4 GB (4 TB); Linode G6 Dedicated 16 GB (6 TB) |
| Comfortable | mode=x264; jobs=1; resolution=1080p; bitrateMbps=5; scratchGb=10 | 4 vCPU · dedicated x86_64 | 4 GB | 60 GB NVMe/SSD | $72.00–$144.00 USD/mo | Linode G6 Dedicated 8 GB (5 TB); Linode G6 Dedicated 16 GB (6 TB) |
Use the RAM calculator to budget memory for services sharing the encoder host, and the bandwidth calculator to estimate output delivery.
Choose an encoder path
CPU x264, x265 and AV1 presets trade speed against compression efficiency. The estimator uses illustrative relative CPU factors of 0.8, 1.5 and 3 per 1080p job, then scales by resolution and concurrent jobs. A 720p output uses a 0.55 multiplier and 4K uses 3.5. Add 0.7 vCPU for host overhead before applying the sizing margins. These are not frame-rate predictions; preset, filters, input codec and target quality can change demand sharply.
GPU NVENC offloads encoding but still needs host CPU for demuxing, filters, audio and delivery. The VRAM estimate is three GB plus 0.8 GB per 1080p-equivalent job. Each concurrent job needs one encode session. NVIDIA A100 PCIe and SXM variants have no hardware NVENC encoder, so neither qualifies for NVENC mode.
NVIDIA lists a 12-session cap shared across non-qualified GeForce GPUs in one system. Older drivers or provider configurations can allow fewer sessions. The L4 and L40S have no fixed driver session cap, and actual throughput depends on codec, frame rate, preset, available memory and the rest of the pipeline. Confirm driver access and test your full concurrency on the exact offer. Compare device memory and reference rates in the RTX 4090 VPS and GPU comparison. See NVIDIA's encode and decode support matrix.
Quality and latency are separate decisions
For the same bitrate and latency target, software and hardware encoders can produce different visual results. Quality depends on the content, codec generation, preset and rate-control settings; there is no universal winner. Compare representative motion, gradients and text at matching output size. Live streaming requires consistent real-time performance, whereas an offline VOD queue can trade completion time for a slower preset.
AV1 can offer useful compression, but software encoding may consume substantially more CPU and memory than a fast H.264 pipeline. Decode cost and player support matter too. Validate the exact FFmpeg build, codec licensing and client compatibility. When adding several HLS or DASH renditions, count each simultaneous encode and each delivered bitrate separately.
Scratch space is transient but essential
The input covers scratch capacity and the model reserves an equal amount for source files and segments, plus 15 GB for the operating system. Minimum, recommended and headroom outputs round upward. Depending on pipeline design, original uploads, manifests, temporary chunks, retries and overlapping jobs can exceed that allowance. Configure retention and remove completed temporary files on a schedule; monitor NVMe wear and free capacity.
Estimate sustained outbound traffic
The monthly hint multiplies target Mbps by simultaneous outputs and 730 hours, converting bits to decimal TB. It assumes each output runs continuously; it does not count source ingest, CDN traffic, retries or multiple viewers. For viewer delivery, multiply by the number of streams actually leaving the VPS and include every rendition. Check provider allowances, port limits, CDN caching and overage rules.
Sustained software encoding can exhaust burst credits or compete with neighboring workloads on shared vCPU, so CPU modes match dedicated plans. Use architecture planning, the website sizer, the database sizer and the Linux game server guide for other parts of a media service.
Frequently asked questions
Is CPU x264 better quality per bit than GPU NVENC?
It depends on encoder generation, preset, content and latency constraints. Compare matched-bitrate samples for the actual pipeline.
Why can shared vCPU slow a long FFmpeg encode?
Sustained work may compete for CPU time or exhaust burst credits. Measure real encoding speed and consider reserved capacity.
How should I manage NVMe scratch space?
Budget overlapping input, temporary segments and retries; clean completed files and monitor free space and write endurance.
Why is CPU AV1 encoding costly?
Software AV1 encoding can require more computation and memory than a fast H.264 preset. The actual cost varies by encoder and settings.
How do I calculate HLS egress?
Add the bitrates of renditions actually delivered, multiply by concurrent outgoing viewers and duration, and account for CDN hits and provider billing rules.
Do catalog GPU plans guarantee NVENC sessions?
No. Confirm the GPU partition, NVENC availability, driver access, session limits and host resources with the provider.