notes.dt.in.th

This table shows the speed of encoding 5 minutes of white noise using ffmpeg on an M1 MacBook Pro. Encoding is performed 5 times, showing the best result:

EnvironmentSpeedComparison
Native232.0xBaseline
Rosetta 263.1x3.7x slower
Docker (Colima) linux/aarch6451.0x4.5x slower
Docker (Colima) linux/x86_645.5x42.2x slower

Native

node_modules/@ffmpeg-installer/darwin-arm64/ffmpeg
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.27)

Rosetta 2

node_modules/@ffmpeg-installer/darwin-x64/ffmpeg
ffmpeg version N-92718-g092cb17983-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)

Docker aarch64

node_modules/@ffmpeg-installer/linux-arm64/ffmpeg
ffmpeg version N-49006-gd81913e680-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516

Docker x86_64

node_modules/@ffmpeg-installer/linux-x64/ffmpeg
ffmpeg version N-47683-g0e8eb07980-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516