- Advanced Topics
- Hardware Selection
Hardware Selection
Choose CPU or NVIDIA GPU workers for your jobs.
Choose the underlying compute for your job using the machine property.
Options
cpu(default): Dedicated 16-core instances with high-clock-speed CPUs. Best for most encoding tasks.nvidia: Instances equipped with NVIDIA GPUs. Use this when your FFmpeg command utilizes GPU encoders likeh264_nvencorhevc_nvenc.
CPU Example
{
"input_files": { "input": "https://example.com/video.mp4" },
"output_files": ["output.mp4"],
"ffmpeg_commands": ["-i {{input}} -c:v libx264 {{output.mp4}}"]
}NVIDIA Example
{
"input_files": { "input": "https://example.com/video.mp4" },
"output_files": ["output.mp4"],
"machine": "nvidia",
"ffmpeg_commands": ["-i {{input}} -c:v h264_nvenc {{output.mp4}}"]
}Notes
GPU workers only help when your FFmpeg command uses GPU decode, encode, or filters.
Setting "machine": "nvidia" does not make normal CPU filters run on the GPU.