Added time logging for encode process.