Extrusion process with temperature and pressure control