The fast lane is real, but it has tolls
Modern GPUs and SoCs ship dedicated silicon for video encode/decode: VideoToolbox on Apple Silicon, NVENC/NVDEC on NVIDIA, QuickSync on Intel iGPU, AMF on AMD, V4L2-M2M on Raspberry Pi. They're 5–20× faster than CPU encoders. They're also less efficient per bit — at the same bitrate, hardware-encoded H.264 looks slightly worse than libx264 at -preset slow.
You take that trade when speed matters more than the last 5% of quality: live streaming, batch transcoding overnight queues, screen recording where the GPU is doing capture anyway, real-time AI video pipelines.
Apple Silicon — VideoToolbox
On M-series Macs the dedicated media engines absolutely scream. A 30-minute 4K clip transcodes to H.265 in roughly real time on an M3, vs ~10× longer with libx265 -preset slow. That's why every Final Cut export uses VideoToolbox.
How to invoke it
Hardware encode with -c:v <encoder_name>. Hardware decode (less common, only matters for live pipelines) with -hwaccel videotoolbox before -i. Track 8 lesson 'Apple Silicon Optimization' covers the full setup.