Skip to content

Instantly share code, notes, and snippets.

@chadmed

chadmed/perf.md Secret

Created April 3, 2022 04:58
Show Gist options
  • Save chadmed/f2ab8370056e84a6a9a4b9e226a93302 to your computer and use it in GitHub Desktop.
Save chadmed/f2ab8370056e84a6a9a4b9e226a93302 to your computer and use it in GitHub Desktop.
AV{D,E} performance characteristics

Testing was done using both hardware and software decode. All testing done using Homebrew ffmpeg.

Hardware decode

ffmpeg -hwaccel videotoolbox -i [path-to-file-used] -c:v [Encoder]_videotoolbox -c:a copy -b:v 15M -f null -

Testing matrices divided by input stream type

4K Rec. BT2020 (HDR10) HEVC

Encoder Perf (fps)
h264 53
hevc 50
prores 300

4K ProRes 422

Encoder Perf (fps)
h264 45
hevc 37
prores 115

1080p H.264

Encoder Perf (fps)
h264 185
hevc 188
prores 175

Software decode

ffmpeg -i [path-to-file-used] -c:v [Encoder]_videotoolbox -c:a copy -b:v 15M -f null -

Testing matrices divided by input stream type

4K Rec. BT2020 (HDR10) HEVC

Encoder Perf (fps)
h264 54
hevc 51
prores 115

4K ProRes 422

Encoder Perf (fps)
h264 42
hevc 35
prores 36

1080p H.264

Encoder Perf (fps)
h264 185
hevc 188
prores 630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment