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:
Environment | Speed | Comparison |
---|---|---|
Native | 232.0x | Baseline |
Rosetta 2 | 63.1x | 3.7x slower |
Docker (Colima) linux/aarch64 | 51.0x | 4.5x slower |
Docker (Colima) linux/x86_64 | 5.5x | 42.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