
Software x264 vs Hardware Encoders: Quality per Bitrate Compared
Compare libx264 with NVENC, VAAPI, QSV and VideoToolbox in FFmpeg 7.1 on your own footage using VMAF, and decide when speed or quality per bit should win.
Everything you need to level up your coding skills.

Compare libx264 with NVENC, VAAPI, QSV and VideoToolbox in FFmpeg 7.1 on your own footage using VMAF, and decide when speed or quality per bit should win.

Encode H.264, HEVC and AV1 on Intel GPUs with FFmpeg 7.1 QSV encoders: libvpl and driver setup, hardware frames, ICQ quality, presets and look-ahead.

Encode with h264_nvenc and hevc_nvenc in FFmpeg 7.1 on NVIDIA GPUs: driver needs, a working command, quality settings, session limits and fixes.

Encode H.264 and HEVC on Intel and AMD GPUs in FFmpeg 7.1 with h264_vaapi and hevc_vaapi: device setup, hwupload, rate control and keeping frames on the GPU.

Use FFmpeg 7.1 with h264_videotoolbox and hevc_videotoolbox on Apple silicon: quality and bitrate options, the hvc1 tag for QuickTime, and hardware decoding.

Learn the difference between FFmpeg hardware decoding with -hwaccel and hardware encoding with a codec such as h264_nvenc, and why mixing them costs copies.

Understand H.264 profiles (Baseline, Main, High) and levels (3.1, 4.1, 5.1): what they limit, how to compute a level from size and rate, and how to set them.

Follow one H.264 frame through the encoder: macroblocks, intra and inter prediction, the 4x4 integer transform, quantisation, deblocking and CAVLC or CABAC.

Choose between MP4, MKV and WebM by use case: web playback, archiving, editing and streaming, with what each allows and the FFmpeg commands to convert.

Compare the AAC and Opus audio codecs for streaming, voice calls and music: delay, bitrate range, container and device support, licensing and FFmpeg commands.

Learn how I, P and B frames and the GOP work in H.264 video, why keyframes enable seeking, and how to inspect and set them with ffprobe and x264 options.

A codec compresses audio or video and a container packages the compressed streams in one file. See the difference with ffprobe and learn to swap containers.
We send one email when a new post is published. No spam.