FFmpeg GPU Acceleration

Generate FFmpeg commands for hardware acceleration. Support for NVIDIA (NVENC) and Intel (QSV) encoders.

H.264 (AVC) via NVENC

Encode using NVIDIA GPU.

ffmpeg -i input.mp4 -c:v h264_nvenc -preset p4 -cq 20 output.mp4
Note:Uses h264_nvenc encoder. -cq is Constant Quality (similar to CRF) for NVENC.

H.265 (HEVC) via NVENC

Encode using NVIDIA GPU.

ffmpeg -i input.mp4 -c:v hevc_nvenc -preset p4 -cq 24 output.mp4
Note:Uses hevc_nvenc encoder. Faster than CPU encoding for H.265.

VIDEO API

Discover why Hunt is the preferred API provider for developers.