[WIP] Gets output buffers ASAP in Encode() with timing code.