FFmpeg h264 & h265 to WebM VP9 encoding comparison part 7

In this part 7 see FFmpeg comparison for encoding speed, fps, size and bitrate from both h265 (hevc) and h264 MP4 video file to VP9 WebM with both -deadline realtime and -deadline good with -crf values 15-30 and -cpu-used 0-5.

Part 1 was h264 -deadline good.

Part 2 was h264 -deadline realtime.

Part 3 was h264 with -deadline good compared to -deadline realtime.

Part 4 was h265 -deadline good.

Part 5 was h265 -deadline realtime.

Part 6 was h265 with -deadline good compared to -deadline realtime.

Introduction

To see the encoding options for VP9 WebM with FFmpeg see my post here. The testing is using the constant quality option (crf) and the differences with different deadlines along with the cpu used parameter, these effect speed and the outcome quality.

The server

The server used for testing had dual Intel Xeon E5-2687W v4 CPU’s set @ 3.50GHz, meaning 24 cores and 48 threads in total. 251 GB of usable ram and NVMe drives. Thanks to exception0x876 at wishosting for the opportunity to use this.

The operating system was Ubuntu 18.04 and the FFMpeg version was 3.4.8-0ubuntu0.2.

The commands

The basis of the testing commands for this part is a combination of the two different -deadline values, obviously the -cpu-used and -crf values changed throughout. -row-mt 1 and -threads 48 stayed consistent through the whole testing process.

ffmpeg -i input.mp4 -c:v libvpx-vp9 -row-mt 1 -threads 48 -cpu-used X -deadline X -crf X -b:v 0 outputXYZ.webm
ffmpeg vp9 webm h264 hevc deadline good realtime size chart comparison
vp9 webm h264 & hevc deadline good & realtime size chart
ffmpeg vp9 webm h264 hevc deadline good realtime seconds chart comparison
vp9 webm h264 & hevc deadline good & realtime seconds chart
ffmpeg vp9 webm h264 hevc deadline good realtime bitrate chart comparison
vp9 webm h264 & hevc deadline good & realtime bitrate chart
ffmpeg vp9 webm h264 hevc deadline good realtime FPS chart comparison
vp9 webm h264 & hevc deadline good & realtime FPS chart

WebM file size

ffmpeg vp9 webm h264 hevc deadline good size chart comparison
vp9 webm h264 & hevc deadline good size chart
ffmpeg vp9 webm h264 hevc deadline realtime size chart comparison
vp9 webm h264 & hevc deadline realtime size chart

WebM bitrate

ffmpeg vp9 webm h264 hevc deadline good bitrate chart comparison
vp9 webm h264 & hevc deadline good bitrate chart
ffmpeg vp9 webm h264 hevc deadline realtime bitrate chart comparison
vp9 webm h264 & hevc deadline realtime bitrate chart

Encoding FPS

ffmpeg vp9 webm h264 hevc deadline good fps chart comparison
vp9 webm h264 & hevc deadline good FPS chart
ffmpeg vp9 webm h264 hevc deadline realtime fps chart comparison
vp9 webm h264 & hevc deadline realtime FPS chart

Encoding time

ffmpeg vp9 webm h264 hevc deadline good seconds chart comparison
vp9 webm h264 & hevc deadline good seconds chart
ffmpeg vp9 webm h264 hevc deadline realtime seconds chart comparison
vp9 webm h264 & hevc deadline realtime seconds chart