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
import array | |
import machine | |
import micropython | |
import socket | |
import time | |
html = """<!DOCTYPE html><html><head><meta http-equiv="refresh" content="5"></head><body><h1>Speed</h1>%s</body></html>""" | |
micropython.alloc_emergency_exception_buf(100) |
""" | |
Here are all subprocess, threading etc related utilities, | |
most of them quite low level. | |
""" | |
from threading import Lock, currentThread | |
import sys | |
import os | |
from StringIO import StringIO |