Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
console. |
console. |
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted | |
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse | |
# deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse |
import time | |
for digitSize in range(1, 9): | |
print('Calculating ' + str(digitSize) + '...') | |
digits = digitSize | |
maxNum = (10 ** digits) - 1 | |
maxProd = str(maxNum * maxNum) |