FFmpeg NVENC

Hardware-accelerated video encoding with NVIDIA GPUs.

circle-check

Renting on CLORE.AI

  1. Filter by GPU type, VRAM, and price

  2. Choose On-Demand (fixed rate) or Spot (bid price)

  3. Configure your order:

    • Select Docker image

    • Set ports (TCP for SSH, HTTP for web UIs)

    • Add environment variables if needed

    • Enter startup command

  4. Select payment: CLORE, BTC, or USDT/USDC

  5. Create order and wait for deployment

Access Your Server

  • Find connection details in My Orders

  • Web interfaces: Use the HTTP port URL

  • SSH: ssh -p <port> root@<proxy-address>

What is NVENC?

NVENC (NVIDIA Video Encoder) provides:

  • 5-10x faster encoding than CPU

  • H.264, H.265/HEVC, AV1 support

  • Real-time 4K/8K encoding

  • Low GPU compute usage

Requirements

Codec
Min GPU
Recommended

H.264

GTX 600+

RTX 3060+

HEVC

GTX 900+

RTX 3070+

AV1

RTX 4000+

RTX 4090

Quick Deploy

Docker Image:

Ports:

Command:

Check NVENC Support

Basic Encoding

H.264 Encoding

HEVC/H.265 Encoding

AV1 Encoding (RTX 4000+)

Presets

Preset
Quality
Speed

p1

Lowest

Fastest

p2-p3

Low

Fast

p4-p5

Medium

Balanced

p6-p7

High

Slow

Quality Control

Constant Quality (CQ)

Constant Bitrate (CBR)

Variable Bitrate (VBR)

Resolution & Scaling

Resize Video

GPU Scaling (Faster)

Hardware Decoding + Encoding

Full GPU pipeline:

Batch Conversion

Shell Script

Python Batch

Common Tasks

Convert to Web-Optimized MP4

Extract Audio

Add Subtitles

Trim Video

Concatenate Videos

Create GIF

Extract Frames

Frames to Video

Streaming

RTMP Stream

HLS Output

Performance Comparison

Encoding Speed (4K Video)

Encoder
GPU/CPU
Speed

libx264

CPU (8 core)

~30 fps

h264_nvenc

RTX 3090

~300 fps

h264_nvenc

RTX 4090

~450 fps

hevc_nvenc

RTX 3090

~200 fps

hevc_nvenc

RTX 4090

~350 fps

Advanced Options

Two-Pass Encoding

B-Frames & GOP

HDR Support (HEVC)

Multi-GPU

Troubleshooting

NVENC Not Found

Encoding Failed

Poor Quality

  • Use higher preset (p6, p7)

  • Lower CQ value (18-20)

  • Increase bitrate

Cost Estimate

Typical CLORE.AI marketplace rates (as of 2024):

GPU
Hourly Rate
Daily Rate
4-Hour Session

RTX 3060

~$0.03

~$0.70

~$0.12

RTX 3090

~$0.06

~$1.50

~$0.25

RTX 4090

~$0.10

~$2.30

~$0.40

A100 40GB

~$0.17

~$4.00

~$0.70

A100 80GB

~$0.25

~$6.00

~$1.00

Prices vary by provider and demand. Check CLORE.AI Marketplacearrow-up-right for current rates.

Save money:

  • Use Spot market for flexible workloads (often 30-50% cheaper)

  • Pay with CLORE tokens

  • Compare prices across different providers

Next Steps

Last updated

Was this helpful?