FFmpeg h264 & h265 to WebM VP9 encoding comparison part 8

In this part 8 see FFmpeg comparison based on averages for encoding speed, fps, size and bitrate from both h265 (hevc) and h264 MP4 video file to VP9 WebM with grouping for the media type, deadline and cpu used values.

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.

Part 7 was both h264 and h265 (hevc) -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.

Averages for each media codec

ffmpeg vp9 webm h264 hevc encoding average comparison

Averages for each media codec and deadline

ffmpeg vp9 webm h264 hevc deadline average comparison

Averages for each media codec and cpu

ffmpeg vp9 webm h264 hevc cpu average comparison

Averages for each media codec, deadline and cpu

ffmpeg vp9 webm h264 hevc deadline cpu average comparisonSize + seconds

ffmpeg vp9 webm h264 hevc size seconds chart

WebM file size

ffmpeg vp9 webm h264 hevc size deadline comparison
size per cpu for codec and deadline

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

ffmpeg vp9 webm h264 hevc encoding average comparison size ASC
AVG size ASC
ffmpeg vp9 webm h264 hevc encoding average comparison size DESC
AVG size DESC

WebM bitrate

ffmpeg vp9 webm h264 hevc bitrate deadline comparison
bitrate per cpu for codec and deadline

ffmpeg vp9 webm h264 hevc deadline realtime bitrate chartffmpeg vp9 webm h264 hevc deadline good bitrate chartffmpeg vp9 webm h264 bitrate deadline comparisonffmpeg vp9 webm hevc bitrate deadline comparison

ffmpeg vp9 webm h264 hevc encoding average comparison bitrate ASC
AVG bitrate ASC
ffmpeg vp9 webm h264 hevc encoding average comparison bitrate DESC
AVG bitrate DESC

 

Encoding FPS

ffmpeg vp9 webm h264 hevc fps deadline comparison
fps per cpu for codec and deadline

ffmpeg vp9 webm h264 hevc deadline good fps chartffmpeg vp9 webm h264 hevc deadline good fps chartffmpeg vp9 webm hevc FPS deadline comparisonffmpeg vp9 webm h264 FPS deadline comparison

ffmpeg vp9 webm h264 hevc encoding average comparison FPS DESC
AVG fps DESC
ffmpeg vp9 webm h264 hevc encoding average comparison FPS ASC
AVG fps ASC

 

Encoding time

ffmpeg vp9 webm h264 hevc seconds deadline comparison
seconds per cpu for codec and deadline

ffmpeg vp9 webm h264 hevc deadline realtime seconds chartffmpeg vp9 webm h264 hevc deadline good seconds chartffmpeg vp9 webm h264 seconds deadline comparisonffmpeg vp9 webm hevc seconds deadline comparison

ffmpeg vp9 webm h264 hevc encoding average comparison seconds ASC
AVG seconds ASC
ffmpeg vp9 webm h264 hevc encoding average comparison seconds DESC
AVG seconds DESC